Bug 239381

Summary: TextTrackLoader should use SameOrigin mode by default
Product: WebKit Reporter: youenn fablet <youennf>
Component: MediaAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, eric.carlson, ews-watchlist, glenn, japhet, jer.noble, mkwst, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
WIP
none
Patch
none
Patch none

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].