Implement the "browsingContext.downloadWillBegin" event
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox144 fixed)
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: whimboo, Assigned: jdescottes, NeedInfo)
References
(Blocks 3 open bugs, )
Details
(Whiteboard: [webdriver:m17][wptsync upstream][webdriver:relnote])
Attachments
(5 files)
This bug implements the browsingContext.downoadWillBegin event by following the HTML spec:
https://html.spec.whatwg.org/#populating-a-session-history-entry:webdriver-bidi-download-started
It needs to be emitted when the response has a Content-Disposition header specifying the attachment disposition type.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•4 months ago
|
||
Moving to m17 for planning as this blocks many PW tests.
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 4•2 months ago
|
||
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 5•2 months ago
|
||
I think there is currently a spec issue with download attributes: https://github.com/w3c/webdriver-bidi/issues/980
They should not trigger the event, but 1/ that's what we use in wdspec tests, 2/ I imagine that's what users would expect
| Reporter | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 6•2 months ago
|
||
The suggestedFilename as expected by our wdspec tests (and as implemented by Chrome) seems odd. In case you download a file with the same filename several times, it doesn't include the potential modification made to the filename by the browser (eg file.txt, file (1).txt, file (2).txt etc...)
| Assignee | ||
Comment 7•2 months ago
|
||
| Assignee | ||
Comment 8•2 months ago
|
||
| Assignee | ||
Comment 9•2 months ago
|
||
| Assignee | ||
Comment 10•2 months ago
|
||
Comment 11•2 months ago
|
||
Comment 13•2 months ago
|
||
Comment 14•2 months ago
|
||
Backed out for causing wd failures @download_will_begin.py.
Comment 16•2 months ago
|
||
Comment 18•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f30aef777f09
https://hg.mozilla.org/mozilla-central/rev/2553c99d7d93
https://hg.mozilla.org/mozilla-central/rev/4623a8aa7183
https://hg.mozilla.org/mozilla-central/rev/f5f51ea80680
| Reporter | ||
Updated•25 days ago
|
Description
•