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

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

Issue 5697003: Fixes bug in instant where we wouldn't initially tell the page the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update test for new API Created 10 years 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/instant/instant_loader.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/old_api.html
diff --git a/chrome/test/data/instant/old_api.html b/chrome/test/data/instant/old_api.html
new file mode 100644
index 0000000000000000000000000000000000000000..7f3d0067d94105dd9315530bcf8d5d174f7d1a65
--- /dev/null
+++ b/chrome/test/data/instant/old_api.html
@@ -0,0 +1,18 @@
+<html>
+<body>
+<script>
+window.chrome.sv = true;
+
+window.validHeight = false;
+
+window.chrome.userInput = function(value, verbatim, ignored) {
+ window.chrome.setSuggestResult(value);
+};
+
+window.chrome.setDropdownDimensions = function(x, y, w, h) {
+ window.validHeight = (h > 0);
+};
+
+</script>
+</body>
+</html>
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698