Index: chrome/test/data/extensions/api_test/webnavigation/test_userAction.js |
diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_userAction.js b/chrome/test/data/extensions/api_test/webnavigation/test_userAction.js |
index 7c44d4384a29d8f222ab70f54efb9680dc901ff6..0d51379d195d26c35ab5c1120a58f910036f5bda 100644 |
--- a/chrome/test/data/extensions/api_test/webnavigation/test_userAction.js |
+++ b/chrome/test/data/extensions/api_test/webnavigation/test_userAction.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() { |
}, |
]); |
}); |
-} |
+}; |