Bug: Intermittent browser/components/tabbrowser/test/browser/tabs/browser_contextmenu_openlink_after_tabnavigated.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2025-01-18 16:36:34+00:00
Resolved: 2025-03-03 12:03:41+00:00

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

---
```
[task 2025-01-18T16:01:27.745Z] 16:01:27     INFO - TEST-OK | browser/components/tabbrowser/test/browser/tabs/browser_close_tab_by_dblclick.js | took 679ms
[task 2025-01-18T16:01:27.753Z] 16:01:27     INFO - GECKO(9340) | [Child 5392: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1a4212ecc00 == 4 [pid = 5392] [id = 5]
[task 2025-01-18T16:01:27.753Z] 16:01:27     INFO - GECKO(9340) | [Child 5392: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (1a41ec82c00) [pid = 5392] [serial = 12] [outer = 0]
[task 2025-01-18T16:01:27.754Z] 16:01:27     INFO - GECKO(9340) | [Child 5392: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (1a4212ed400) [pid = 5392] [serial = 13] [outer = 1a41ec82c00]
[task 2025-01-18T16:01:27.780Z] 16:01:27     INFO - checking window state
[task 2025-01-18T16:01:27.813Z] 16:01:27     INFO - TEST-START | browser/components/tabbrowser/test/browser/tabs/browser_contextmenu_openlink_after_tabnavigated.js
[task 2025-01-18T16:01:27.828Z] 16:01:27     INFO - GECKO(9340) | [Child 10176: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1aa975d4c00 == 1 [pid = 10176] [id = 0]
[task 2025-01-18T16:01:27.829Z] 16:01:27     INFO - GECKO(9340) | [Child 10176: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1aa94f7e400) [pid = 10176] [serial = 1] [outer = 0]
[task 2025-01-18T16:01:27.830Z] 16:01:27     INFO - GECKO(9340) | [Child 10176: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1aa975d7800) [pid = 10176] [serial = 2] [outer = 1aa94f7e400]
[task 2025-01-18T16:01:27.921Z] 16:01:27     INFO - GECKO(9340) | [Parent 9772, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2679
[task 2025-01-18T16:01:27.930Z] 16:01:27     INFO - GECKO(9340) | [Child 10176: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1aa975dac00) [pid = 10176] [serial = 3] [outer = 1aa94f7e400]
[task 2025-01-18T16:01:27.940Z] 16:01:27     INFO - GECKO(9340) | [Child 10176, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_ERROR_INVALID_ARG) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/intl/l10n/L10nRegistry.cpp:385
[task 2025-01-18T16:01:28.874Z] 16:01:28     INFO - GECKO(9340) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_173721569396900\AppData\Local\Temp\tmpbuakxj0j.mozrunner\runtests_leaks_tab_pid2332.log
[task 2025-01-18T16:01:29.241Z] 16:01:29     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1b5f7fc9c00 == 1 [pid = 9344] [id = 3] [url = about:blank]
[task 2025-01-18T16:01:29.242Z] 16:01:29     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1b5f7fcc000 == 0 [pid = 9344] [id = 4] [url = about:blank]
[task 2025-01-18T16:01:29.259Z] 16:01:29     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (1b5f3281400) [pid = 9344] [serial = 12] [outer = 0] [url = about:blank]
[task 2025-01-18T16:01:29.260Z] 16:01:29     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1b5f327e400) [pid = 9344] [serial = 10] [outer = 0] [url = about:blank]
[task 2025-01-18T16:01:30.329Z] 16:01:30     INFO - GECKO(9340) | [WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2025-01-18T16:01:30.366Z] 16:01:30     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1b5f7fca800 == 1 [pid = 9344] [id = 5]
[task 2025-01-18T16:01:30.367Z] 16:01:30     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1b5f327e400) [pid = 9344] [serial = 14] [outer = 0]
[task 2025-01-18T16:01:30.368Z] 16:01:30     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (1b5f7fcbc00) [pid = 9344] [serial = 15] [outer = 1b5f327e400]
[task 2025-01-18T16:01:30.381Z] 16:01:30     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (1b5f7fcd800) [pid = 9344] [serial = 16] [outer = 1b5f327e400]
[task 2025-01-18T16:01:30.746Z] 16:01:30     INFO - TEST-INFO | started process screenshot
[task 2025-01-18T16:01:30.864Z] 16:01:30     INFO - TEST-INFO | screenshot: exit 0
[task 2025-01-18T16:01:30.865Z] 16:01:30     INFO - Buffered messages logged at 16:01:27
[task 2025-01-18T16:01:30.866Z] 16:01:30     INFO - Entering test bound test_contextmenu_openlink_after_tabnavigated
[task 2025-01-18T16:01:30.866Z] 16:01:30     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection �http://example.com/browser/browser/components/tabbrowser/test/browser/tabs/test_bug1358314.html� to use �https�."]
[task 2025-01-18T16:01:30.867Z] 16:01:30     INFO - Buffered messages logged at 16:01:30
[task 2025-01-18T16:01:30.868Z] 16:01:30     INFO - Global property added while loading chrome://browser/content/translations/selectTranslationsPanel.js: LanguageDetector
[task 2025-01-18T16:01:30.868Z] 16:01:30     INFO - Global property added while loading chrome://browser/content/translations/selectTranslationsPanel.js: Translator
[task 2025-01-18T16:01:30.869Z] 16:01:30     INFO - Global property added while loading chrome://browser/content/translations/selectTranslationsPanel.js: ClipboardHelper
[task 2025-01-18T16:01:30.870Z] 16:01:30     INFO - Global property added while loading chrome://browser/content/translations/selectTranslationsPanel.js: GfxInfo
[task 2025-01-18T16:01:30.870Z] 16:01:30     INFO - Popup Shown
[task 2025-01-18T16:01:30.871Z] 16:01:30     INFO - Navigate the tab with the opened context menu
[task 2025-01-18T16:01:30.871Z] 16:01:30     INFO - Click the 'open link in new tab' menu item
[task 2025-01-18T16:01:30.872Z] 16:01:30     INFO - Buffered messages finished
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/tabbrowser/test/browser/tabs/browser_contextmenu_openlink_after_tabnavigated.js | Uncaught exception in test bound test_contextmenu_openlink_after_tabnavigated - InvalidStateError: XULPopupElement.activateItem: Popup is not open
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - Stack trace:
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - test_contextmenu_openlink_after_tabnavigated@chrome://mochitests/content/browser/browser/components/tabbrowser/test/browser/tabs/browser_contextmenu_openlink_after_tabnavigated.js:46:15
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1136:14
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-01-18T16:01:30.874Z] 16:01:30     INFO - Leaving test bound test_contextmenu_openlink_after_tabnavigated
[task 2025-01-18T16:01:31.127Z] 16:01:31     INFO - GECKO(9340) | MEMORY STAT | vsize 2104341MB | vsizeMaxContiguous 66014566MB | residentFast 347MB | heapAllocated 124MB
[task 2025-01-18T16:01:31.129Z] 16:01:31     INFO - TEST-OK | browser/components/tabbrowser/test/browser/tabs/browser_contextmenu_openlink_after_tabnavigated.js | took 3316ms
[task 2025-01-18T16:01:31.129Z] 16:01:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-01-18T16:01:31.130Z] 16:01:31     INFO - TEST-UNEXPECTED-FAIL | browser/components/tabbrowser/test/browser/tabs/browser_contextmenu_openlink_after_tabnavigated.js | Found an unexpected tab at the end of test run: about:blank - 
[task 2025-01-18T16:01:31.163Z] 16:01:31     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1b5f7fcc000 == 2 [pid = 9344] [id = 6]
[task 2025-01-18T16:01:31.164Z] 16:01:31     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (1b5f3281400) [pid = 9344] [serial = 17] [outer = 0]
[task 2025-01-18T16:01:31.165Z] 16:01:31     INFO - GECKO(9340) | [Child 9344: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (1b5f7fce000) [pid = 9344] [serial = 18] [outer = 1b5f3281400]
[task 2025-01-18T16:01:31.187Z] 16:01:31     INFO - checking window state
[task 2025-01-18T16:01:31.229Z] 16:01:31     INFO - TEST-START | browser/components/tabbrowser/test/browser/tabs/browser_double_close_tab.js
```