| 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 80c95ff99ac5d34d5842621b0052d0d123cde54d..69e6bb00ee4389af6034528c904326d3063d676f 100644
|
| --- a/content/browser/site_per_process_browsertest.cc
|
| +++ b/content/browser/site_per_process_browsertest.cc
|
| @@ -3769,9 +3769,9 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, OriginUpdatesReachProxies) {
|
|
|
| // frames[1] can't be used due to a bug where RemoteFrames are created out of
|
| // order (https://crbug.com/478792). Instead, target second frame by name.
|
| - EXPECT_TRUE(ExecuteScript(
|
| - root->child_at(0),
|
| - "parent.frames['frame2'].location.href = 'data:text/html,foo'"));
|
| + EXPECT_TRUE(ExecuteScript(root->child_at(0),
|
| + "try { parent.frames['frame2'].location.href = "
|
| + "'data:text/html,foo'; } catch (e) {}"));
|
| console_delegate->Wait();
|
|
|
| std::string frame_origin = root->child_at(1)->current_origin().Serialize();
|
|
|