| Index: chrome/test/data/instant_extended.html
|
| diff --git a/chrome/test/data/instant_extended.html b/chrome/test/data/instant_extended.html
|
| index fb38c3e3c540512a61927db77dd39be07f72cd8c..58df59cc94139693716daa1da23d19d30579c461 100644
|
| --- a/chrome/test/data/instant_extended.html
|
| +++ b/chrome/test/data/instant_extended.html
|
| @@ -8,7 +8,8 @@ var savedUserText = null;
|
| var suggestionIndex = -1;
|
| var suggestions = ["result 1", "result 2", "result 3"];
|
| var suggestion;
|
| -var behavior = 2;
|
| +var suggestionType = 0; // INSTANT_SUGGESTION_SEARCH
|
| +var behavior = 2; // INSTANT_COMPLETE_NEVER
|
| var onMostVisitedChangedCalls = 0;
|
| var mostVisitedItemsCount = 0;
|
| var firstMostVisitedItemId = 0;
|
| @@ -57,7 +58,7 @@ function handleOnChange() {
|
| function nextSuggestion() {
|
| if (suggestionIndex < suggestions.length - 1) {
|
| suggestionIndex++;
|
| - apiHandle.setValue(suggestions[suggestionIndex]);
|
| + apiHandle.setValue(suggestions[suggestionIndex], suggestionType);
|
| }
|
| }
|
|
|
| @@ -65,9 +66,9 @@ function previousSuggestion() {
|
| if (suggestionIndex != -1) {
|
| suggestionIndex--;
|
| if (suggestionIndex == -1) {
|
| - apiHandle.setValue(savedUserText);
|
| + apiHandle.setValue(savedUserText, suggestionType);
|
| } else {
|
| - apiHandle.setValue(suggestions[suggestionIndex]);
|
| + apiHandle.setValue(suggestions[suggestionIndex], suggestionType);
|
| }
|
| }
|
| }
|
|
|