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

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

Issue 12319108: Prevent querying of restricted query values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove query_state_ from SearchBox. Created 7 years, 10 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/renderer/searchbox/searchbox_extension.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_extended.html
diff --git a/chrome/test/data/instant_extended.html b/chrome/test/data/instant_extended.html
index 1e9ce07993133cb8d7c20ffc2dc02e3ae905d7b5..6f2f163e26ba44910cdcea4f95ecc496006f9c09 100644
--- a/chrome/test/data/instant_extended.html
+++ b/chrome/test/data/instant_extended.html
@@ -32,6 +32,10 @@ function getNewTabPageHandle() {
}
function handleNativeSuggestions() {
+ // Apparently, one needs to access nativeSuggestions before
+ // apiHandle.setRestrictedValue can work.
Jered 2013/03/05 17:47:44 Can you explain a bit more? We should document or
robertshield 2013/03/05 18:19:04 apiHandle.setRestrictedValue ends up in SearchBoxE
+ var foo = apiHandle.nativeSuggestions;
+
// Showing the loader at 100% height.
apiHandle.show(2 /* QUERY_SUGGESTIONS */);
}
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698