Skip to content
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

Does the track element really use "same-origin" as fallback? #6267

Open
annevk opened this issue Jan 6, 2021 · 3 comments
Open

Does the track element really use "same-origin" as fallback? #6267

annevk opened this issue Jan 6, 2021 · 3 comments
Labels
interop Implementations are not interoperable with each other topic: fetch topic: media

Comments

@annevk
Copy link
Member

annevk commented Jan 6, 2021

Discussion in https://bugs.webkit.org/show_bug.cgi?id=205744 indicates it might be "cors" instead. This would suggest changing "create a potential-CORS request" as well as this is the only caller passing the same-origin fallback flag.

cc @whatwg/media

@annevk annevk added topic: media topic: fetch interop Implementations are not interoperable with each other labels Jan 6, 2021
@annevk
Copy link
Member Author

annevk commented Jan 19, 2021

It seems we have some tests for this at https://wpt.fyi/results/html/semantics/embedded-content/media-elements/track/track-element/cors, but unfortunately they are not written in a way that makes them easy to understand.

@zcorpan how much work would it be to refactor these to be JSON + JS wrapper rather than using the <title> element as input?

@zcorpan
Copy link
Member

zcorpan commented Jan 21, 2021

@annevk I think it shouldn't be too much work, maybe a few days.

I wonder if it would make sense to have a reusable testing story for all things with CORS, like in web-platform-tests/wpt#25247

@annevk
Copy link
Member Author

annevk commented Apr 22, 2022

@youennf is taking another pass at aligning Safari with the specification: https://bugs.webkit.org/show_bug.cgi?id=239381.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interop Implementations are not interoperable with each other topic: fetch topic: media
Development

No branches or pull requests

2 participants