-
Notifications
You must be signed in to change notification settings - Fork 2.9k
audio/video loads should set the "same-origin data-URL" flag #1779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This (and #1778 and #1243) is largely the same discussion as whatwg/fetch#381, I think. We really should figure out the story there sooner rather than later. |
From my point of view the basic story is that some of the Chrome developers hate data: URLs and want to kill them off on the web. With that goal in mind, they are trying to make them as useless as they possibly can within web compat constraints, and possibly a bit over that line. Some of that that hatred is motivated by what they perceive as security issues (and I will grant those); some is just motivated by Chrome's implementation details. An alternate approach to data: URLs, and one that I think is more developer-friendly, is to make them as useful as we possibly can, while keeping in mind potential security/XSS issues. I don't see any XSS issues with audio/video, just like I don't see any with images. |
Does this amount to whether loading a data: URL in a media element then allows you to access any in-band text tracks and painting video frames to a canvas? I take it that right now some implementations (Chrome?) treat it as cross-origin and some (Gecko?) as same-origin? |
Yeah, basically that. This might not require changes here if we go with the solution put forward here: whatwg/fetch#381 (comment). |
The change to Fetch discussed in whatwg/fetch#381 made it obsolete. Closes #1243, closes #1778, and closes #1779 as these are all treated as same-origin now per the change to Fetch.
The change to Fetch discussed in whatwg/fetch#381 made it obsolete. Closes #1243, closes #1778, and closes #1779 as these are all treated as same-origin now per the change to Fetch.
The change to Fetch discussed in whatwg/fetch#381 made it obsolete. Closes #1243, closes #1778, and closes #1779 as these are all treated as same-origin now per the change to Fetch.
The change to Fetch discussed in whatwg/fetch#381 made it obsolete. Closes #1778, and closes #1779 as these are all treated as same-origin now per the change to Fetch.
The change to Fetch discussed in whatwg/fetch#381 made it obsolete. Closes #1778, and closes #1779 as these are all treated as same-origin now per the change to Fetch.
The change to Fetch discussed in whatwg/fetch#381 made it obsolete. Closes whatwg#1778, and closes whatwg#1779 as these are all treated as same-origin now per the change to Fetch.
For the same reason that images set it: so you can then work with the resulting thing.
The text was updated successfully, but these errors were encountered: