summaryrefslogtreecommitdiffstats
path: root/content/test/data/npapi/get_javascript_url2_frame.html
blob: dacf9c39fcf106e3980b2dd10372841783d1c1a8 (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
25
26
<html>
<head>
<script>
function onSuccess(name, id) {
  parent.document.title = "OK";
}
</script>
</head>
<body>
<div id="statusPanel" style="border: 1px solid red; width: 100%">
Test running....
</div>

GetJavscriptURL2 Test<p>
This test fetches a javascript URL via the plugin with _self as the
target frame, and verifies that the call succeeds.  The plugin runs
within a subframe.

<embed type="application/vnd.npapi-test"
  src="foo"
  name="getjavascripturl2"
  id="1"
  mode="np_embed"
>
</body>
</html>