5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.dumpPermissionClientCallbacks();
8 testRunner
.waitUntilDone();
13 document
.getElementById("results").innerHTML
+= a
+ "<br>";
17 if (window
.testRunner
)
18 testRunner
.notifyDone();
23 var video
= document
.querySelector("video");
25 log("PASS: video loaded");
27 log("FAIL: video not loaded");
33 log("FAIL: video loading error");
40 This test checks that all URLs in a redirect chain are passed to the
43 <video src=
"http://127.0.0.1:8000/permissionclient/resources/redir.php?url=http://127.0.0.1:8000/media/resources/test.ogv" onerror=
"error()" onloadeddata=
"loaded()">
45 <div id=
"results"></div>