summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 23:56:01 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 23:56:01 +0000
commit862fb4d9fd37c5f187ce226921c105878cf9b3c7 (patch)
treec7cb8c0fdeac961c75e702c3f20afe50398c9831
parentbce07acc502b2e8f71bd926e90c056bd01a92469 (diff)
downloadchromium_src-862fb4d9fd37c5f187ce226921c105878cf9b3c7.zip
chromium_src-862fb4d9fd37c5f187ce226921c105878cf9b3c7.tar.gz
chromium_src-862fb4d9fd37c5f187ce226921c105878cf9b3c7.tar.bz2
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
-rw-r--r--chrome/test/data/extensions/api_test/tabs/test.js6
1 files 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() {