4 <script type='text/javascript'
>
5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
12 <a id=
"blob-url">Blob URL
</a>
16 if (!window
.eventSender
) {
17 alert('Click the link to run the test.');
20 eventSender
.mouseMoveTo(elmt
.offsetLeft
+ 5, elmt
.offsetTop
+ 5);
21 eventSender
.mouseDown();
22 eventSender
.mouseUp();
27 var string
= "<!doctype html><html><head><title>Title</title><script>if (window.testRunner) testRunner.dumpAsText(); </" + "script></head><body>PASS</body><script>if (window.testRunner) testRunner.notifyDone();</scr" + "ipt></html>";
28 var blob
= new Blob([string
], {type
: "text/html"});
29 var link
= document
.getElementById("blob-url");
30 link
.href
= window
.URL
.createObjectURL(blob
);