blob: fc7a354d463c66d731e12f2f63a24b39fae6da1d [file] [log] [blame]
<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>