Index: webkit/glue/devtools/js/tests.js |
=================================================================== |
--- webkit/glue/devtools/js/tests.js (revision 22368) |
+++ webkit/glue/devtools/js/tests.js (working copy) |
@@ -485,7 +485,7 @@ |
new TestSuite.KeyEvent('Enter')); |
var test = this; |
- this.addSniffer(WebInspector.Console.prototype, 'addMessage', |
+ this.addSniffer(WebInspector.ConsoleView.prototype, 'addMessage', |
function(commandResult) { |
test.assertEquals('123', commandResult.toMessageElement().textContent); |
test.releaseControl(); |
@@ -546,7 +546,7 @@ |
new TestSuite.KeyEvent('Enter')); |
var test = this; |
- this.addSniffer(WebInspector.Console.prototype, 'addMessage', |
+ this.addSniffer(WebInspector.ConsoleView.prototype, 'addMessage', |
function(commandResult) { |
test.assertEquals('fooValue', |
commandResult.toMessageElement().textContent); |