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

Unified Diff: ios/web/web_state/js/resources/core.js

Issue 2692803004: Refactor callbacks for opening a new window. (Closed)
Patch Set: Addressed review comment Created 3 years, 10 months 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: ios/web/web_state/js/resources/core.js
diff --git a/ios/web/web_state/js/resources/core.js b/ios/web/web_state/js/resources/core.js
index d383609286b1f98658b18a75051996653552ea37..f1a302f2be7fea56efd2a4f13cfcbfab761cd92f 100644
--- a/ios/web/web_state/js/resources/core.js
+++ b/ios/web/web_state/js/resources/core.js
@@ -363,12 +363,6 @@ goog.require('__crWeb.message');
return 'default';
};
- // Provides a way for other injected javascript to access the page's referrer
- // policy.
- __gCrWeb['getPageReferrerPolicy'] = function() {
- return getReferrerPolicy_();
- };
-
// Various aspects of global DOM behavior are overridden here.
// A popstate event needs to be fired anytime the active history entry

Powered by Google App Engine
This is Rietveld 408576698