blob: 93226c6fab2d481d811d32725a4360fd9aa1c27f [file] [log] [blame]
commit-queue@webkit.orgb9011d52016-09-09 17:24:58 +00001CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
vsevik@chromium.org0c3bdd92012-01-12 10:56:52 +00002CONSOLE MESSAGE: Cross-origin text track load denied by Cross-Origin Resource Sharing policy.
eric.carlson@apple.come3f1e6d2011-12-05 15:38:11 +00003Tests loading cross-domain <track>.
4
cfleizach@apple.com825194c2013-11-06 14:15:42 +00005
eric.carlson@apple.come3f1e6d2011-12-05 15:38:11 +00006Loading without Access-Control-Allow-Origin header, no "crossorigin" attribute on <video>
jer.noble@apple.com86030f52020-09-18 17:03:52 +00007EVENT(load)
8PASS: shouldLoad should be 'true' and is.
eric.carlson@apple.come3f1e6d2011-12-05 15:38:11 +00009PASS: event.target should be '[object HTMLTrackElement]' and is.
jer.noble@apple.com86030f52020-09-18 17:03:52 +000010PASS: trackElement.readyState should be '2' and is.
eric.carlson@apple.come3f1e6d2011-12-05 15:38:11 +000011
12
13Loading without Access-Control-Allow-Origin header, setting video.crossorigin to "anonymous"
14EVENT(error)
15PASS: shouldLoad should be 'false' and is.
16PASS: event.target should be '[object HTMLTrackElement]' and is.
17PASS: trackElement.readyState should be '3' and is.
18
19
20Loading with Access-Control-Allow-Origin header, leaving video.crossorigin as "anonymous"
21EVENT(load)
22PASS: shouldLoad should be 'true' and is.
23PASS: event.target should be '[object HTMLTrackElement]' and is.
24PASS: trackElement.readyState should be '2' and is.
25
26
27Loading with Access-Control-Allow-Origin and Access-Control-Allow-Credentials headers, setting video.crossorigin to "use-credentials"
28EVENT(load)
29PASS: shouldLoad should be 'true' and is.
30PASS: event.target should be '[object HTMLTrackElement]' and is.
31PASS: trackElement.readyState should be '2' and is.
32
33
eric.carlson@apple.come3f1e6d2011-12-05 15:38:11 +000034END OF TEST
35