From 862fb4d9fd37c5f187ce226921c105878cf9b3c7 Mon Sep 17 00:00:00 2001 From: "rafaelw@chromium.org" Date: Mon, 14 Sep 2009 23:56:01 +0000 Subject: Address ExtensionApiTest.Tabs (relativeUrlCreate) flakiness. The callback function in this case should not have been wrapped in an automated callback because this tests handles it's own termination. Review URL: http://codereview.chromium.org/196116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26182 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/data/extensions/api_test/tabs/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/test/data/extensions/api_test/tabs/test.js b/chrome/test/data/extensions/api_test/tabs/test.js index 8c40e4e..0f6cc5b 100644 --- a/chrome/test/data/extensions/api_test/tabs/test.js +++ b/chrome/test/data/extensions/api_test/tabs/test.js @@ -341,11 +341,11 @@ chrome.test.runTests([ // The subsequent three tests all load relative.html, which calls // this page's relativePageLoad(), which ends the test. function relativeUrlTabsCreate() { - chrome.tabs.create({windowId: firstWindowId, url: 'relative.html'}, - pass(function(tab){ + chrome.tabs.create({windowId: firstWindowId, url: 'relative.html'}, + function(tab){ testTabId = tab.id; } - )); + ); }, function relativeUrlTabsUpdate() { -- cgit v1.1