Bug: Intermittent browser/base/content/test/popups/browser_popup_blocker_frames.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-08-14 11:17:04+00:00
Resolved: 2024-11-04 12:08:55+00:00

**Filed by:** csabou [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=387277069&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/U3ljucZ3QsOEsGAcaMCtQw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - TEST-PASS | browser/base/content/test/popups/browser_popup_blocker_frames.js | Popup a - 
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - TEST-PASS | browser/base/content/test/popups/browser_popup_blocker_frames.js | Popup b - 
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - Leaving test bound 
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - Entering test bound 
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://w3c-test.org/" line: 0}]
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - Buffered messages finished
[task 2022-08-14T10:18:57.347Z] 10:18:57     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/popups/browser_popup_blocker_frames.js | Test timed out - 
[task 2022-08-14T10:18:57.355Z] 10:18:57     INFO - GECKO(2556) | MEMORY STAT | vsize 3084MB | residentFast 434MB | heapAllocated 176MB
[task 2022-08-14T10:18:57.358Z] 10:18:57     INFO - TEST-OK | browser/base/content/test/popups/browser_popup_blocker_frames.js | took 90023ms
[task 2022-08-14T10:18:57.359Z] 10:18:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-14T10:18:57.360Z] 10:18:57     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/popups/browser_popup_blocker_frames.js | Found a tab after previous test timed out: http://w3c-test.org/ - 
[task 2022-08-14T10:18:57.361Z] 10:18:57     INFO - GECKO(2556) | [Child 2823, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-14T10:18:57.362Z] 10:18:57     INFO - GECKO(2556) | [Child 2743: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fa571134400 == 1 [pid = 2743] [id = 1]
[task 2022-08-14T10:18:57.364Z] 10:18:57     INFO - GECKO(2556) | [Child 2743: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7fa58c3919f0) [pid = 2743] [serial = 3] [outer = 0]
[task 2022-08-14T10:18:57.365Z] 10:18:57     INFO - GECKO(2556) | [Child 2743: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7fa571136400) [pid = 2743] [serial = 4] [outer = 7fa58c3919f0]
[task 2022-08-14T10:18:57.366Z] 10:18:57     INFO - GECKO(2556) | [Child 2646, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-14T10:18:57.367Z] 10:18:57     INFO - checking window state
[task 2022-08-14T10:18:57.370Z] 10:18:57     INFO - TEST-START | browser/base/content/test/popups/browser_popup_blocker_identity_block.js
[task 2022-08-14T10:18:57.371Z] 10:18:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-14T10:18:57.371Z] 10:18:57     INFO - Buffered messages logged at 10:18:57
[task 2022-08-14T10:18:57.372Z] 10:18:57     INFO - Entering test bound enable_popup_blocker
[task 2022-08-14T10:18:57.373Z] 10:18:57     INFO - Buffered messages finished
[task 2022-08-14T10:18:57.375Z] 10:18:57     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/popups/browser_popup_blocker_frames.js | Uncaught exception received from previously timed out test - at resource://specialpowers/SpecialPowersChild.jsm:1515 - TypeError: BrowsingContext.getFromWindow: Argument 1 does not implement interface WindowProxy.
[task 2022-08-14T10:18:57.375Z] 10:18:57     INFO - Stack trace:
[task 2022-08-14T10:18:57.375Z] 10:18:57     INFO - _browsingContextForTarget@resource://specialpowers/SpecialPowersChild.jsm:1515:28
[task 2022-08-14T10:18:57.376Z] 10:18:57     INFO - spawn@resource://specialpowers/SpecialPowersChild.jsm:1567:32
[task 2022-08-14T10:18:57.376Z] 10:18:57     INFO - test_opening_blocked_popups@chrome://mochitests/content/browser/browser/base/content/test/popups/browser_popup_blocker_frames.js:19:23
[task 2022-08-14T10:18:57.378Z] 10:18:57     INFO - GECKO(2556) | [Parent 2556, IPDL Background] WARNING: IPC Connection Error: [Parent][PBackgroundParent] RunMessage(msgname=PRemoteWorkerService::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1882
[task 2022-08-14T10:18:57.384Z] 10:18:57     INFO - GECKO(2556) | [Parent 2556, Compositor] WARNING: IPC Connection Error: [Parent][PCompositorManagerParent] RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1882
[task 2022-08-14T10:18:57.385Z] 10:18:57     INFO - GECKO(2556) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1091: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2022-08-14T10:18:57.386Z] 10:18:57     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1091}]
[task 2022-08-14T10:18:57.387Z] 10:18:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-14T10:18:57.388Z] 10:18:57     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/popups/browser_popup_blocker_identity_block.js | A promise chain failed to handle a rejection: can't access property "shift", currentScope.__tasks is null - stack: _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1091:13
[task 2022-08-14T10:18:57.388Z] 10:18:57     INFO - Rejection date: Sun Aug 14 2022 10:18:57 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-08-14T10:18:57.388Z] 10:18:57     INFO - Stack trace:
[task 2022-08-14T10:18:57.388Z] 10:18:57     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-08-14T10:18:57.388Z] 10:18:57     INFO - chrome://mochikit/content/browser-test.js:handleTask:1056
[task 2022-08-14T10:18:57.389Z] 10:18:57     INFO - Leaving test bound enable_popup_blocker
[task 2022-08-14T10:18:57.390Z] 10:18:57     INFO - Entering test bound check_blocked_popup_indicator
[task 2022-08-14T10:18:57.391Z] 10:18:57     INFO - GECKO(2556) | [Child 2853: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f0780631400 == 1 [pid = 2853] [id = 0]
[task 2022-08-14T10:18:57.391Z] 10:18:57     INFO - GECKO(2556) | [Child 2853: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f079b8919f0) [pid = 2853] [serial = 1] [outer = 0]
[task 2022-08-14T10:18:57.392Z] 10:18:57     INFO - GECKO(2556) | [Child 2853: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f0780631800) [pid = 2853] [serial = 2] [outer = 7f079b8919f0]
[task 2022-08-14T10:18:57.398Z] 10:18:57     INFO - GECKO(2556) | [Child 2823: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f93cd640400 == 0 [pid = 2823] [id = 0] [url = http://w3c-test.org/]
[task 2022-08-14T10:18:57.423Z] 10:18:57     INFO - GECKO(2556) | [Child 2743, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-14T10:18:57.428Z] 10:18:57     INFO - GECKO(2556) | [Child 2823: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f93e88919f0) [pid = 2823] [serial = 1] [outer = 0] [url = http://w3c-test.org/]
[task 2022-08-14T10:18:57.430Z] 10:18:57     INFO - GECKO(2556) | [Child 2823: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f93cd643800) [pid = 2823] [serial = 3] [outer = 0] [url = http://w3c-test.org/]
[task 2022-08-14T10:18:57.432Z] 10:18:57     INFO - GECKO(2556) | [Child 2823, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-08-14T10:18:57.441Z] 10:18:57     INFO - GECKO(2556) | [Child 2823, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-08-14T10:18:57.463Z] 10:18:57     INFO - GECKO(2556) | [Child 2823, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-08-14T10:18:57.510Z] 10:18:57     INFO - GECKO(2556) | [Child 2853: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f0780634800) [pid = 2853] [serial = 3] [outer = 7f079b8919f0]
[task 2022-08-14T10:18:58.422Z] 10:18:58     INFO - GECKO(2556) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpvmbxdeoj.mozrunner/runtests_leaks_tab_pid2934.log
[task 2022-08-14T10:18:58.422Z] 10:18:58     INFO - GECKO(2556) | [2934, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2022-08-14T10:18:58.444Z] 10:18:58     INFO - GECKO(2556) | [Child 2934, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-08-14T10:19:05.348Z] 10:19:05     INFO - GECKO(2556) | [Child 2646: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff30f422800 == 0 [pid = 2646] [id = 5] [url = about:blank]
[task 2022-08-14T10:19:09.445Z] 10:19:09     INFO - GECKO(2556) | [Child 2646: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7ff32a691bc0) [pid = 2646] [serial = 17] [outer = 0] [url = about:blank]
[task 2022-08-14T10:19:09.674Z] 10:19:09     INFO - GECKO(2556) | [Child 2853: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f0780631800) [pid = 2853] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-08-14T10:19:13.525Z] 10:19:13     INFO - GECKO(2556) | [Child 2646: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7ff30f423000) [pid = 2646] [serial = 18] [outer = 0] [url = about:blank]
[task 2022-08-14T10:20:27.324Z] 10:20:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-14T10:20:27.325Z] 10:20:27     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/popups/browser_popup_blocker_identity_block.js | Test timed out - 
```