Intermittent browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js | Uncaught exception - TypeError: can't access property "href", content.document.getElementById(...) is null
Categories
(Firefox :: Menus, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: ssengupta)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=298627809&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fTXext_PQsK3rrjUIcT1uw/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/fTXext_PQsK3rrjUIcT1uw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1
[task 2020-04-21T13:14:58.520Z] 13:14:58 INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js
[task 2020-04-21T13:14:58.568Z] 13:14:58 INFO - TEST-INFO | started process screencapture
[task 2020-04-21T13:14:58.725Z] 13:14:58 INFO - TEST-INFO | screencapture: exit 0
[task 2020-04-21T13:14:58.725Z] 13:14:58 INFO - Buffered messages logged at 13:14:58
[task 2020-04-21T13:14:58.726Z] 13:14:58 INFO - Entering test bound test_rightclick_open_bloburl_in_new_tab
[task 2020-04-21T13:14:58.726Z] 13:14:58 INFO - Buffered messages finished
[task 2020-04-21T13:14:58.726Z] 13:14:58 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js | Uncaught exception - TypeError: can't access property "href", content.document.getElementById(...) is null
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
I expect https://hg.mozilla.org/integration/autoland/file/tip/browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js#l17 can fire when the page still has about:blank loaded, and the loaded promise should wait for the relevant document to have loaded by passing false as the second arg and the URL as the third arg to browserLoaded.
Subhamoy, can you update the test?
Comment 3•5 years ago
|
||
(alternatively, use the withNewTab helper, which makes it easier to do this kind of thing)
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
BrowserTestUtils.browserLoaded() sometimes resolves too early (already at about:blank) when used without explicit URL as 'wantLoad'.
The tests were added as a part of Bug 1626573.
| Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Description
•