gecko/browser/base/content/test/plugin_add_dynamically.html
David Keeler 3f2b1badb9 bug 809846 - CTP: activate dynamically added plugins of the same type when using popup notification r=jaws
--HG--
rename : browser/base/content/test/plugin_bug743421.html => browser/base/content/test/plugin_add_dynamically.html
2013-01-11 16:25:02 -08:00

18 lines
342 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<script>
function addPlugin(type="application/x-test") {
var embed = document.createElement("embed");
embed.style.width = "200px";
embed.style.height = "200px";
embed.setAttribute("type", type);
return document.body.appendChild(embed);
}
</script>
</body>
</html>