The destination of the request for a top-level navigation should be set to "document"
Categories
(Remote Protocol :: WebDriver BiDi, defect, P3)
Tracking
(firefox145 fixed)
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: hbenl, Assigned: jdescottes)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [webdriver:m17][wptsync upstream][webdriver:relnote])
Attachments
(2 files)
When I look at the request in a network.beforeRequestSent event for a top-level navigation, destination is set to "" but it should be "document" according to this table.
| Assignee | ||
Comment 1•3 months ago
|
||
Oh indeed I misunderstood the HTML spec in https://bugzilla.mozilla.org/show_bug.cgi?id=1933250#c0 .
The request for a navigation is created at https://html.spec.whatwg.org/multipage/browsing-the-web.html#create-navigation-params-by-fetching with a "document" destination. I remember having a hard time with that because destination and initiator are referenced in several specs and some of them were outdated.
In any case I agree that we should fix this to be "document"
| Reporter | ||
Comment 2•3 months ago
|
||
FWIW, Chrome's BiDi implementation also sets destination to "" for top-level navigations.
Comment 3•3 months ago
|
||
The severity field is not set for this bug.
:whimboo, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 4•2 months ago
|
||
| Assignee | ||
Comment 5•2 months ago
|
||
Comment 8•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c6055864e333
https://hg.mozilla.org/mozilla-central/rev/c0c1301d5efc
Updated•1 month ago
|
Description
•