Index: ppapi/tests/test_view.cc |
=================================================================== |
--- ppapi/tests/test_view.cc (revision 126008) |
+++ ppapi/tests/test_view.cc (working copy) |
@@ -93,9 +93,8 @@ |
ASSERT_FALSE(page_visibility_log_.empty()); |
ASSERT_TRUE(page_visibility_log_[0]); |
- // Now that we're alive, set a cookie so the UI test knows it can change our |
- // visibility. |
- instance_->SetCookie("TestPageHideShow:Created", "TRUE"); |
+ // Now that we're alive, tell the test knows it can change our visibility. |
+ instance_->ReportProgress("TestPageHideShow:Created"); |
// Wait until we get a hide event, being careful to handle spurious |
// notifications of ViewChanged. |
@@ -116,8 +115,8 @@ |
"tab, waiting 2 more secs, and closing the new tab."; |
} |
- // Set a cookie so the UI test knows it can show us again. |
- instance_->SetCookie("TestPageHideShow:Hidden", "TRUE"); |
+ // Tell the test so it can show us again. |
+ instance_->ReportProgress("TestPageHideShow:Hidden"); |
// Wait until we get a show event. |
begin_time = pp::Module::Get()->core()->GetTime(); |