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

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

Issue 1196423003: Improve console log message for CORS failure (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Created 4 years, 4 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: Text track from origin 'http://localhost:8000' has been blocked f rom loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Or igin' header is present on the requested resource. Origin 'http://127.0.0.1:8000 ' is therefore 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 Tests loading cross-domain <track>. 3 Tests loading cross-domain <track>.
4 4
5 Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute o n <video> 5 Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute o n <video>
6 EVENT(error) 6 EVENT(error)
7 PASS: shouldLoad should be 'false' and is. 7 PASS: shouldLoad should be 'false' and is.
8 PASS: event.target should be '[object HTMLTrackElement]' and is. 8 PASS: event.target should be '[object HTMLTrackElement]' and is.
9 PASS: trackElement.readyState should be '3' and is. 9 PASS: trackElement.readyState should be '3' and is.
10 10
11 11
12 Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous" 12 Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous"
(...skipping 12 matching lines...) Expand all
25 25
26 Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials he aders, setting video.crossorigin to "use-credentials" 26 Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials he aders, setting video.crossorigin to "use-credentials"
27 EVENT(load) 27 EVENT(load)
28 PASS: shouldLoad should be 'true' and is. 28 PASS: shouldLoad should be 'true' and is.
29 PASS: event.target should be '[object HTMLTrackElement]' and is. 29 PASS: event.target should be '[object HTMLTrackElement]' and is.
30 PASS: trackElement.readyState should be '2' and is. 30 PASS: trackElement.readyState should be '2' and is.
31 31
32 32
33 END OF TEST 33 END OF TEST
34 34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698