Closed Bug 2011958 Opened 10 months ago Closed 1 month ago

Intermittent browser/extensions/newtab/test/browser/browser_topsites_sponsored.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, test-verify-fail)

Attachments

(2 external files)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=544960594&repo=autoland&task=a1wdEz3yS_y57uSaxupPRw.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/a1wdEz3yS_y57uSaxupPRw/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/default/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/a1wdEz3yS_y57uSaxupPRw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2026-01-22T19:27:54.503+00:00] 19:27:54     INFO - TEST-START | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js
[task 2026-01-22T19:27:54.512+00:00] 19:27:54     INFO - GECKO(1566) | [Parent 1566, Main Thread] WARNING: NS_ENSURE_TRUE(she && she->mInfo->mSharedState.Get()) failed: file /builds/worker/checkouts/gecko/docshell/shistory/SessionHistoryEntry.cpp:1213
[task 2026-01-22T19:27:54.522+00:00] 19:27:54     INFO - GECKO(1566) | [Parent 1566, sqldb:places.sqlite #4] WARNING: Suboptimal indexes for the SQL statement 0x7f1b190fcd00 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:114
[task 2026-01-22T19:27:54.561+00:00] 19:27:54     INFO - GECKO(1566) | [Parent 1566, sqldb:places.sqlite #4] WARNING: Suboptimal indexes for the SQL statement 0x7f1b190fcd00 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:114
[task 2026-01-22T19:27:54.628+00:00] 19:27:54     INFO - GECKO(1566) | [Parent 1566, Main Thread] WARNING: NS_ENSURE_TRUE(mNameHashtable.Get(aName, &index)) failed: file /builds/worker/checkouts/gecko/storage/mozStorageRow.cpp:91
[task 2026-01-22T19:27:54.644+00:00] 19:27:54     INFO - GECKO(1566) | [fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.
[task 2026-01-22T19:27:54.710+00:00] 19:27:54     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7ff67939bc00 == 3 [pid = 1914] [id = 2]
[task 2026-01-22T19:27:54.711+00:00] 19:27:54     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (7ff677bc5700) [pid = 1914] [serial = 7] [outer = 0]
[task 2026-01-22T19:27:54.712+00:00] 19:27:54     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (7ff67904ba00) [pid = 1914] [serial = 8] [outer = 7ff677bc5700]
[task 2026-01-22T19:27:54.727+00:00] 19:27:54     INFO - GECKO(1566) | [Parent 1566, BgIOThreadPool #3] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/xpcom/io/nsLocalFileUnix.cpp:2019
[task 2026-01-22T19:27:54.728+00:00] 19:27:54     INFO - GECKO(1566) | [Parent 1566, BgIOThreadPool #3] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/xpcom/io/nsLocalFileUnix.cpp:2019
[task 2026-01-22T19:27:54.734+00:00] 19:27:54     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7ff67904e200) [pid = 1914] [serial = 9] [outer = 7ff677bc5700]
[task 2026-01-22T19:27:54.884+00:00] 19:27:54     INFO - TEST-INFO | started process screentopng
[task 2026-01-22T19:27:55.087+00:00] 19:27:55     INFO - TEST-INFO | screentopng: exit 0
[task 2026-01-22T19:27:55.087+00:00] 19:27:55     INFO - Buffered messages logged at 19:27:54
[task 2026-01-22T19:27:55.087+00:00] 19:27:55     INFO - Entering setup bound 
[task 2026-01-22T19:27:55.088+00:00] 19:27:55     INFO - Leaving setup bound 
[task 2026-01-22T19:27:55.088+00:00] 19:27:55     INFO - Entering test test_dismiss
[task 2026-01-22T19:27:55.089+00:00] 19:27:55     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "about:newtab" line: 0}]
[task 2026-01-22T19:27:55.089+00:00] 19:27:55     INFO - Buffered messages finished
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | test_dismiss - Should have 4 topsites by default - 3 == 4 - got 3, expected 4 (operator ==)
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - @chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_sponsored.js:88:12
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - async*execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1624:15
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:256:21
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1415:14
[task 2026-01-22T19:27:55.091+00:00] 19:27:55     INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1551:17
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - newtabWithSponsoredTopsites@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_sponsored.js:32:23
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - async*test_dismiss@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_sponsored.js:76:9
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - handleTask@chrome://mochikit/content/browser-test.js:1309:26
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1399:18
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1546:14
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1283:14
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1063:13
[task 2026-01-22T19:27:55.092+00:00] 19:27:55     INFO - GECKO(1566) | console.error: (new TypeError("can't access property \"linkMap\", cache is null", "resource://gre/modules/NewTabUtils.sys.mjs", 1594))
[task 2026-01-22T19:27:55.093+00:00] 19:27:55     INFO - GECKO(1566) | [Parent 1566, sqldb:places.sqlite #4] WARNING: Suboptimal indexes for the SQL statement 0x7f1b190fcd00 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:114
[task 2026-01-22T19:27:55.094+00:00] 19:27:55     INFO - GECKO(1566) | [Parent 1566, sqldb:places.sqlite #4] WARNING: Suboptimal indexes for the SQL statement 0x7f1b190fcd00 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:114
[task 2026-01-22T19:27:55.094+00:00] 19:27:55     INFO - GECKO(1566) | [fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.
[task 2026-01-22T19:27:55.095+00:00] 19:27:55     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "about:newtab" line: 0}]
[task 2026-01-22T19:27:55.096+00:00] 19:27:55     INFO - GECKO(1566) | [fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.
[task 2026-01-22T19:27:55.097+00:00] 19:27:55     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "about:newtab" line: 0}]
[task 2026-01-22T19:27:55.547+00:00] 19:27:55     INFO - GECKO(1566) | console.debug: AboutNewTabResourceMapping: "_updateAddonStateDeferredTask running"
[task 2026-01-22T19:27:55.547+00:00] 19:27:55     INFO - GECKO(1566) | console.debug: AboutNewTabResourceMapping: "Force restartless install: " false
[task 2026-01-22T19:27:55.548+00:00] 19:27:55     INFO - GECKO(1566) | console.debug: AboutNewTabResourceMapping: "Received addon version:" null
[task 2026-01-22T19:27:55.548+00:00] 19:27:55     INFO - GECKO(1566) | console.debug: AboutNewTabResourceMapping: "Received XPI download path:" null
[task 2026-01-22T19:27:55.549+00:00] 19:27:55     INFO - GECKO(1566) | console.debug: AboutNewTabResourceMapping: "_updateAddonStateDeferredTask completed"
[task 2026-01-22T19:27:58.055+00:00] 19:27:58     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff679c3f000 == 1 [pid = 1726] [id = 0] [url = about:blank]
[task 2026-01-22T19:27:58.116+00:00] 19:27:58     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7ff699e47200) [pid = 1726] [serial = 1] [outer = 0] [url = about:blank]
[task 2026-01-22T19:27:59.975+00:00] 19:27:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-01-22T19:27:59.976+00:00] 19:27:59     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | test_dismiss - Uncaught exception in test - Should find only 3 topsites - timed out after 50 tries.
[task 2026-01-22T19:27:59.977+00:00] 19:27:59     INFO - Leaving test test_dismiss
[task 2026-01-22T19:27:59.991+00:00] 19:27:59     INFO - GECKO(1566) | [Parent 1566, sqldb:places.sqlite #4] WARNING: Suboptimal indexes for the SQL statement 0x7f1b190fcd00 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:114
[task 2026-01-22T19:27:59.994+00:00] 19:27:59     INFO - GECKO(1566) | [Parent 1566, sqldb:places.sqlite #4] WARNING: Suboptimal indexes for the SQL statement 0x7f1b190fcd00 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:114
[task 2026-01-22T19:28:00.117+00:00] 19:28:00    ERROR - TEST-EXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | changed preference: browser.newtabpage.activity-stream.unifiedAds.blockedAds
[task 2026-01-22T19:28:00.118+00:00] 19:28:00    ERROR - TEST-EXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | changed preference: browser.topsites.blockedSponsors
[task 2026-01-22T19:28:00.119+00:00] 19:28:00    ERROR - TEST-EXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | changed preference: browser.newtabpage.blocked
[task 2026-01-22T19:28:00.123+00:00] 19:28:00     INFO - GECKO(1566) | MEMORY STAT | vsize 11872MB | residentFast 686MB | heapAllocated 320MB
[task 2026-01-22T19:28:00.124+00:00] 19:28:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-01-22T19:28:00.125+00:00] 19:28:00     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | Found an unexpected tab at the end of test run: about:newtab
[task 2026-01-22T19:28:00.151+00:00] 19:28:00     INFO - checking for open sidebars
[task 2026-01-22T19:28:00.151+00:00] 19:28:00     INFO - checking window state
[task 2026-01-22T19:28:00.152+00:00] 19:28:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-01-22T19:28:00.153+00:00] 19:28:00     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | finished in 5646ms
[task 2026-01-22T19:28:00.153+00:00] 19:28:00     INFO - TEST-INFO took 5650ms
[task 2026-01-22T19:28:00.162+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1816: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7ff679c55000 == 2 [pid = 1816] [id = 1]
[task 2026-01-22T19:28:00.163+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1816: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7ff679c8ae00) [pid = 1816] [serial = 3] [outer = 0]
[task 2026-01-22T19:28:00.164+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1816: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7ff699eadb00) [pid = 1816] [serial = 4] [outer = 7ff679c8ae00]
[task 2026-01-22T19:28:00.222+00:00] 19:28:00     INFO - GECKO(1566) | [Parent 1566, Main Thread] WARNING: NS_ENSURE_TRUE(she && she->mInfo->mSharedState.Get()) failed: file /builds/worker/checkouts/gecko/docshell/shistory/SessionHistoryEntry.cpp:1213
[task 2026-01-22T19:28:00.230+00:00] 19:28:00     INFO - GECKO(1566) | [Parent 1566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7f1b236c6300) [pid = 1566] [serial = 9] [outer = 7f1b29c95100]
[task 2026-01-22T19:28:00.263+00:00] 19:28:00     INFO - GECKO(1566) | [Parent 1566, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorParent.cpp:43
[task 2026-01-22T19:28:00.263+00:00] 19:28:00     INFO - GECKO(1566) | console.error: (new InvalidStateError("JSWindowActorParent.sendAsyncMessage: JSWindowActorParent cannot send at the moment", (void 0), 261))
[task 2026-01-22T19:28:00.303+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7ff6790ed300) [pid = 1726] [serial = 4] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.303+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7ff699eac200) [pid = 1726] [serial = 2] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.304+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7ff6790ece00) [pid = 1726] [serial = 3] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.304+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff679c4a400 == 0 [pid = 1726] [id = 1] [url = about:blank]
[task 2026-01-22T19:28:00.310+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1816: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff679c56c00 == 1 [pid = 1816] [id = 0] [url = about:blank]
[task 2026-01-22T19:28:00.374+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1686: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7ff6790d8600) [pid = 1686] [serial = 6] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.374+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1686: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7ff6790d4f00) [pid = 1686] [serial = 8] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.375+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1686: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7ff6790d4000) [pid = 1686] [serial = 4] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.376+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1686: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7ff6790d8100) [pid = 1686] [serial = 12] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.376+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1686: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7ff6790d3100) [pid = 1686] [serial = 2] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.377+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1686: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7ff6790d5900) [pid = 1686] [serial = 10] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.527+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff679c39400 == 2 [pid = 1914] [id = 0] [url = about:newtab]
[task 2026-01-22T19:28:00.527+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff67649c000 == 1 [pid = 1914] [id = 1] [url = about:newtab]
[task 2026-01-22T19:28:00.528+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff67939bc00 == 0 [pid = 1914] [id = 2] [url = about:newtab]
[task 2026-01-22T19:28:00.657+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7ff699eab800) [pid = 1914] [serial = 2] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.657+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7ff676458200) [pid = 1914] [serial = 5] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.658+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7ff67904ba00) [pid = 1914] [serial = 8] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:00.808+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7ff699e47e00) [pid = 1914] [serial = 1] [outer = 0] [url = about:newtab]
[task 2026-01-22T19:28:00.809+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7ff677071b00) [pid = 1914] [serial = 4] [outer = 0] [url = about:newtab]
[task 2026-01-22T19:28:00.810+00:00] 19:28:00     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7ff677bc5700) [pid = 1914] [serial = 7] [outer = 0] [url = about:newtab]
[task 2026-01-22T19:28:01.035+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7ff679c5ac00) [pid = 1726] [serial = 5] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:01.041+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1816: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7ff679c88100) [pid = 1816] [serial = 1] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:01.053+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1726: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7ff699eacc00) [pid = 1726] [serial = 6] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:01.069+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7ff67904e200) [pid = 1914] [serial = 9] [outer = 0] [url = about:newtab]
[task 2026-01-22T19:28:01.070+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7ff676456900) [pid = 1914] [serial = 6] [outer = 0] [url = about:newtab]
[task 2026-01-22T19:28:01.070+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1914: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7ff67904ec00) [pid = 1914] [serial = 3] [outer = 0] [url = about:newtab]
[task 2026-01-22T19:28:01.072+00:00] 19:28:01     INFO - GECKO(1566) | [Child 1816: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7ff699ead100) [pid = 1816] [serial = 2] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:01.527+00:00] 19:28:01     INFO - GECKO(1566) | [Parent 1566: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f1b29c21600) [pid = 1566] [serial = 6] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:02.135+00:00] 19:28:02     INFO - GECKO(1566) | Completed ShutdownLeaks collections in process 1816
[task 2026-01-22T19:28:02.144+00:00] 19:28:02     INFO - GECKO(1566) | Completed ShutdownLeaks collections in process 1726
[task 2026-01-22T19:28:02.224+00:00] 19:28:02     INFO - GECKO(1566) | [Parent 1566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7f1b28717e00) [pid = 1566] [serial = 10] [outer = 7f1b29c95100]
[task 2026-01-22T19:28:02.245+00:00] 19:28:02     INFO - GECKO(1566) | Completed ShutdownLeaks collections in process 1914
[task 2026-01-22T19:28:02.265+00:00] 19:28:02     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "about:blank" line: 0}]
[task 2026-01-22T19:28:02.466+00:00] 19:28:02     INFO - GECKO(1566) | Completed ShutdownLeaks collections in process 1686
[task 2026-01-22T19:28:04.014+00:00] 19:28:04     INFO - GECKO(1566) | [Parent 1566: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f1b236c6300) [pid = 1566] [serial = 9] [outer = 0] [url = about:blank]
[task 2026-01-22T19:28:04.349+00:00] 19:28:04     INFO - GECKO(1566) | Completed ShutdownLeaks collections in process 1566
[task 2026-01-22T19:28:04.349+00:00] 19:28:04     INFO - TEST-START | Shutdown
Summary: Intermittent TV browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | test_dismiss - Should have 4 topsites by default - 3 == 4 - got 3, expected 4 (operator ==) → Intermittent browser/extensions/newtab/test/browser/browser_topsites_sponsored.js | single tracking bug
See Also: → 2072915

