commit-queue@webkit.org | b9011d5 | 2016-09-09 17:24:58 +0000 | [diff] [blame] | 1 | CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. |
vsevik@chromium.org | 0c3bdd9 | 2012-01-12 10:56:52 +0000 | [diff] [blame] | 2 | CONSOLE MESSAGE: Cross-origin text track load denied by Cross-Origin Resource Sharing policy. |
eric.carlson@apple.com | e3f1e6d | 2011-12-05 15:38:11 +0000 | [diff] [blame] | 3 | Tests loading cross-domain <track>. |
| 4 | |
cfleizach@apple.com | 825194c | 2013-11-06 14:15:42 +0000 | [diff] [blame] | 5 | |
eric.carlson@apple.com | e3f1e6d | 2011-12-05 15:38:11 +0000 | [diff] [blame] | 6 | Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute on <video> |
jer.noble@apple.com | 86030f5 | 2020-09-18 17:03:52 +0000 | [diff] [blame] | 7 | EVENT(load) |
| 8 | PASS: shouldLoad should be 'true' and is. |
eric.carlson@apple.com | e3f1e6d | 2011-12-05 15:38:11 +0000 | [diff] [blame] | 9 | PASS: event.target should be '[object HTMLTrackElement]' and is. |
jer.noble@apple.com | 86030f5 | 2020-09-18 17:03:52 +0000 | [diff] [blame] | 10 | PASS: trackElement.readyState should be '2' and is. |
eric.carlson@apple.com | e3f1e6d | 2011-12-05 15:38:11 +0000 | [diff] [blame] | 11 | |
| 12 | |
| 13 | Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous" |
| 14 | EVENT(error) |
| 15 | PASS: shouldLoad should be 'false' and is. |
| 16 | PASS: event.target should be '[object HTMLTrackElement]' and is. |
| 17 | PASS: trackElement.readyState should be '3' and is. |
| 18 | |
| 19 | |
| 20 | Loading with Access-Control-Allow-Origin header, leaving video.crossorigin as "anonymous" |
| 21 | EVENT(load) |
| 22 | PASS: shouldLoad should be 'true' and is. |
| 23 | PASS: event.target should be '[object HTMLTrackElement]' and is. |
| 24 | PASS: trackElement.readyState should be '2' and is. |
| 25 | |
| 26 | |
| 27 | Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials headers, setting video.crossorigin to "use-credentials" |
| 28 | EVENT(load) |
| 29 | PASS: shouldLoad should be 'true' and is. |
| 30 | PASS: event.target should be '[object HTMLTrackElement]' and is. |
| 31 | PASS: trackElement.readyState should be '2' and is. |
| 32 | |
| 33 | |
eric.carlson@apple.com | e3f1e6d | 2011-12-05 15:38:11 +0000 | [diff] [blame] | 34 | END OF TEST |
| 35 | |