Closed Bug 1487285 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12752 - Remove ad-hoc CORS logic from TextTrackLoader

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12752 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12752
Details from upstream follow.

Yutaka Hirano <yhirano@chromium.org> wrote:
>  Remove ad-hoc CORS logic from TextTrackLoader
>  
>  As specified, it should use "same-origin" request mode rather than
>  having ad-hoc CORS logic in TextTrackLoader.
>  
>  Now a response from service worker with type "cors" is rejected. The
>  new behavior is actually more spec compliant (and matching with
>  Firfox), so fix the corresponding web platform test.
>  
>  Bug: 875153
>  Change-Id: Ib39ed9684528d734c9ca3d40eb8f6890c77af986
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1195446
>  WPT-Export-Revision: 098666f93e7d0765267ebadba2cb2d07aef88255
Ran 1 tests and 10 subtests
OK     : 1
PASS   : 10
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/11c437b1b8f1
[wpt PR 12752] - Remove ad-hoc CORS logic from TextTrackLoader, a=testonly
https://hg.mozilla.org/mozilla-central/rev/11c437b1b8f1
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.