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

Unified Diff: chrome/test/data/instant.html

Issue 11233076: Fix spurious visibility events when committing Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebaseline Created 8 years, 2 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/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/instant.html
diff --git a/chrome/test/data/instant.html b/chrome/test/data/instant.html
index 792eab2acd2d53b6d689c049e5882ea19efb5ec4..c5f050e00e91642be2e25b7f2b1d6a4d988e0f08 100644
--- a/chrome/test/data/instant.html
+++ b/chrome/test/data/instant.html
@@ -1,5 +1,10 @@
<html><body><h1>Instant</h1><script>
+var onvisibilitycalls = 0;
+document.addEventListener("webkitvisibilitychange", function() {
+ onvisibilitycalls++;
+}, false);
+
var onchangecalls = 0;
var onsubmitcalls = 0;
var oncancelcalls = 0;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698