| 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 fd7b06066def8d215a8ee825679436146f3f6ce3..0679637edbe617b0447a2c6f2f37433210b30e4c 100644
|
| --- a/content/browser/site_per_process_browsertest.cc
|
| +++ b/content/browser/site_per_process_browsertest.cc
|
| @@ -6301,6 +6301,11 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
|
| // The blocked frame's origin should become unique.
|
| EXPECT_EQ("null", root->child_at(0)->current_origin().Serialize());
|
|
|
| + // 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(),
|
| + blocked_urls[i]);
|
| +
|
| // The blocked frame should still fire a load event in its parent's process.
|
| EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
|
|
|
|