| OLD | NEW |
| 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://127.0.0.1
: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 Loading... |
| 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 |
| OLD | NEW |