Closed Bug 1505726 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13980 - [media] Treat cross-origin redirect as TAINTED only for no-cors requests

Categories

(Core :: Web Audio, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13980 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13980 Details from upstream follow. Yutaka Hirano <yhirano@chromium.org> wrote: > [media] Treat cross-origin redirect as TAINTED only for no-cors requests > > With https://crrev.com/a9cbaa7a40e2b2723cfc2f266c42f4980038a949, > WebMediaPlayer blindly treats a resource experiencing cross-origin > redirects as TAINTED. In fact, it should be treated as TAINTED only > when its request mode is "no-cors". > > The added tests are provided by hongchan@chromium.org. > > Bug: 899745, 901383 > Change-Id: Idb66407552085b053818f3e4a9d8d5ff3ddeaf45 > > Reviewed-on: https://chromium-review.googlesource.com/1325281 > WPT-Export-Revision: d8e6a535e79c308cc00ba3961546eaf4a35db8f7
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 2 tests and 2 subtests OK : 2 FAIL : 2 New tests that have failures or other problems: /webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https.html Test if MediaElementAudioSourceNode works for cross-origin redirects with "cors" request mode. : FAIL /webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https.html Test if MediaElementAudioSourceNode works for cross-origin redirects with "no-cors" request mode. : FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c997d674c8e7 [wpt PR 13980] - [media] Treat cross-origin redirect as TAINTED only for no-cors requests, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/c77bc1a69b2f [wpt PR 13980] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.