9.16content-security-policy/media-src/
11 / 29 WPT subtests passing
- Failed
- 7
- Timed out
- 3
- Not run
- 8
- Test files
- 10
- Blocking files
- 0
Chrome 29 / 29 WPT subtests passing on the same files, none blocking
Tests
10 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
media-src-7_1.html 0 / 3 passingChrome 3 / 32 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
the in-policy WebM loads but the default platform cannot decode it, so the element fires error where the test waits for loadeddata
- Media
- /media/A4.webm (video/webm)
- Failing assertion
- assert_unreached: Media error handler should be triggered for non-allowed domain. Reached unreachable code (subtests 1-2; subtest 3 NOTRUN)
/content-security-policy/media-src/media-src-7_1.html TIMEOUT 0 / 3
- ¶
FAILIn-policy async video src
assert_unreached: Media error handler should be triggered for non-allowed domain. Reached unreachable code
- ¶
FAILIn-policy async video source element
assert_unreached: Media error handler should be triggered for non-allowed domain. Reached unreachable code
- NOT RUNShould not fire policy violation events¶
media-src-7_1_2.sub.html 2 / 3 passingChrome 3 / 30 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
the <source type="video/webm"> is skipped by resource selection before it is fetched (canPlayType answers ""), so only the src= video reaches media-src's check and one of the two expected violations fires (both element subtests pass)
- Media
- /media/A4.webm (video/webm)
- Failing assertion
- TIMEOUT: Test that securitypolicyviolation events are fired - Test timed out (2/3 pass)
/content-security-policy/media-src/media-src-7_1_2.sub.html TIMEOUT 2 / 3
- ¶
TIMEOUTTest that securitypolicyviolation events are fired
Test timed out
2 passing subtests
- Disallowed async video src
- Disallowed async video source element
media-src-7_2.html 0 / 3 passingChrome 3 / 32 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
the in-policy Ogg audio loads but the default platform cannot decode it, so the element fires error where the test waits for loadeddata
- Media
- /media/sound_5.oga (audio/ogg)
- Failing assertion
- assert_unreached: Media error handler should be triggered for non-allowed domain. Reached unreachable code (subtests 1-2; subtest 3 NOTRUN)
/content-security-policy/media-src/media-src-7_2.html TIMEOUT 0 / 3
- ¶
FAILIn-policy audio src
assert_unreached: Media error handler should be triggered for non-allowed domain. Reached unreachable code
- ¶
FAILIn-policy audio source element
assert_unreached: Media error handler should be triggered for non-allowed domain. Reached unreachable code
- NOT RUNShould not fire policy violation events¶
media-src-7_2_2.sub.html 2 / 3 passingChrome 3 / 30 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
the <source> typed audio/webm is skipped by resource selection before it is fetched (canPlayType answers ""), so one of the two expected violations fires (both element subtests pass)
- Media
- /media/sound_5.oga (a <source> typed audio/webm)
- Failing assertion
- TIMEOUT: Test that securitypolicyviolation events are fired - Test timed out (2/3 pass)
/content-security-policy/media-src/media-src-7_2_2.sub.html TIMEOUT 2 / 3
- ¶
TIMEOUTTest that securitypolicyviolation events are fired
Test timed out
2 passing subtests
- Disallaowed audio src
- Disallowed audio source element
media-src-7_3.sub.html 0 / 2 passingChrome 2 / 20 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
the video's only source is A4.webm, skipped because the default platform cannot decode WebM, so loadeddata never fires and the in-policy track test never runs
- Media
- /media/A4.webm (video/webm)
- Failing assertion
- harness TIMEOUT: In-policy track element and Should not fire policy violation events NOTRUN
media-src-7_3_2.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Disallowed track element onerror handler fires.
- Test that securitypolicyviolation events are fired
media-src-blocked-blob-url.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Video with blob: URL blocked when blob: not in media-src
- Audio with blob: URL blocked when blob: not in media-src
media-src-blocked-data-url.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Video with data: URL blocked by media-src 'self'
- Audio with data: URL blocked by media-src 'self'
media-src-blocked.sub.html 1 / 4 passingChrome 4 / 40 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
subtest 2's <source type="video/webm"> is skipped by resource selection before any fetch, so media-src 'none' never sees it and the awaited violation never comes; subtests 3-4 are NOTRUN behind it (4's <source> typed audio/webm would be skipped the same way; subtest 1 passes)
- Media
- /media/A4.webm (video/webm) and /media/sound_5.oga (a <source> typed audio/webm)
- Failing assertion
- TIMEOUT: Disallowed async video source element - Test timed out (1/4 pass)
media-src-redir-bug.sub.html 0 / 5 passingChrome 5 / 53 failedExempt
Exempt from the 0.1 gate until a decoder plays its media
the in-policy WebM, direct and through a redirect, loads but the default platform cannot decode it, so the element fires error where the test waits for loadeddata
- Media
- /media/A4.webm (video/webm)
- Failing assertion
- assert_unreached: Media error handler shouldn't be triggered for allowed domain. Reached unreachable code (subtests 1-3; 4-5 NOTRUN)
/content-security-policy/media-src/media-src-redir-bug.sub.html TIMEOUT 0 / 5
- ¶
FAILIn-policy async video src
assert_unreached: Media error handler shouldn't be triggered for allowed domain. Reached unreachable code
- ¶
FAILin-policy async video src w/redir
assert_unreached: Media error handler shouldn't be triggered for allowed domain. Reached unreachable code
- ¶
FAILIn-policy async video source element
assert_unreached: Media error handler shouldn't be triggered for allowed domain. Reached unreachable code
- NOT RUNIn-policy async video source element w/redir¶
- NOT RUNShould not fire policy violation events¶