Open Bug 1918476 Opened 2 months ago Updated 4 days ago

Intermittent docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | Has the expected number of contextMenu entries - Got 2, expected 3

Categories

(Core :: DOM: Navigation, defect, P5)

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- affected
firefox133 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

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


[task 2024-09-12T15:02:08.828Z] 15:02:08     INFO - TEST-START | docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js
[task 2024-09-12T15:02:12.983Z] 15:02:12     INFO - TEST-INFO | started process screentopng
[task 2024-09-12T15:02:13.180Z] 15:02:13     INFO - TEST-INFO | screentopng: exit 0
[task 2024-09-12T15:02:13.182Z] 15:02:13     INFO - Buffered messages logged at 15:02:08
[task 2024-09-12T15:02:13.184Z] 15:02:13     INFO - Entering setup bound 
[task 2024-09-12T15:02:13.186Z] 15:02:13     INFO - Leaving setup bound 
[task 2024-09-12T15:02:13.187Z] 15:02:13     INFO - Entering test bound 
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - Buffered messages logged at 15:02:11
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - waiting for the history menu to open
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - Buffered messages logged at 15:02:12
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - history menu opened
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - Buffered messages finished
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - TEST-UNEXPECTED-FAIL | docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | Has the expected number of contextMenu entries - Got 2, expected 3
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - Stack trace:
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:test_is:1625
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochitests/content/browser/docshell/test/browser/head.js:assertMenulist:224
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochitests/content/browser/docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js:null:23
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochitests/content/browser/docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js:null:16
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-09-12T15:02:13.188Z] 15:02:13     INFO - TEST-PASS | docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | contextMenu node has the correct uri - 
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - TEST-UNEXPECTED-FAIL | docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | contextMenu node has the correct uri - Got "https://example.com/browser/docshell/test/browser/file_replace_state_during_navigation.html", expected "https://example.com/browser/docshell/test/browser/file_replace_state_during_navigation.html#inject"
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - Stack trace:
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:test_is:1625
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochitests/content/browser/docshell/test/browser/head.js:assertMenulist:232
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochitests/content/browser/docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js:null:23
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochitests/content/browser/docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js:null:16
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - TEST-UNEXPECTED-FAIL | docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | Uncaught exception in test bound  - at chrome://mochitests/content/browser/docshell/test/browser/head.js:233 - TypeError: can't access property "getAttribute", node is undefined
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - Stack trace:
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - assertMenulist@chrome://mochitests/content/browser/docshell/test/browser/head.js:233:7
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - async*@chrome://mochitests/content/browser/docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js:23:11
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:121:22
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - async*@chrome://mochitests/content/browser/docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js:16:26
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-09-12T15:02:13.189Z] 15:02:13     INFO - Leaving test bound 
[task 2024-09-12T15:02:13.933Z] 15:02:13     INFO - GECKO(4740) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2024-09-12T15:02:13.934Z] 15:02:13     INFO - GECKO(4740) | MEMORY STAT heapAllocated not supported in this build configuration.
[task 2024-09-12T15:02:13.934Z] 15:02:13     INFO - GECKO(4740) | MEMORY STAT | vsize 120599371MB | residentFast 1252MB
[task 2024-09-12T15:02:13.935Z] 15:02:13     INFO - TEST-OK | docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | took 5108ms
[task 2024-09-12T15:02:14.044Z] 15:02:14     INFO - checking window state
Summary: Intermittent TV docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | Has the expected number of contextMenu entries - Got 2, expected 3 → Intermittent docshell/test/browser/browser_replace_state_during_navigation_from_first_page.js | Has the expected number of contextMenu entries - Got 2, expected 3
Keywords: regression
Regressed by: 1917369

Set release status flags based on info from the regressing bug 1917369

:avandolder, since you are the author of the regressor, bug 1917369, could you take a look?

For more information, please visit BugBot documentation.

Adam, we might need to signal (through BroadCastChannel?) from file_replace_state_during_navigation.html to browser_replace_state_during_navigation_from_first_page.js that the pushState has happened, so it can wait for that before checking the context menu.

See Also: → 1913987

Set release status flags based on info from the regressing bug 1917369

You need to log in before you can comment on or make changes to this bug.