mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
7cf3a0e3d2
--HG-- rename : browser/base/content/test/plugin_bug743421.html => browser/base/content/test/plugin_add_dynamically.html
18 lines
342 B
HTML
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>
|