Bug 716677 - test_bug296375.xul makes incorrect assumptions about the event ordering; r=smaug
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 10 Jan 2012 12:42:47 -0500
changeset 84134 2b4c5610aa69ad332fe20527f0cd06cc071850bf
parent 84133 9fb4756a6cbcc8caa8e1279f56df7cdb992b727e
child 84135 1dd32322b52950666989f8ca785b84db19ef1034
push id21828
push userbmo@edmorley.co.uk
push dateWed, 11 Jan 2012 02:40:23 +0000
treeherdermozilla-central@e79ef0ffcb09 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs716677, 296375
milestone12.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 716677 - test_bug296375.xul makes incorrect assumptions about the event ordering; r=smaug
content/xbl/test/test_bug296375.xul
--- a/content/xbl/test/test_bug296375.xul
+++ b/content/xbl/test/test_bug296375.xul
@@ -28,14 +28,14 @@ https://bugzilla.mozilla.org/show_bug.cg
 
 /** Test for Bug 296375 **/
 
 SimpleTest.waitForExplicitFinish();
 addLoadEvent(function () {
   document.addBinding(document.getElementById("b"),
                       "chrome://global/content/bindings/checkbox.xml#checkbox");
   ok(true, "addBinding didn't cause a crash");
+  SimpleTest.finish();
 });
-addLoadEvent(SimpleTest.finish);
 ]]>
 </script>
 
 </window>