diff --git a/dom/media/test/mochitest.ini b/dom/media/test/mochitest.ini index 6e1ded722605..78815e9140f1 100644 --- a/dom/media/test/mochitest.ini +++ b/dom/media/test/mochitest.ini @@ -1222,6 +1222,10 @@ tags = webvtt support-files = ../../canvas/test/crossorigin/video.sjs tags = webvtt +[test_testtrack_cors_no_response.html] +support-files = + ../../canvas/test/crossorigin/video.sjs +tags = webvtt [test_texttrackcue.html] skip-if = android_version == '17' || android_version == '22' # android(bug 1368010, bug 1372457) tags = webvtt diff --git a/dom/media/test/test_testtrack_cors_no_response.html b/dom/media/test/test_testtrack_cors_no_response.html new file mode 100644 index 000000000000..9c64759b9a3f --- /dev/null +++ b/dom/media/test/test_testtrack_cors_no_response.html @@ -0,0 +1,41 @@ + + + + Should not load CORS vtt file when server doesn't respond with correct CORS header + + + + + + + + +