No bug - Re-add expected assertions to test_bug451286.xul on a CLOSED TREE.
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 05 Apr 2013 09:52:50 -0400
changeset 127834 c60cda8016e84aaf3b57c834ab40c5b4ad97eba7
parent 127833 f8ed82bee517e34450c956e2057469d4e9bf691d
child 127835 41197711fec552995def20fd792e76eea3a56df5
push id24512
push userryanvm@gmail.com
push dateFri, 05 Apr 2013 20:13:49 +0000
treeherdermozilla-central@139b6ba547fa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs451286
milestone23.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
No bug - Re-add expected assertions to test_bug451286.xul on a CLOSED TREE.
toolkit/content/tests/chrome/test_bug451286.xul
--- a/toolkit/content/tests/chrome/test_bug451286.xul
+++ b/toolkit/content/tests/chrome/test_bug451286.xul
@@ -27,16 +27,20 @@ https://bugzilla.mozilla.org/show_bug.cg
     </div>
     <pre id="test">
     </pre>
   </body>
 
   <script class="testbody" type="application/javascript">
     <![CDATA[
 
+      // We trigger assertions that happen during the GC of our parent
+      // window.
+      SimpleTest.expectAssertions(2, 5); // bug 683159
+
       // To be called by the window we open.
       function parentFinish() {
         // This is called with JS code from the window we open on the
         // stack.  We need to GC everything in that window, so do that
         // from a timeout and then call SimpleTest.finish().
         setTimeout(doFinish, 0);
       }