Bug 746021 - Don't assert that the window ids are the same when they shouldn't be. r=msucan
authorBobby Holley <bobbyholley@gmail.com>
Tue, 17 Apr 2012 19:25:48 +0200
changeset 91881 a0ecc336b66d10d65c6648cb43a823dafb9df1cf
parent 91880 d07b72d4865d24d98f0bbab28ec0f44eeb71137a
child 91882 ac561faaee40bd1c65e4b0dedd7522c2b10893a0
push id22480
push useremorley@mozilla.com
push dateWed, 18 Apr 2012 00:48:48 +0000
treeherdermozilla-central@93dfd98900ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmsucan
bugs746021
milestone14.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 746021 - Don't assert that the window ids are the same when they shouldn't be. r=msucan
browser/devtools/webconsole/test/browser_webconsole_bug_603750_websocket.js
--- a/browser/devtools/webconsole/test/browser_webconsole_bug_603750_websocket.js
+++ b/browser/devtools/webconsole/test/browser_webconsole_bug_603750_websocket.js
@@ -25,18 +25,16 @@ let TestObserver = {
       return;
     }
 
     is(aSubject.category, "Web Socket", "received a Web Socket error");
     isnot(aSubject.sourceName.indexOf("test-bug-603750-websocket.js"), -1,
           "sourceName is correct");
 
     if (++errors == 2) {
-      is(lastWindowId, aSubject.outerWindowID,
-         "same window ID (" + lastWindowId + ") for both errors");
       executeSoon(performTest);
     }
     else {
       lastWindowId = aSubject.outerWindowID;
     }
   }
 };