test_dismiss adds two sponsored top sites and then asserts that the row holds
exactly four li.top-site-outer elements, and three after one sponsored tile
is dismissed. Only two of those are the test's own; the rest of the row is
whatever the profile happens to hold, and the assertion has failed in both
directions. Count the sponsored tiles instead, which is what the test is about.

Assignee: nobody → florian
Status: NEW → ASSIGNED

test_dismiss clears the three preferences its dismissal wrote, but clearing the
one behind NewTabUtils.blockedLinks leaves that module's in-memory copy
holding the block, and the top sites feed does not re-read its inputs on its
own either. So the dismissed sponsored tile never comes back, and the next run
of this file in the same browser, as under --verify, starts with one
sponsored tile instead of two.

Undo the block through NewTabUtils.undoAll() and refresh the feed, as
add_setup already does.

Blocks: 2072711
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8250d6e6e9ba https://hg.mozilla.org/integration/autoland/rev/ff20b86a9f7a Restore the dismissed sponsored top site in browser_topsites_sponsored.js, r=mconley.
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/991017d353d2 https://hg.mozilla.org/integration/autoland/rev/73f8a29e02d2 Count the sponsored tiles rather than the whole row in browser_topsites_sponsored.js, r=mconley.
Status: ASSIGNED → RESOLVED
Closed: 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: