Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / test / data / npapi / plugin_url_request_referrer_test.html
blob87e51fcfbad8cf6fdfc6c6c6ea6c77b66a575465
1 <html>
3 <head>
4 <script src="npapi.js"></script>
5 </head>
8 <body>
9 <div id="statusPanel" style="border: 1px solid red; width: 100%">
10 Test running....
11 </div>
14 Plugin URL request referrer test<p>
15 This test verifies that the HTTP referrer value is set correctly in HTTP<br>
16 requests issued by plugins.
18 <embed type="application/vnd.npapi-test"
19 ref_target="http://mock.http/npapi/plugin_ref_target_page.html"
20 name="plugin_referrer_test"
21 id="1"
22 mode="np_embed"
23 src="http://mock.http/dummy_plugin_referrer"
24 ></embed>
25 <script>
26 // Load the plugin immediately.
27 document.querySelector('embed').nonExistentAttribute;
28 </script>
29 </body>
30 </html>