| Index: chrome/browser/extensions/app_process_apitest.cc
|
| diff --git a/chrome/browser/extensions/app_process_apitest.cc b/chrome/browser/extensions/app_process_apitest.cc
|
| index 18fadc76429bfe70591ad77c992084e235d808d1..adfa8b484b3fe17dc9b680890c8acf74169b9aab 100644
|
| --- a/chrome/browser/extensions/app_process_apitest.cc
|
| +++ b/chrome/browser/extensions/app_process_apitest.cc
|
| @@ -149,10 +149,7 @@ IN_PROC_BROWSER_TEST_F(AppApiTest, AppProcess) {
|
| WindowOpenHelper(browser(), host,
|
| base_url.Resolve("path2/empty.html"), true);
|
| LOG(INFO) << "WindowOpenHelper 2.";
|
| - // TODO(creis): This should open in a new process (i.e., false for the last
|
| - // argument), but we temporarily avoid swapping processes away from an app
|
| - // until we're able to support cross-process postMessage calls.
|
| - // See crbug.com/59285.
|
| + // This should open in a new process (i.e., false for the last argument).
|
| WindowOpenHelper(browser(), host,
|
| base_url.Resolve("path3/empty.html"), true);
|
| LOG(INFO) << "WindowOpenHelper 3.";
|
| @@ -165,10 +162,7 @@ IN_PROC_BROWSER_TEST_F(AppApiTest, AppProcess) {
|
| LOG(INFO) << "NavigateTabHelper 1.";
|
| NavigateTabHelper(browser()->GetTabContentsAt(3), app_url);
|
| LOG(INFO) << "NavigateTabHelper 2.";
|
| - // TODO(creis): This should swap out of the app's process (i.e., EXPECT_NE),
|
| - // but we temporarily avoid swapping away from an app in case the window
|
| - // tries to send a postMessage to the app. See crbug.com/59285.
|
| - EXPECT_EQ(host->process(),
|
| + EXPECT_NE(host->process(),
|
| browser()->GetTabContentsAt(2)->render_view_host()->process());
|
| EXPECT_EQ(host->process(),
|
| browser()->GetTabContentsAt(3)->render_view_host()->process());
|
|
|