Index: chrome/test/data/extensions/api_test/webnavigation/test_history.js |
diff --git a/chrome/test/data/extensions/api_test/webnavigation/test_history.js b/chrome/test/data/extensions/api_test/webnavigation/test_history.js |
index 2d4b20015f141ac481f1f9fb6361fbd023ff3ab1..db1b8f5191dea889ea778f18b72350637dbdf297 100644 |
--- a/chrome/test/data/extensions/api_test/webnavigation/test_history.js |
+++ b/chrome/test/data/extensions/api_test/webnavigation/test_history.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; |
@@ -55,4 +55,4 @@ function runTests() { |
}, |
]); |
}); |
-} |
+}; |