Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: chrome/test/data/prerender/prerender_visibility_quick.html

Issue 15041004: Replace PruneAllButActive with PruneAllButVisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change to CHECK. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/prerender/prerender_visibility_quick.html
diff --git a/chrome/test/data/prerender/prerender_visibility_quick.html b/chrome/test/data/prerender/prerender_visibility_quick.html
deleted file mode 100644
index 144244a4a8a7304b4bedd929c4c750b5afe88828..0000000000000000000000000000000000000000
--- a/chrome/test/data/prerender/prerender_visibility_quick.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<html>
-<!--
-This test checks the visibility API when a prerendered page is displayed
-before the page has finished loading.
-
-TODO(mmenke): Currently, we get get extra events when a page is shown on
- Windows. Make this check for extra events once that's fixed.
--->
-<head>
-<title>Prerender Visibility Quick Switch</title>
-
-<script>
-// Checks that the the current state is visible. Due to expected races between
-// loading the page and switching to the tab, it's possible for the page to
-// start out with visibility 'prerender', 'hidden', or 'visible'.
-function DidDisplayPass() {
- return !document.webkitHidden &&
- 'visible' == document.webkitVisibilityState;
-}
-</script>
-
-</head>
-<body></body>
-</html>
-<html>
-<!--
-This test checks the visibility API when a prerendered page is displayed
-before the page has finished loading.
-
-TODO(mmenke): Currently, we get get extra events when a page is shown on
- Windows. Make this check for extra events once that's fixed.
--->
-<head>
-<title>Prerender Visibility Quick Switch</title>
-
-<script>
-// Checks that the the current state is visible. Due to expected races between
-// loading the page and switching to the tab, it's possible for the page to
-// start out with visibility 'prerender', 'hidden', or 'visible'.
-function DidDisplayPass() {
- return !document.webkitHidden &&
- 'visible' == document.webkitVisibilityState;
-}
-</script>
-
-</head>
-<body></body>
-</html>
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698