<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>
