"browsingContext.navigate" has to return "unknown error" if navigation failed
Categories
(Remote Protocol :: WebDriver BiDi, defect, P2)
Tracking
(firefox131 fixed)
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [webdriver:m12][wptsync upstream][webdriver:relnote])
Attachments
(3 files)
Step 7 of await a navigation
describes that a navigation needs to fail with unknown error
if the navigation status is canceled
- like it can happen when dismissing a beforeunload
prompt.
Before we can get started to work on this bug we need the browsingContext.navigationFailed
event first (bug 1846601).
Comment 1•3 months ago
|
||
Bug 1846601 is being implemented at the moment, would be nice to handle this one as a follow up if we have time during m12.
Updated•3 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
It would be good in the scope of this bug to also take a look if it's possible or how hard it's to implement the logic to return a more meaningful error message in case the navigation fails because of the error returned from the platform. Maybe we could reuse some devtools code or create some shared logic.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 3•2 months ago
|
||
Assignee | ||
Comment 4•2 months ago
|
||
Assignee | ||
Comment 5•2 months ago
|
||
(In reply to Alexandra Borovova [:Sasha] from comment #2)
It would be good in the scope of this bug to also take a look if it's possible or how hard it's to implement the logic to return a more meaningful error message in case the navigation fails because of the error returned from the platform. Maybe we could reuse some devtools code or create some shared logic.
This part is moved to follow-up (bug 1912400).
Comment 8•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/57b35acde62f
https://hg.mozilla.org/mozilla-central/rev/cc92c2f19204
Comment 9•2 months ago
|
||
Backed out for causing for causing Bug 1912554.
Backout link: https://hg.mozilla.org/integration/autoland/rev/34c818c2ef3596690c0815c842bd0684b4d37df6
Push where failures started: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=LplrG6smSMeOHHUUTgwbjg.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&searchStr=wd&revision=c948d8669436eb2562acc2dfd11f384fcc5d3772
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=469924298&repo=autoland&lineNumber=106565
https://treeherder.mozilla.org/logviewer?job_id=469941827&repo=mozilla-central&lineNumber=107224
Assignee | ||
Comment 11•2 months ago
|
||
Assignee | ||
Updated•2 months ago
|
Comment 12•2 months ago
|
||
Comment 13•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3322352a66d6
https://hg.mozilla.org/mozilla-central/rev/e7b46e8452ee
https://hg.mozilla.org/mozilla-central/rev/d6419e91d310
Reporter | ||
Updated•13 days ago
|
Description
•