Update media resource fetch to identify top-level self-fetch for blob URLs - #11957
Merged
Conversation
recvfrom
force-pushed
the
main
branch
2 times, most recently
from
November 25, 2025 17:55
a6df317 to
3bb1387
Compare
Updates the resource fetch algorithm to calculate when a top-level self-fetch might be occurring for blob URLs, which is a case where blob URL partitioning would be bypassed. For more info see: w3c/FileAPI#210
annevk
approved these changes
Nov 27, 2025
Comment on lines
+38209
to
+38210
| <li><p>Let <var>settingsObject</var> be <span>media element</span>'s | ||
| <span>node document</span>'s <span>relevant settings object</span>.</p></li> |
Member
There was a problem hiding this comment.
(There's a potentially gnarly edge case here with respect to using the element's relevant settings object or the element's node document's relevant settings object as they can currently be different if an element moves across documents, but I think we generally (maybe even exclusively) want to use the element's node document's relevant settings object.)
Contributor
Author
There was a problem hiding this comment.
Oh interesting, I was not aware of this 🤯
annevk
added a commit
to whatwg/fetch
that referenced
this pull request
Dec 3, 2025
See w3c/FileAPI#210 for details. Corresponding PRs: - w3c/FileAPI#216 - whatwg/html#11957 Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
annevk
pushed a commit
to w3c/FileAPI
that referenced
this pull request
Dec 3, 2025
See #210 for details. Corresponding PRs: - whatwg/fetch#1879 - whatwg/html#11957 Closes #210.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the media resource fetch algorithm to calculate when a top-level self-fetch might be occurring for blob URLs, which is a case where blob URL partitioning would be bypassed.
For more info see: w3c/FileAPI#210
(See WHATWG Working Mode: Changes for more details.)
/media.html ( diff )