Index: LayoutTests/http/tests/inspector/inspector-test.js |
diff --git a/LayoutTests/http/tests/inspector/inspector-test.js b/LayoutTests/http/tests/inspector/inspector-test.js |
index 6a3b9a4e7d6302fbea0d347d06c49ba7823955ce..e085f43a5d8851fcfa41438c939c99709740e6e1 100644 |
--- a/LayoutTests/http/tests/inspector/inspector-test.js |
+++ b/LayoutTests/http/tests/inspector/inspector-test.js |
@@ -240,6 +240,13 @@ InspectorTest.assertGreaterOrEqual = function(a, b, message) |
InspectorTest.addResult("FAILED: " + (message ? message + ": " : "") + a + " < " + b); |
} |
+InspectorTest.registerModule = function(moduleName, loadImmediately) |
+{ |
+ runtime._registerModule(moduleName); |
+ if (loadImmediately) |
+ runtime.loadModule(moduleName); |
+} |
+ |
InspectorTest.navigate = function(url, callback) |
{ |
InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback); |