Closed Bug 2031620 Opened 7 months ago Closed 1 month ago

Intermittent browser/extensions/newtab/test/browser/browser_open_tab_focus.js | single tracking bug

Categories

(Firefox :: New Tab Page, defect, P5)

defect

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: florian)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(2 external files)

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


[task 2026-04-14T10:06:22.395+00:00] 10:06:22     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_open_tab_focus.js | test_open_tab_focus - The original tab is still the selected tab - "[object XULElement]" === "[object XULElement]"
[task 2026-04-14T10:06:22.395+00:00] 10:06:22     INFO - Buffered messages finished
[task 2026-04-14T10:06:22.396+00:00] 10:06:22     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_open_tab_focus.js | test_open_tab_focus - Uncaught exception in test - TypeError: can't access property "ownerGlobal", tab is undefined
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - removeTab@resource://testing-common/BrowserTestUtils.sys.mjs:1940:5
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - test_open_tab_focus@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_open_tab_focus.js:36:20
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1376:26
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1466:18
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1617:14
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1356:14
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1060:13
[task 2026-04-14T10:06:22.397+00:00] 10:06:22     INFO - Leaving test test_open_tab_focus
[task 2026-04-14T10:06:22.398+00:00] 10:06:22     INFO - GECKO(2026) | [Child 2066: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (10a013c00) [pid = 2066] [serial = 15] [outer = 0] [url = about:blank]
[task 2026-04-14T10:06:22.559+00:00] 10:06:22     INFO - GECKO(2026) | console.log: PrefsFeed: "Activation window evaluation skipped."
[task 2026-04-14T10:06:22.559+00:00] 10:06:22     INFO - GECKO(2026) | console.debug: PrefsFeed: "enabled:false, createdInstant:2026-04-14T09:48:49.377Z, variant: "
[task 2026-04-14T10:06:22.913+00:00] 10:06:22     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12b2e2c00 == 6 [pid = 2038] [id = 43] [url = about:blank]
[task 2026-04-14T10:06:22.914+00:00] 10:06:22     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 13032d400 == 5 [pid = 2038] [id = 41] [url = about:newtab]
[task 2026-04-14T10:06:22.914+00:00] 10:06:22     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 13032c800 == 4 [pid = 2038] [id = 42] [url = about:newtab]
[task 2026-04-14T10:06:22.915+00:00] 10:06:22     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12bde3000 == 3 [pid = 2038] [id = 45] [url = about:home]
[task 2026-04-14T10:06:23.092+00:00] 10:06:23     INFO - GECKO(2026) | MEMORY STAT | vsize 16292MB | residentFast 452MB | heapAllocated 159MB
[task 2026-04-14T10:06:23.093+00:00] 10:06:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-04-14T10:06:23.093+00:00] 10:06:23     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_open_tab_focus.js | Found an unexpected tab at the end of test run: about:newtab
[task 2026-04-14T10:06:23.134+00:00] 10:06:23     INFO - checking for open sidebars
[task 2026-04-14T10:06:23.135+00:00] 10:06:23     INFO - checking window state
[task 2026-04-14T10:06:23.135+00:00] 10:06:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-04-14T10:06:23.136+00:00] 10:06:23     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_open_tab_focus.js | finished in 1220ms
[task 2026-04-14T10:06:23.136+00:00] 10:06:23     INFO - TEST-INFO took 1224ms
[task 2026-04-14T10:06:23.141+00:00] 10:06:23     INFO - GECKO(2026) | [Child 2033: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 10edc2800 == 3 [pid = 2033] [id = 22]
[task 2026-04-14T10:06:23.141+00:00] 10:06:23     INFO - GECKO(2026) | [Child 2033: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (10ede4700) [pid = 2033] [serial = 47] [outer = 0]
[task 2026-04-14T10:06:23.142+00:00] 10:06:23     INFO - GECKO(2026) | [Child 2033: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (10cbecf00) [pid = 2033] [serial = 48] [outer = 10ede4700]
[task 2026-04-14T10:06:23.178+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, Main Thread] WARNING: NS_ENSURE_TRUE(entry && entry->mInfo->mSharedState.Get()) failed: file /builds/worker/checkouts/gecko/docshell/shistory/SessionHistoryEntry.cpp:1143
[task 2026-04-14T10:06:23.186+00:00] 10:06:23     INFO - TEST-START | browser/extensions/newtab/test/browser/browser_topsites_contextMenu_options.js
[task 2026-04-14T10:06:23.309+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, Main Thread] WARNING: NS_ENSURE_TRUE(mNameHashtable.Get(aName, &index)) failed: file /builds/worker/checkouts/gecko/storage/mozStorageRow.cpp:89
[task 2026-04-14T10:06:23.311+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.391+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.406+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.407+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.408+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.408+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.420+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.421+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.421+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.422+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.729+00:00] 10:06:23     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 12c6d3400 == 4 [pid = 2038] [id = 48]
[task 2026-04-14T10:06:23.729+00:00] 10:06:23     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 54 (12be47100) [pid = 2038] [serial = 144] [outer = 0]
[task 2026-04-14T10:06:23.730+00:00] 10:06:23     INFO - GECKO(2026) | [Child 2038: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 55 (12c70c000) [pid = 2038] [serial = 145] [outer = 12be47100]
[task 2026-04-14T10:06:23.738+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1529
[task 2026-04-14T10:06:23.738+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, Main Thread] WARNING: Failed to preload local storage!: file /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:6037
[task 2026-04-14T10:06:23.739+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x13ee40240 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.760+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.761+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.762+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.770+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.771+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.771+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.801+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
[task 2026-04-14T10:06:23.803+00:00] 10:06:23     INFO - GECKO(2026) | [Parent 2026, sqldb:places.sqlite #3] WARNING: Suboptimal indexes for the SQL statement 0x140f81300 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:112
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Duplicate of this bug: 2030525

The test waited for the first .top-site-button tile and clicked it. That also
matches a pinned search shortcut, which has no href, so the click filled the
address bar instead of opening a tab and removeTab(gBrowser.tabs[2]) threw.
Matching on the URL also asserts the tab opens at the site the test set up.

Assignee: nobody → florian

The annotation was never about this test: bug 1667645 inserted the manifest
entry immediately above the linux skip-if belonging to
browser_newtab_overrides.js, and bug 1917073 converted the inherited line
mechanically. accelKey is the portable spelling and head.js has no platform
branch, so there is no mac/win-only setup.

Blocks: 2072711
Status: REOPENED → RESOLVED
Closed: 2 months ago → 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: