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

Unified Diff: chrome/test/ui/npapi_uitest.cc

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
Index: chrome/test/ui/npapi_uitest.cc
===================================================================
--- chrome/test/ui/npapi_uitest.cc (revision 33607)
+++ chrome/test/ui/npapi_uitest.cc (working copy)
@@ -407,3 +407,18 @@
kTestCompleteCookie, kTestCompleteSuccess,
kShortWaitTimeout);
}
+
+TEST_F(NPAPIVisiblePluginTester, PluginReferrerTest) {
+ if (UITest::in_process_renderer())
+ return;
+
+ GURL url(URLRequestMockHTTPJob::GetMockUrl(
+ FilePath(FILE_PATH_LITERAL(
+ "npapi/plugin_url_request_referrer_test.html"))));
+
+ NavigateToURL(url);
+
+ WaitForFinish("plugin_referrer_test", "1", url, kTestCompleteCookie,
+ kTestCompleteSuccess, kShortWaitTimeout);
+}
+
« no previous file with comments | « chrome/test/data/npapi/plugin_url_request_referrer_test.html ('k') | webkit/glue/plugins/test/plugin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698