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
☠☠ backed out by 79736e4b313f ☠ ☠
authorFabrice Desré <fabrice@mozilla.com>
Wed, 03 Sep 2014 08:35:45 -0700
changeset 203201 3390001fd2a6f14e62b488a12d2b275c72d816f2
parent 203200 e934b3bc1feafc77fafcdd08da9c6a163ba20f5b
child 203202 f963aff60bfb9adc6d598b6420fccf37a2fccccf
push id27423
push userryanvm@gmail.com
push dateWed, 03 Sep 2014 18:53:23 +0000
treeherdermozilla-central@117271830c4d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau, ochameau
bugs1062107
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
b2g/components/test/mochitest/systemapp_helper.js
--- a/b2g/components/test/mochitest/systemapp_helper.js
+++ b/b2g/components/test/mochitest/systemapp_helper.js
@@ -89,17 +89,17 @@ let steps = [
     // Ensure that events are correctly sent to the frame.
     // `listener` is going to call next()
     frame.contentWindow.addEventListener("mozChromeEvent", listener);
     frame.contentWindow.addEventListener("custom", listener);
 
     // 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);
 
     // Register it to the JSM
     SystemAppProxy.registerFrame(frame);
     assert.ok(true, "Frame created and registered");