Traditionally, the is() function in browser-chrome mochitests performed
comparisons with ==; with bug 1647187, is() (and isnot(), todo_is(),
todo_isnot()) now performs comparisons with Object.is(). For example, where
is("4", 4, ...) would previously succeed, now it will fail, since the
parameter types are different.

This change makes the browser-chrome behavior consistent with
mochitest-plain (SimpleTest.is()) and will hopefully be more intuitive.

Thanks to everyone involved in the bug, but especially :jmaher, who updated
many, many tests to make them compatible with this change.

 - Geoff
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to