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

Unified Diff: LayoutTests/fast/events/page-visibility-transition-test.html

Issue 7065057: Merge 87802 - 2011-06-01 Shishir Agrawal <shishir@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 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
Index: LayoutTests/fast/events/page-visibility-transition-test.html
===================================================================
--- LayoutTests/fast/events/page-visibility-transition-test.html (revision 88002)
+++ LayoutTests/fast/events/page-visibility-transition-test.html (working copy)
@@ -24,12 +24,12 @@
function checkIsPageVisible() {
shouldBeEqualToString("document.webkitVisibilityState", "visible");
- shouldBeTrue("document.webkitIsVisible");
+ shouldBeFalse("document.webkitHidden");
}
function checkIsPageHidden() {
shouldBeEqualToString("document.webkitVisibilityState", "hidden");
- shouldBeFalse("document.webkitIsVisible");
+ shouldBeTrue("document.webkitHidden");
}
// We will try to change the visibility states as:
@@ -41,7 +41,7 @@
function startTest() {
document.addEventListener(
- "webkitvisibilitystatechange", onVisibilityChange, false);
+ "webkitvisibilitychange", onVisibilityChange, false);
checkIsPageVisible();
numVisibilityChanges++;
makePageHidden();

Powered by Google App Engine
This is Rietveld 408576698