Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
| 2 <head><title>Target page for validating referrers in URL requests issued by <br /> | |
| 3 plugins | |
| 4 </title> | |
| 5 | |
| 6 <script src="npapi.js"></script> | |
| 7 | |
| 8 <script> | |
| 9 function onLoad() { | |
| 10 if (document.referrer == "http://mock.http/dummy_plugin_referrer") | |
| 11 onSuccess("plugin_referrer_test", 1); | |
| 12 else | |
| 13 onFailure("plugin_referrer_test", 1, "Unexpected referrer value"); | |
| 14 } | |
| 15 </script> | |
| 16 </head> | |
| 17 | |
| 18 <body onload="onLoad()">Plugin referrer test page.</body> | |
| 19 </html> | |
| OLD | NEW |