Bug 239381 - TextTrackLoader should use SameOrigin mode by default
Summary: TextTrackLoader should use SameOrigin mode by default
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-15 03:32 PDT by youenn fablet
Modified: 2022-04-24 23:03 PDT (History)
10 users (show)

See Also:


Attachments
Patch (4.22 KB, patch)
2022-04-15 03:34 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
WIP (9.99 KB, patch)
2022-04-15 05:58 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (19.79 KB, patch)
2022-04-22 05:53 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (19.21 KB, patch)
2022-04-22 07:06 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2022-04-15 03:32:49 PDT
As per https://html.spec.whatwg.org/multipage/media.html#start-the-track-processing-model, the request should be same origin as fallback:
Let request be the result of creating a potential-CORS request given URL, "track", and corsAttributeState, and with the same-origin fallback flag set.
Comment 1 youenn fablet 2022-04-15 03:34:54 PDT
Created attachment 457690 [details]
Patch
Comment 2 youenn fablet 2022-04-15 05:58:52 PDT
Created attachment 457697 [details]
WIP
Comment 3 youenn fablet 2022-04-22 05:53:20 PDT
Created attachment 458138 [details]
Patch
Comment 4 youenn fablet 2022-04-22 07:06:14 PDT
Created attachment 458142 [details]
Patch
Comment 5 Eric Carlson 2022-04-22 08:53:03 PDT
Comment on attachment 458142 [details]
Patch

r=me once the bots are happy
Comment 6 Radar WebKit Bug Importer 2022-04-22 11:39:42 PDT
<rdar://problem/92179016>
Comment 7 EWS 2022-04-24 23:03:49 PDT
Committed r293311 (249934@main): <https://commits.webkit.org/249934@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 458142 [details].