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 0789c6ef7b9be3d021cbb5e68db5e82401b8a745..e7e659a12965b3663b2201c3abd4e01dc2f1389f 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()); |