blob: 4e7dea957c8cacc0907285f3f44aa5953a1cd042 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/plugin.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function testPluginRemovedItself()
{
document.body.appendChild(document.createTextNode(document.getElementById("plugin") ? "FAIL" : "PASS"));
}
runAfterPluginLoad(testPluginRemovedItself, NotifyDone);
</script>
<meta http-equiv="Content-Security-Policy" content="object-src *">
</head>
<body>
<embed id="plugin" type="application/x-webkit-test-netscape" cleardocumentduringnew>
</body>
</html>