Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / unsupported-rtsp.html
blobbea9820b4eb309653493863b7622bf1f13e79099
2 <video controls></video>
4 <p>Test that QuickTime file with RTSP URL generates a load error.<p>
6 <script src=video-test.js></script>
7 <script>
8 video.src = "rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/wwdc_2006_2_650.mov";
9 waitForEvent("error", function () {
10 testExpected("video.error", null, "!=");
11 testExpected("video.error.code", MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED);
12 testExpected("video.networkState", HTMLMediaElement.NETWORK_NO_SOURCE);
13 endTest();
14 });
15 </script>