mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
3f2b1badb9
--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>
|