fix browser chrome tests to support Object.is instead of == Differential Revision: https://phabricator.services.mozilla.com/D84539
14 lines
338 B
JavaScript
14 lines
338 B
JavaScript
function test() {
|
|
SimpleTest.requestCompleteLog();
|
|
ok(true, "pass ok");
|
|
is(true, true, "pass is");
|
|
isnot(false, true, "pass isnot");
|
|
todo(false, "pass todo");
|
|
todo_is(false, true, "pass todo_is");
|
|
todo_isnot(true, true, "pass todo_isnot");
|
|
info("info message");
|
|
|
|
var func = is;
|
|
func(true, true, "pass indirect is");
|
|
}
|