Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(907)

Unified Diff: chrome/test/data/npapi/plugin_ref_target_page.html

Issue 459003: Don't set referrers on outgoing plugin requests if the load_manually flag is ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/npapi/plugin_ref_target_page.html.mock-http-headers » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/npapi/plugin_ref_target_page.html
===================================================================
--- chrome/test/data/npapi/plugin_ref_target_page.html (revision 0)
+++ chrome/test/data/npapi/plugin_ref_target_page.html (revision 0)
@@ -0,0 +1,19 @@
+<html>
+<head><title>Target page for validating referrers in URL requests issued by <br />
+plugins
+</title>
+
+<script src="npapi.js"></script>
+
+<script>
+function onLoad() {
+ if (document.referrer == "http://mock.http/dummy_plugin_referrer")
+ onSuccess("plugin_referrer_test", 1);
+ else
+ onFailure("plugin_referrer_test", 1, "Unexpected referrer value");
+}
+</script>
+</head>
+
+<body onload="onLoad()">Plugin referrer test page.</body>
+</html>
Property changes on: chrome\test\data\npapi\plugin_ref_target_page.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/test/data/npapi/plugin_ref_target_page.html.mock-http-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698