On 6/3/14, 2:36 PM, Gregory Szorc wrote:
There is a clear win in the ability to reuse, understand, and modify the common code.
No one is arguing against having common harness code as far as I can see.
I can't even recall which file(s) contain is/ok from mochitest
SimpleTest.js. Which also contains everything else from mochitest.
Assert.jsm makes logic centralized, consistent, and easy to extend.
No one is arguing against that. I'm arguing against Assert.jsm using the commonjs API names.
FWIW, a lot of this bikeshedding about what effectively boils down to style could be avoided if we had JavaScript code rewriting facilities that could atomically change all references.
That wouldn't make writing new tests any easier, though it would of course ease the "inconsistent styles during conversion" issue.
-Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform