<script>
if (window.testRunner)
testRunner.dumpAsText()
var docElement = document.documentElement;
function init()
{
embedElement = document.createElement("embed");
newDoc = document.implementation.createDocument("http://www.w3.org/2000/svg", null);
newDoc.adoptNode(embedElement);
embedElement.setAttribute("type", "application/x-webkit-test-webplugin");
}
document.addEventListener("DOMContentLoaded", init, false);
</script>
Test added to address crash: http://crbug.com/360391<p>
This test tests to see if renderless plugin creation is possible;
previously it would have crashed due to the lack of a frame().