Bug 1126023 - Annotate assertion. a=test-only
authorBobby Holley <bobbyholley@gmail.com>
Mon, 26 Jan 2015 15:44:00 -0800
changeset 240441 e243e73347fd7930ad1a54f241ba91cb1ac73faf
parent 240440 2884eaa7f1e53a3d07202d0cafe008573eba8d78
child 240442 fe89439f5acc82bc2bf9c6ba6af34e183c1331f6
push id7553
push userryanvm@gmail.com
push dateMon, 02 Feb 2015 18:25:06 +0000
treeherdermozilla-aurora@f10650c04229 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1126023
milestone37.0a2
Bug 1126023 - Annotate assertion. a=test-only
js/xpconnect/tests/chrome/test_bug1124898.html
--- a/js/xpconnect/tests/chrome/test_bug1124898.html
+++ b/js/xpconnect/tests/chrome/test_bug1124898.html
@@ -8,16 +8,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   <title>Test for Bug 1124898</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://global/skin"/>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
 
   /** Test for Bug 1124898 **/
   SimpleTest.waitForExplicitFinish();
+  SimpleTest.expectAssertions(0, 1); // Dumb unrelated widget assertion - see bug 1126023.
   var w = window.open("about:blank", "w", "chrome");
   is(w.eval('typeof getAttention'), 'function', 'getAttention exists on regular chrome window');
   is(w.eval('typeof messageManager'), 'object', 'messageManager exists on regular chrome window');
   var contentURL = "http://example.org/tests/js/xpconnect/tests/mochitest/file_empty.html";
   w.location = contentURL;
   tryWindow();
 
   function tryWindow() {