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

Side by Side Diff: chrome/test/data/extensions/api_test/tabs/basics/move.js

Issue 24733003: Update defaults for InstantExtended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var firstWindowId; 5 var firstWindowId;
6 var secondWindowId; 6 var secondWindowId;
7 var moveTabIds = {}; 7 var moveTabIds = {};
8 var kChromeUINewTabURL = "chrome://newtab/"; 8 var kChromeUINewTabURL = "chrome-search://local-ntp/local-ntp.html";
9 9
10 chrome.test.runTests([ 10 chrome.test.runTests([
11 // Do a series of moves and removes so that we get the following 11 // Do a series of moves and removes so that we get the following
12 // 12 //
13 // Before: 13 // Before:
14 // Window1: (newtab),a,b,c,d,e 14 // Window1: (newtab),a,b,c,d,e
15 // Window2: (newtab) 15 // Window2: (newtab)
16 // 16 //
17 // After moveToInvalidTab: 17 // After moveToInvalidTab:
18 // Window1: (newtab) 18 // Window1: (newtab)
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 chrome.tabs.move(tabs[0].id, 164 chrome.tabs.move(tabs[0].id,
165 {"windowId": chrome.windows.WINDOW_ID_CURRENT, 165 {"windowId": chrome.windows.WINDOW_ID_CURRENT,
166 "index": 0}, 166 "index": 0},
167 pass(function(tab) { 167 pass(function(tab) {
168 assertEq(win.id, tab.windowId); 168 assertEq(win.id, tab.windowId);
169 })); 169 }));
170 })); 170 }));
171 })); 171 }));
172 } 172 }
173 ]); 173 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698