summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/load_all_blocked_plugins.html
blob: 8ae05db69cb81b0d44bf7c76016d92e9de761db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<script>
var count = 0;
function PluginCreated() {
  count++;
  document.title = count.toString();
}

var id = 1;
function inject() {
  var child = document.createElement("div");
  child.innerHTML = '<embed type="application/vnd.npapi-test" src="foo" '+
                           'name="invoke_js_function_on_create" ' +
                           'id="' + id + '" mode="np_embed">';
  document.getElementById("content").appendChild(child);
  id++;
}
</script>
</head>
<body onload="inject();">
<div id="content"></div>
</body>
</html>