Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / security / text-track-crossorigin-expected.txt
blobfb8991e7f2c374de06d2e9aebef6367ab55af9b5
1 CONSOLE ERROR: Text track from origin 'http://localhost:8000' has been blocked from loading: Not at same origin as the document, and parent of track element does not have a 'crossorigin' attribute. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
2 CONSOLE ERROR: Text track from origin 'http://localhost:8000' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
3 Tests loading cross-domain <track>.
5 Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute on <video>
6 EVENT(error)
7 PASS: shouldLoad should be 'false' and is.
8 PASS: event.target should be '[object HTMLTrackElement]' and is.
9 PASS: trackElement.readyState should be '3' and is.
12 Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous"
13 EVENT(error)
14 PASS: shouldLoad should be 'false' and is.
15 PASS: event.target should be '[object HTMLTrackElement]' and is.
16 PASS: trackElement.readyState should be '3' and is.
19 Loading with Access-Control-Allow-Origin header, leaving video.crossorigin as "anonymous"
20 EVENT(load)
21 PASS: shouldLoad should be 'true' and is.
22 PASS: event.target should be '[object HTMLTrackElement]' and is.
23 PASS: trackElement.readyState should be '2' and is.
26 Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials headers, setting video.crossorigin to "use-credentials"
27 EVENT(load)
28 PASS: shouldLoad should be 'true' and is.
29 PASS: event.target should be '[object HTMLTrackElement]' and is.
30 PASS: trackElement.readyState should be '2' and is.
33 END OF TEST