From 18db63ea67ad2f5e428022e32ff55de83c0db0ca Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Fri, 15 Jan 2010 21:46:56 +0000 Subject: Revert r36407 TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36414 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/data/extensions/api_test/tabs/basics/test.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'chrome/test/data') diff --git a/chrome/test/data/extensions/api_test/tabs/basics/test.js b/chrome/test/data/extensions/api_test/tabs/basics/test.js index 00f20dd..a516ddc 100644 --- a/chrome/test/data/extensions/api_test/tabs/basics/test.js +++ b/chrome/test/data/extensions/api_test/tabs/basics/test.js @@ -35,6 +35,7 @@ chrome.test.runTests([ assertTrue(tab.index > firstTabIndex); assertEq(firstWindowId, tab.windowId); assertEq(false, tab.selected); + assertEq("chrome://newtab/", tab.url); })); }, @@ -240,14 +241,6 @@ chrome.test.runTests([ })); }, - function focus() { - chrome.test.listenOnce(chrome.windows.onFocusChanged, function(winId) { - assertEq(firstWindowId, winId); - }); - - chrome.windows.update(firstWindowId, {focused: true}, pass()); - }, - /* // TODO(jcampan): http://crbug.com/30662 the detection language library // crashes on some sites and has been temporarily disabled. -- cgit v1.1