blob: 72195fbee675915f6dcccd5185c72792a70c1495 [file] [log] [blame]
<head>
<meta charset="utf-8">
<script>
function MyCallback() {
}
function test() {
try {
var plugin = window.frames["subframe"].document.plugins[0];
plugin.getURL('javascript:parent.document.getElementById("d").innerHTML = "";', '_self');
} catch (ex) {
alert(ex);
}
setTimeout(done, 10);
}
function done() {
testRunner.dumpAsText();
testRunner.notifyDone();
}
</script>
</head>
<body onload="testRunner.waitUntilDone(); setTimeout(test, 10)">
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=14437">bug 14437</a>:
RTÉ video crashes Safari.</p>
<p>Only works with DumpRenderTree.</p>
<div id='d'>
<iframe id='subframe' name='subframe' src='resources/plugin-remove-subframe-iframe.html'></iframe>
</div>
</body>