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

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2321503002: (Re-)introduce AncestorThrottle to handle 'X-Frame-Options'. (Closed)
Patch Set: Rebase after a month... Created 4 years, 2 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: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index 67ff7ca2eee5792ba26c4f2bac9b60a00a32501a..c991e245019f1e46cb8c984ed6b86e70547a4636 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -6814,7 +6814,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
// Ensure that we don't use the blocked URL as the blocked frame's last
// committed URL (see https://crbug.com/622385).
- EXPECT_NE(root->child_at(0)->current_frame_host()->GetLastCommittedURL(),
+ EXPECT_NE(root->child_at(0)->current_frame_host()->last_successful_url(),
blocked_urls[i]);
// The blocked frame should still fire a load event in its parent's process.
« no previous file with comments | « content/browser/loader/navigation_resource_throttle.cc ('k') | content/public/browser/navigation_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698