Skip to content

Add download id to download events.#1117

Merged
lutien merged 1 commit into
w3c:mainfrom
lutien:add-download-id
May 20, 2026
Merged

Add download id to download events.#1117
lutien merged 1 commit into
w3c:mainfrom
lutien:add-download-id

Conversation

@lutien
Copy link
Copy Markdown
Member

@lutien lutien commented May 8, 2026

Closes #1096.

Motivation:

  • Make it possible to map downloadWillBegin and downloadEnd events in case the navigation id is missing.
  • Unblock a possibility of commands to manipulate downloads, e.g., canceling downloads.

The PR in the HTML spec to pass downloadResponse to events: whatwg/html#12426.


Preview | Diff

@lutien lutien requested a review from OrKoN May 12, 2026 10:50
@css-meeting-bot
Copy link
Copy Markdown
Member

The Browser Testing and Tools Working Group just discussed Add download ID field to download events.

The full IRC log of that discussion <jgraham> Topic: Add download ID field to download events
<jgraham> github: https://github.com//pull/1117
<jgraham> RRSAgent: make logs public
<RRSAgent> I have made the request, jgraham
<tidoust> sasha: The load event only has navigation ID, which is fine for most cases. In the case when it's not present, it makes it impossible to link start/end loading events.
<tidoust> s/load/download
<tidoust> ... I created a PR for that which shouldn't be controversial. Comments welcome.
<orkon> q+
<jgraham> ack next
<tidoust> ack orkon
<tidoust> orkon: I think it looks fine and that we should have a download ID. I'll take another look next week.

@lutien lutien merged commit e9b871c into w3c:main May 20, 2026
5 checks passed
@lutien lutien deleted the add-download-id branch May 20, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a download ID parameter to download events

4 participants