Bug 1062107 - System JS : ERROR http://mochi.test:8888/tests/b2g/components/test/mochitest/systemapp_helper.js:97 - TypeError: assert is not a function r=ochameau r=ochameau

This commit is contained in:
Fabrice Desré 2014-09-03 08:35:45 -07:00
parent f95b9f70db
commit 9b8cc5a501

View File

@ -94,7 +94,7 @@ let steps = [
// Ensure that listener being registered before the system app is ready
// are correctly removed from the pending list
function removedListener() {
assert(false, "Listener isn't correctly removed from the pending list");
assert.ok(false, "Listener isn't correctly removed from the pending list");
}
SystemAppProxy.addEventListener("mozChromeEvent", removedListener);
SystemAppProxy.removeEventListener("mozChromeEvent", removedListener);