summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/js/devtools_host_stub.js
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/devtools/js/devtools_host_stub.js')
-rw-r--r--webkit/glue/devtools/js/devtools_host_stub.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/devtools/js/devtools_host_stub.js b/webkit/glue/devtools/js/devtools_host_stub.js
index 5948abe..bfa7304 100644
--- a/webkit/glue/devtools/js/devtools_host_stub.js
+++ b/webkit/glue/devtools/js/devtools_host_stub.js
@@ -276,6 +276,12 @@ RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand = function(cmd) {
* @constructor
*/
DevToolsHostStub = function() {
+ this.isStub = true;
+ window.domAutomationController = {
+ send: function(text) {
+ debugPrint(text);
+ }
+ };
};
@@ -285,6 +291,7 @@ DevToolsHostStub.prototype.loaded = function() {
RemoteDomAgentStub.sendChildNodes_(2);
devtools.tools.updateFocusedNode_(4);
devtools.tools.addMessageToConsole_('message', 'source', 3);
+ uiTests.runAllTests();
};