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

Side by Side Diff: chrome/test/data/extensions/api_test/history/misc_search.js

Issue 8758008: Move another block of extension tests to manifest_version 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 // History api test for Chrome. 5 // History api test for Chrome.
2 // browser_tests.exe --gtest_filter=ExtensionHistoryApiTest.MiscSearch 6 // browser_tests.exe --gtest_filter=ExtensionHistoryApiTest.MiscSearch
3 7
4 // runHistoryTestFns is defined in ./common.js . 8 // runHistoryTestFns is defined in ./common.js .
5 runHistoryTestFns([ 9 runHistoryTestFns([
6 function basicSearch() { 10 function basicSearch() {
7 // basicSearch callback. 11 // basicSearch callback.
8 function basicSearchTestVerification() { 12 function basicSearchTestVerification() {
9 removeItemVisitedListener(); 13 removeItemVisitedListener();
10 var query = { 'text': '' }; 14 var query = { 'text': '' };
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 112
109 // Navigate to a few pages. 113 // Navigate to a few pages.
110 urls.forEach(function(url) { 114 urls.forEach(function(url) {
111 chrome.tabs.create({ 'url': url }, function(tab) { 115 chrome.tabs.create({ 'url': url }, function(tab) {
112 tabIds.push(tab.id); 116 tabIds.push(tab.id);
113 }); 117 });
114 }); 118 });
115 }); 119 });
116 } 120 }
117 ]); 121 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698