Closed Bug 695705 Opened 13 years ago Closed 12 years ago

Intermittent TEST-UNEXPECTED-FAIL | browser/base/content/test/tabview/browser_tabview_bug628061.js | There are two groups - Got 1, expected 2

Categories

(Firefox Graveyard :: Panorama, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 13

People

(Reporter: mbrubeck, Assigned: ttaubert)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=6931660&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound debug test mochitest-other on 2011-10-19 05:57:53 PDT for push e1c79e98e4ee

builder: mozilla-inbound_xp-debug_test-mochitest-other
slave: talos-r3-xp-038
starttime: 1319029073.39
results: warnings (1)
buildid: 20111019042453
builduid: ab123190efb74ca9aa9d73830027deb7
revision: e1c79e98e4ee

++DOCSHELL 0B33E818 == 22
++DOMWINDOW == 55 (0AFC6880) [serial = 2334] [outer = 00000000]
++DOCSHELL 0A65A5E0 == 23
++DOMWINDOW == 56 (063E2E60) [serial = 2335] [outer = 00000000]
++DOCSHELL 0BDB5608 == 24
++DOMWINDOW == 57 (0ADA7438) [serial = 2336] [outer = 00000000]
++DOMWINDOW == 58 (0BC84EF0) [serial = 2337] [outer = 0ADA73E8]
TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628061.js | Console message: [JavaScript Warning: "XUL box for _moz_generated_content_after element contained an inline #text child, forcing all its children to be wrapped in a block." {file: "chrome://browser/content/browser.xul" line: 0}]
WARNING: Subdocument container has no frame: file e:/builds/moz2_slave/m-in-w32-dbg/build/layout/base/nsDocumentViewer.cpp, line 2402
++DOMWINDOW == 59 (0BA71090) [serial = 2338] [outer = 0AFC6830]
WARNING: Subdocument container has no frame: file e:/builds/moz2_slave/m-in-w32-dbg/build/layout/base/nsDocumentViewer.cpp, line 2402
++DOMWINDOW == 60 (07CE60C8) [serial = 2339] [outer = 063E2E10]
++DOMWINDOW == 61 (0B902938) [serial = 2340] [outer = 0ADA73E8]
JavaScript error: chrome://browser/content/content.js, line 3: redeclaration of var Cc
WARNING: Nv3DVStreaming CoCreateInstance failed (disabled).: file e:/builds/moz2_slave/m-in-w32-dbg/build/gfx/layers/d3d9/Nv3DVUtils.cpp, line 84
++DOCSHELL 0B619660 == 25
++DOMWINDOW == 62 (163B7078) [serial = 2341] [outer = 00000000]
JavaScript error: chrome://browser/content/content.js, line 3: redeclaration of var Cc
++DOMWINDOW == 63 (0AB97370) [serial = 2342] [outer = 163B7028]
TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628061.js | Console message: [JavaScript Error: "redeclaration of var Cc" {file: "chrome://browser/content/content.js" line: 3}]
TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628061.js | Console message: [JavaScript Error: "redeclaration of var Cc" {file: "chrome://browser/content/content.js" line: 3}]
++DOMWINDOW == 64 (0A8CC448) [serial = 2343] [outer = 163B7028]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628061.js | There are two groups - Got 1, expected 2
Stack trace:
    JS frame :: chrome://mochikit/content/browser-test.js :: test_is :: line 391
    JS frame :: chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628061.js :: <TOP_LEVEL> :: line 50
    JS frame :: chrome://mochitests/content/browser/browser/base/content/test/tabview/head.js :: <TOP_LEVEL> :: line 322
    JS frame :: chrome://mochikit/content/browser-test.js :: <TOP_LEVEL> :: line 418

TEST-INFO | unknown test url | before wait for focus -- loaded: complete active window: ([object ChromeWindow @ 0x728e340 (native @ 0xb28d788)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0xbda81a0 (native @ 0xa8cc448)]) about:blank desired window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul child window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank
TEST-INFO | unknown test url | must wait for focus
TEST-INFO | unknown test url | waitForEvent called <type:focus, target[object HTMLDocument @ 0xac04500 (native @ 0xb1bba48)]> -- loaded: complete active window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank desired window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul child window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank
TEST-INFO | unknown test url | maybe run tests <load:true, focus:true> -- loaded: complete active window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank desired window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul child window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsContentUtils.cpp, line 2550
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
INFO TEST-END | chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628061.js | finished in 1806ms
TEST-INFO | checking window state
TEST-INFO | unknown test url | before wait for focus -- loaded: complete active window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank desired window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul child window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank
TEST-INFO | unknown test url | already focused
TEST-INFO | unknown test url | maybe run tests <load:true, focus:true> -- loaded: complete active window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank desired window: ([object ChromeWindow @ 0x5f87620 (native @ 0x5f85820)]) chrome://browser/content/browser.xul child window: ([object Window @ 0x4a2a6e0 (native @ 0xbd9ae90)]) about:blank
TEST-START | chrome://mochitests/content/browser/browser/base/content/test/tabview/browser_tabview_bug628165.js
Attached patch patch v1 (obsolete) — Splinter Review
Turns out newWindowWithState() was the culprit. This patch fixes it by creating the window, setting the state, closing it and then restoring it. That's the only way can really test initial window states.
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #594531 - Flags: review?(dietrich)
Blocks: 715402
Attachment #594531 - Flags: review?(dietrich) → review+
Attached patch patch v2Splinter Review
The last patch failed on try because we still need to wait for delayed-startup and all tabs to be loaded. This patch combined with bug 715402 is green on try:

https://tbpl.mozilla.org/?tree=Try&rev=707c3196eb63
Attachment #594531 - Attachment is obsolete: true
Attachment #595357 - Flags: review?(dietrich)
Attachment #595357 - Flags: review?(dietrich) → review+
https://hg.mozilla.org/integration/fx-team/rev/73dec0853c3c
Whiteboard: [orange] → [orange][fixed-in-fx-team]
Target Milestone: --- → Firefox 13
https://hg.mozilla.org/mozilla-central/rev/73dec0853c3c
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [orange][fixed-in-fx-team] → [orange]
Whiteboard: [orange]
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: