Chromium Code Reviews| Index: content/browser/wake_lock/wake_lock_browsertest.cc |
| diff --git a/content/browser/wake_lock/wake_lock_browsertest.cc b/content/browser/wake_lock/wake_lock_browsertest.cc |
| index 59e3ab71e1c0e168d3a7543725beafdf5517eee5..275b5e269bed9dec68d0dc6027190b62e4118a85 100644 |
| --- a/content/browser/wake_lock/wake_lock_browsertest.cc |
| +++ b/content/browser/wake_lock/wake_lock_browsertest.cc |
| @@ -261,17 +261,6 @@ IN_PROC_BROWSER_TEST_F(WakeLockTest, KeepLockAfterInPageNavigation) { |
| EXPECT_TRUE(HasWakeLock()); |
| } |
| -IN_PROC_BROWSER_TEST_F(WakeLockTest, UnlockAfterReload) { |
|
haraken
2016/07/06 08:27:39
This test is testing if the wake lock is gone afte
dcheng
2016/07/06 08:34:42
Hmm, isn't this still a useful thing to test? It's
haraken
2016/07/06 08:51:23
Reload + WaitForLoadStop doesn't detach a document
alogvinov
2016/07/06 08:58:58
Is the problem that we are waiting for the wrong e
dcheng
2016/07/06 09:04:12
Assuming this is doing a "real" reload, the docume
haraken
2016/07/06 09:14:35
shell()->Reload();
fprintf(stderr, "%d\n", shell()
|
| - NavigateToURL(shell(), embedded_test_server()->GetURL("/simple_page.html")); |
| - ScreenWakeLockInMainFrame(); |
| - |
| - shell()->Reload(); |
| - WaitForLoadStop(GetWebContents()); |
| - |
| - // Screen wake lock should be released after reload. |
| - EXPECT_FALSE(HasWakeLock()); |
| -} |
| - |
| IN_PROC_BROWSER_TEST_F(WakeLockTest, BrowserInitiatedFrameNavigation) { |
| NavigateToURL(shell(), |
| embedded_test_server()->GetURL("/frame_tree/2-4.html")); |