Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/text-track-crossorigin-expected.txt

Issue 2400433002: Check CORS policy on redirect in TextTrackLoader (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Text track from origin 'http://localhost:8000' has been blocked f rom loading: Not at same origin as the document, and parent of track element doe s not have a 'crossorigin' attribute. Origin 'http://127.0.0.1:8000' is therefor e not allowed access. 1 CONSOLE ERROR: Text track from origin 'http://localhost:8000' has been blocked f rom loading: Not at same origin as the document, and parent of track element doe s not have a 'crossorigin' attribute. Origin 'http://127.0.0.1:8000' is therefor e not allowed access.
2 CONSOLE ERROR: Access to Text track at 'http://localhost:8000/security/resources /captions-with-access-control-headers.php?count=0' from origin 'http://localhost :8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefor e not allowed access. 2 CONSOLE ERROR: Access to Text track at 'http://localhost:8000/security/resources /captions-with-access-control-headers.php?count=0' from origin 'http://localhost :8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefor e not allowed access.
3 CONSOLE ERROR: Text track from origin 'http://localhost:8000' has been blocked f rom loading: Not at same origin as the document, and parent of track element doe s not have a 'crossorigin' attribute. Origin 'http://127.0.0.1:8000' is therefor e not allowed access.
3 Tests loading cross-domain <track>. 4 Tests loading cross-domain <track>.
4 5
5 Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute o n <video> 6 Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute o n <video>
6 EVENT(error) 7 EVENT(error)
7 PASS: shouldLoad should be 'false' and is. 8 PASS: shouldLoad should be 'false' and is.
8 PASS: event.target should be '[object HTMLTrackElement]' and is. 9 PASS: event.target should be '[object HTMLTrackElement]' and is.
9 PASS: trackElement.readyState should be '3' and is. 10 PASS: trackElement.readyState should be '3' and is.
10 11
11 12
12 Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous" 13 Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous"
(...skipping 10 matching lines...) Expand all
23 PASS: trackElement.readyState should be '2' and is. 24 PASS: trackElement.readyState should be '2' and is.
24 25
25 26
26 Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials he aders, setting video.crossorigin to "use-credentials" 27 Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials he aders, setting video.crossorigin to "use-credentials"
27 EVENT(load) 28 EVENT(load)
28 PASS: shouldLoad should be 'true' and is. 29 PASS: shouldLoad should be 'true' and is.
29 PASS: event.target should be '[object HTMLTrackElement]' and is. 30 PASS: event.target should be '[object HTMLTrackElement]' and is.
30 PASS: trackElement.readyState should be '2' and is. 31 PASS: trackElement.readyState should be '2' and is.
31 32
32 33
34 Loading without Access-Control-Allow-Origin header, with a redirect, no "crossor igin" attribute on <video>
35 EVENT(error)
36 PASS: shouldLoad should be 'false' and is.
37 PASS: event.target should be '[object HTMLTrackElement]' and is.
38 PASS: trackElement.readyState should be '3' and is.
39
40
33 END OF TEST 41 END OF TEST
34 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698