High frequency /content-security-policy/inheritance/history.sub.html | History navigation: "about:blank" document is navigated back from history same-origin. - step_wait_func: Wait for the popup to navigate. Timed out waiting | single tracking bug
Categories
(Core :: DOM: Security, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox149 | --- | unaffected |
| firefox150 | --- | unaffected |
| firefox151 | --- | wontfix |
| firefox152 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: vhilla)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [domsecurity-intermittent], [wptsync upstream])
Attachments
(1 file)
Filed by: rperta [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=555480862&repo=autoland&task=UGJrNSYbQlaw37-QpzAltQ.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UGJrNSYbQlaw37-QpzAltQ/runs/0/artifacts/public/logs/live_backing.log
[task 2026-03-25T09:52:19.946+00:00] 09:52:19 INFO - TEST-PASS | /content-security-policy/inheritance/history-iframe.sub.html | History navigation in iframe: data URL document is navigated back from history same-origin.
[task 2026-03-25T09:52:19.946+00:00] 09:52:19 INFO - TEST-PASS | /content-security-policy/inheritance/history-iframe.sub.html | History navigation in iframe: data URL document is navigated back from history cross-origin.
[task 2026-03-25T09:52:19.946+00:00] 09:52:19 INFO - TEST-PASS | /content-security-policy/inheritance/history-iframe.sub.html | History navigation in iframe: srcdoc iframe is navigated back from history same-origin.
[task 2026-03-25T09:52:19.946+00:00] 09:52:19 INFO - TEST-PASS | /content-security-policy/inheritance/history-iframe.sub.html | History navigation in iframe: srcdoc iframe is navigated back from history cross-origin.
[task 2026-03-25T09:52:19.946+00:00] 09:52:19 INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/inheritance/history.sub.html | History navigation: "about:blank" document is navigated back from history same-origin. - step_wait_func: Wait for the popup to navigate. Timed out waiting on condition
[task 2026-03-25T09:52:20.048+00:00] 09:52:20 INFO - TEST-OK | /content-security-policy/inheritance/history.sub.html | took 12500ms
[task 2026-03-25T09:52:20.719+00:00] 09:52:20 INFO - Closing logging queue
[task 2026-03-25T09:52:20.719+00:00] 09:52:20 INFO - queue closed
[task 2026-03-25T09:52:20.728+00:00] 09:52:20 INFO - STDOUT: cleanup aborted: args: /builds/worker/fetches/android-sdk-linux/platform-tools/adb wait-for-device remount, exitcode: 1, stdout: Device must be bootloader unlocked
[task 2026-03-25T09:52:20.733+00:00] 09:52:20 INFO - Setting up ssl
[task 2026-03-25T09:52:20.754+00:00] 09:52:20 INFO - certutil | b''
[task 2026-03-25T09:52:20.774+00:00] 09:52:20 INFO - certutil | b''
[task 2026-03-25T09:52:20.787+00:00] 09:52:20 INFO - certutil | b'\nCertificate Nickname Trust Attributes\n SSL,S/MIME,JAR/XPI\n\nweb-platform-tests CT,, \n'
[task 2026-03-25T09:52:21.815+00:00] 09:52:21 INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test_runner
[task 2026-03-25T09:52:21.957+00:00] 09:52:21 INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.TestRunnerActivity -a android.intent.action.MAIN --es env0 MOZ_CRASHREPORTER=1 --es env1 MOZ_CRASHREPORTER_NO_REPORT=1 --es env2 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env4 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:3,jsep:4 --es env6 R_LOG_LEVEL=6 --es env7 R_LOG_DESTINATION=stderr --es env8 R_LOG_VERBOSE=1 --es env9 MOZ_PROCESS_LOG=/tmp/tmpzv328ob9pidlog --es env10 MINIDUMP_SAVE_PATH=/builds/worker/workspace/build/blobber_upload_dir --es env11 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es arg0 -no-remote --es arg1 -profile --es arg2 /data/local/tmp/test_root/profile --es arg3 --marionette --es arg4 --remote-allow-system-access --es arg5 about:blank
[task 2026-03-25T09:52:24.802+00:00] 09:52:24 INFO - Starting runner
[task 2026-03-25T09:52:29.871+00:00] 09:52:29 INFO - TEST-START | /content-security-policy/inheritance/iframe-all-local-schemes.sub.html
[task 2026-03-25T09:52:29.919+00:00] 09:52:29 INFO - Setting pref layout.disable-pixel-alignment to true
[task 2026-03-25T09:52:29.975+00:00] 09:52:29 INFO - Setting pref layout.css.anchor-positioning.enabled to true
[task 2026-03-25T09:52:30.016+00:00] 09:52:30 INFO - Setting pref dom.security.trusted_types.enabled to true
[task 2026-03-25T09:52:32.046+00:00] 09:52:32 INFO - TEST-OK | /content-security-policy/inheritance/iframe-all-local-schemes.sub.html | took 2178ms
[task 2026-03-25T09:52:32.047+00:00] 09:52:32 INFO - TEST-START | /content-security-policy/inheritance/iframe-srcdoc-history-inheritance.html
Comment 1•2 months ago
|
||
:kinetik, since you are the author of the regressor, bug 2026000, could you take a look?
For more information, please visit BugBot documentation.
Comment 2•2 months ago
|
||
Set release status flags based on info from the regressing bug 2026000
Comment 3•2 months ago
•
|
||
I'm confused, I think the regressing bug is misattributed. Bug 2026000 hit autoland at 25 Mar 2026 13:56:31 +0000. The failing test is in an autoland job from 25 Mar 2026 08:58:24 +0000, 5 hours earlier. Bug 2026000 is an Android audio backend change, but the failing test doesn't use audio AFAICT.
We have had lots of unrelated-to-audio tests failing on the Android emulator runners due to audio bugs, however. Bug 2025563 hit autoland at 24 Mar 2026 08:21:50 +0000, that was intended to fix those random timeouts, but may have caused some to shift to other bugs - OTOH if this test timeout is high frequency, I'd expect it to show up sooner and be more clearly linked to that bug landed. I don't have any evidence that this test timeout is related to bug 2025563 or audio yet, but I'll check.
Comment 4•2 months ago
|
||
I don't think this timeout is audio related at all. In the linked failing job's logcat-emulator-5554.log, we can see:
09:49:00.970 - emulator boot
09:49:25.352 - Android audio init completes
09:51:47.131 - GeckoView test runner (7528) starts
09:52:07.473 - history.sub.html test starts in 7528
09:52:19.525 - Process 7528 killed, test timeout reported
09:59:16.884 - GeckoView test runner (28384) starts
10:00:17.235 - media-source tests start in 28384
10:00:20.539 - First AAudioStream (s#1) since boot created
So Gecko hasn't done anything audio related until after the history.sub.html test has timed out.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 11•1 month ago
|
||
Bug 1706538 seems a more likely candidate. Vincent, do you mind taking a look please?
Comment 12•1 month ago
|
||
Set release status flags based on info from the regressing bug 1706538
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 14•1 month ago
|
||
Oh yes, they were annotated as intermittent and I hoped that that patch or bug 543435 fixed this. I'll look into if only this one subtest is intermittent or all intermittent annotations should be restored. Thanks!
| Assignee | ||
Comment 15•1 month ago
•
|
||
The two tests should've been fixed by my change, but are still intermittent. I think it's because of this code or similar. Some observations:
After navigating from postmessage-opener.html to about:blank, popup.history.length is sometimes 1. This indicates we did a replace load because postmessage-opener.html didn't complete loading when it sent it's message and was navigated away. This seems fixed by sending the message on load instead of during parsing. Doing the navigation to about:blank during load would still break, but waiting for the message should be async enough.
When we then navigate from about:blank to message-opener-and-navigate-back.html, it's more difficult to check history.length due to being xorigin. But I suppose the same happens, even more likely because we just poll for popup.location.href without ensuring about:blank has finished loading. I guess we can't reliably catch the load event for about:blank in a popup. I at least confirmed on try that when we fail, history.back() causes us to go too far back to postmessage-opener.html. Perhaps waiting for readyState next to location is sufficient.
For Edit: in theory yes, but waiting for history-iframe.sub.html, it should be fine to just wait for load instead of polling locationcomplete is simpler. If I just wait for the about:blank load event, it's still flaky. I suppose it sometimes gets the load event for postmessage-top.html because the message might arrive earlier.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 16•1 month ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Updated•1 month ago
|
Comment 18•1 month ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59667 for changes under testing/web-platform/tests
Comment 20•1 month ago
|
||
| bugherder | ||
Upstream PR merged by moz-wptsync-bot
Comment 22•29 days ago
|
||
The patch landed in nightly and beta is affected.
:vhilla, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox151towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 23•29 days ago
|
||
It's just a test fix, so not really important. Unsure if this warrants an uplift given the zero risk to avoid intermittents on beta / release branch testing. I tend towards no, but happy to file the request if needed.
| Comment hidden (Intermittent Failures Robot) |
Description
•