blob: fc7a354d463c66d731e12f2f63a24b39fae6da1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<body>
<p>Test that loading a javascript URL works correctly.</p>
<embed type="application/x-webkit-test-netscape" id="testPlugin" onURLNotify="done()">
<div id="result">Testing...</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function done()
{
document.getElementById("result").innerHTML = "PASS, no assertion failure.";
if (window.testRunner)
testRunner.notifyDone();
}
var testPlugin = document.getElementById('testPlugin');
testPlugin.getURLNotify("javascript:12345", null, "callback");
</script>
</body>
|