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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/test_requestOpenTab.js

Issue 10826157: Check for warnings when loading extensions in browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ExtensionTerminalPrivateApiTest.TerminalTest Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/webnavigation/test_requestOpenTab.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_requestOpenTab.js b/chrome/test/data/extensions/api_test/webnavigation/test_requestOpenTab.js
index cdc868ec511a5f3aa981065dbf84225ab1a0ab55..9a297c3a603926aecfda43fa4acf1ce87c0f6fb3 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/test_requestOpenTab.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/test_requestOpenTab.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function runTests() {
+onload = function() {
var getURL = chrome.extension.getURL;
chrome.tabs.create({"url": "about:blank"}, function(tab) {
var tabId = tab.id;
@@ -90,4 +90,4 @@ function runTests() {
},
]);
});
-}
+};

Powered by Google App Engine
This is Rietveld 408576698