Closed
Bug 2009403
Opened 10 months ago
Closed 10 months ago
Perma browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_embed_replaced - A promise chain failed to handle a rejection: can't access property "scheme", uri is null - when Gecko 148 merges to beta on 2026-01-12
Categories
(Web Compatibility :: Tooling & Investigations, defect)
Web Compatibility
Tooling & Investigations
Tracking
(firefox-esr115 unaffected, firefox-esr140 unaffected, firefox146 unaffected, firefox147 unaffected, firefox148+ verified)
VERIFIED
FIXED
148 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox146 | --- | unaffected |
| firefox147 | --- | unaffected |
| firefox148 | + | verified |
People
(Reporter: amarc, Assigned: twisniewski)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
- Failure snippet:
[task 2026-01-09T12:03:09.693+00:00] 12:03:09 INFO - TEST-PASS | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_embed_replaced - Embed replaced with a placeholder after reblock - {} == true
[task 2026-01-09T12:03:09.693+00:00] 12:03:09 INFO - TEST-PASS | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_embed_replaced - Telemetry triggered for toggle press
[task 2026-01-09T12:03:09.694+00:00] 12:03:09 INFO - TEST-PASS | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_embed_replaced - Toggle press telemetry is a block
[task 2026-01-09T12:03:09.695+00:00] 12:03:09 INFO - TEST-PASS | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_embed_replaced - Smartblock shown event has correct reason
[task 2026-01-09T12:03:09.695+00:00] 12:03:09 INFO - Buffered messages finished
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_embed_replaced - A promise chain failed to handle a rejection: can't access property "scheme", uri is null - stack: formatURIForDisplay@resource://gre/modules/BrowserUtils.sys.mjs:279:13
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - #updatePopup@chrome://browser/content/browser-trustPanel.js:328:31
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - showPopup@chrome://browser/content/browser-trustPanel.js:263:28
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - observe@chrome://browser/content/browser-trustPanel.js:1305:14
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - openProtectionsPanel@jar:file:///builds/worker/workspace/build/application/firefox/browser/omni.ja!/chrome/browser/builtin-addons/webcompat/experiment-apis/trackingProtection.js:292:24
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - recvAPICall/result</</<@resource://gre/modules/ExtensionParent.sys.mjs:1223:16
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - withCallContextData@resource://gre/modules/ExtensionParent.sys.mjs:666:14
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - recvAPICall/result</<@resource://gre/modules/ExtensionParent.sys.mjs:1222:19
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - withPendingBrowser@resource://gre/modules/ExtensionParent.sys.mjs:676:26
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - recvAPICall/result<@resource://gre/modules/ExtensionParent.sys.mjs:1221:24
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - callAndLog@resource://gre/modules/ExtensionParent.sys.mjs:1172:14
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - recvAPICall@resource://gre/modules/ExtensionParent.sys.mjs:1220:25
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - async*_recv@resource://gre/modules/ConduitsChild.sys.mjs:90:20
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - receiveMessage@resource://gre/modules/ConduitsParent.sys.mjs:474:20
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - JSActor query*_doSend@resource://gre/modules/ConduitsChild.sys.mjs:64:11
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - _send@resource://gre/modules/ConduitsChild.sys.mjs:125:18
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - callParentFunctionNoReturn@resource://gre/modules/ExtensionChild.sys.mjs:912:18
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - callFunctionNoReturn@resource://gre/modules/ExtensionChild.sys.mjs:655:26
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - stub@resource://gre/modules/Schemas.sys.mjs:3085:24
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - _onMessageFromShim@moz-extension://9a310967-e580-48bf-b3e8-4eafebbc122d/lib/shims.js:1087:34
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - promises<@moz-extension://9a310967-e580-48bf-b3e8-4eafebbc122d/lib/messaging_helper.js:20:57
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - @moz-extension://9a310967-e580-48bf-b3e8-4eafebbc122d/lib/messaging_helper.js:20:45
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - addListener/raw/result<@resource://gre/modules/ExtensionCommon.sys.mjs:2817:27
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - raw@resource://gre/modules/ExtensionCommon.sys.mjs:2815:32
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - wrapResponse@resource://gre/modules/ExtensionChild.sys.mjs:201:21
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - emit/responses<@resource://gre/modules/ExtensionChild.sys.mjs:170:25
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - emit@resource://gre/modules/ExtensionChild.sys.mjs:170:8
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - recvRuntimeMessage@resource://gre/modules/ExtensionChild.sys.mjs:404:18
[task 2026-01-09T12:03:09.704+00:00] 12:03:09 INFO - _recv@resource://gre/modules/ConduitsChild.sys.mjs:90:20
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - receiveMessage@resource://gre/modules/ConduitsChild.sys.mjs:201:20
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - JSActor query*_doSend@resource://gre/modules/ConduitsChild.sys.mjs:62:20
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - _send@resource://gre/modules/ConduitsParent.sys.mjs:303:18
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - _cast/promises<@resource://gre/modules/ConduitsParent.sys.mjs:345:42
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - _cast@resource://gre/modules/ConduitsParent.sys.mjs:345:28
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - recvRuntimeMessage@resource://gre/modules/ExtensionParent.sys.mjs:352:37
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - async*_recv@resource://gre/modules/ConduitsChild.sys.mjs:90:20
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - receiveMessage@resource://gre/modules/ConduitsParent.sys.mjs:474:20
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - JSActor query*_doSend@resource://gre/modules/ConduitsChild.sys.mjs:62:20
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - _send@resource://gre/modules/ConduitsChild.sys.mjs:125:18
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - sendRuntimeMessage@resource://gre/modules/ExtensionChild.sys.mjs:359:33
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - sendMessage@chrome://extensions/content/child/ext-runtime.js:88:36
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - callAsyncFunction@resource://gre/modules/ExtensionCommon.sys.mjs:1155:40
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - callAsyncFunction/<@resource://gre/modules/ExtensionChild.sys.mjs:768:19
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - callAndLog@resource://gre/modules/ExtensionChild.sys.mjs:748:14
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - callAsyncFunction@resource://gre/modules/ExtensionChild.sys.mjs:767:17
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - stub@resource://gre/modules/Schemas.sys.mjs:3068:30
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - sendMessageToAddon@moz-extension://9a310967-e580-48bf-b3e8-4eafebbc122d/lib/smartblock_embeds_helper.js:23:28
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - createShimPlaceholders/</<@moz-extension://9a310967-e580-48bf-b3e8-4eafebbc122d/lib/smartblock_embeds_helper.js:189:29
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:800:30
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - synthesizeMouse@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:672:10
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:844:10
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - @chrome://mochitests/content/browser/browser/extensions/webcompat/tests/browser/head.js:393:22
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1624:15
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:256:21
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1415:14
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1551:17
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - clickOnPagePlaceholder@chrome://mochitests/content/browser/browser/extensions/webcompat/tests/browser/head.js:359:23
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - test_smartblock_embed_replaced@chrome://mochitests/content/browser/browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js:46:9
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1297:26
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1387:18
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1534:14
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1277:14
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - Rejection date: Fri Jan 09 2026 12:03:06 GMT+0000 (Coordinated Universal Time) - false == true
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - chrome://mochikit/content/browser-test.js:handleTask:1329
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1387
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1534
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1277
[task 2026-01-09T12:03:09.705+00:00] 12:03:09 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2026-01-09T12:03:09.706+00:00] 12:03:09 INFO - Leaving test test_smartblock_embed_replaced
[task 2026-01-09T12:03:09.706+00:00] 12:03:09 INFO - Entering test test_smartblock_click_while_panel_open
[task 2026-01-09T12:03:09.816+00:00] 12:03:09 INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection “http://example.com/browser/browser/extensions/webcompat/tests/browser/smartblock_embed_test.html” to use “https”."]
[task 2026-01-09T12:03:09.859+00:00] 12:03:09 INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure request “http://example.com/browser/browser/extensions/webcompat/tests/browser/smartblock_embed_test.html” to use “https”."]
[task 2026-01-09T12:03:10.447+00:00] 12:03:10 INFO - TEST-PASS | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_click_while_panel_open - TP is attached to the tab
[task 2026-01-09T12:03:10.448+00:00] 12:03:10 INFO - TEST-PASS | browser/extensions/webcompat/tests/browser/browser_smartblockembeds.js | test_smartblock_click_while_panel_open - TP is enabled
Updated•10 months ago
|
Component: Address Bar → Tooling & Investigations
Product: Firefox → Web Compatibility
Comment 1•10 months ago
|
||
I may need to request a backout over the weekend, if we don't get a fix in time for Monday's merge.
I'd prefer to avoid having to back out after the merge.
Comment 2•10 months ago
|
||
Thomas, do you know what causes this failure in today's central-as-beta simulation? This succeeded two days ago.
Flags: needinfo?(twisniewski)
| Assignee | ||
Comment 3•10 months ago
|
||
No, I'm not at all sure, but I'm making a local beta-as-sim build to see what I can figure out.
In the meantime I've asked Dale (the author of the regressing patch) in case he has a clue more quickly.
Flags: needinfo?(twisniewski)
| Assignee | ||
Comment 4•10 months ago
|
||
Updated•10 months ago
|
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•10 months ago
|
||
This trivial patch fixes the failure locally for me, and Dale agrees that it should be fine, so I don't think we'll need to back out.
Pushed by twisniewski@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/231dfc0be266
https://hg.mozilla.org/integration/autoland/rev/64c742527a10
add a null check to the changes in bug 2008932 to prevent a permafail; r=daleharvey
Comment 7•10 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•