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

Unified Diff: content/renderer/render_frame_proxy.cc

Issue 2653043002: Fix Feature Policy header replication in site-isolation. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/FlagExpectations/site-per-process » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_proxy.cc
diff --git a/content/renderer/render_frame_proxy.cc b/content/renderer/render_frame_proxy.cc
index efae9632dd70c718c1a2d370be5fad761b2f76dd..58b783ad033c1b635f6a36a4456dfbde44a15c1e 100644
--- a/content/renderer/render_frame_proxy.cc
+++ b/content/renderer/render_frame_proxy.cc
@@ -60,6 +60,7 @@ blink::WebParsedFeaturePolicy ToWebParsedFeaturePolicy(
std::vector<blink::WebSecurityOrigin> web_origins;
for (const url::Origin& origin : whitelist.origins)
web_origins.push_back(origin);
+ web_whitelist.origins = web_origins;
result.push_back(web_whitelist);
}
return result;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/FlagExpectations/site-per-process » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698