| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 | |
| 3 <head> | |
| 4 <script src="npapi.js"></script> | |
| 5 </head> | |
| 6 | |
| 7 | |
| 8 <body> | |
| 9 <div id="statusPanel" style="border: 1px solid red; width: 100%"> | |
| 10 Test running.... | |
| 11 </div> | |
| 12 | |
| 13 | |
| 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. | |
| 17 | |
| 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> | |
| OLD | NEW |