Fix an exception and remove code that was missed when TextPrompt
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Apr 2008 17:14:04 +0000 (17:14 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Apr 2008 17:14:04 +0000 (17:14 +0000)
was added. This makes the Console work again.

Reviewed by Adam Roben.

* page/inspector/Console.js: Removed code that used non-existent
properties.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31684 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/inspector/Console.js

index 2142c13..d519606 100644 (file)
@@ -1,5 +1,15 @@
 2008-04-07  Timothy Hatcher  <timothy@apple.com>
 
 2008-04-07  Timothy Hatcher  <timothy@apple.com>
 
+        Fix an exception and remove code that was missed when TextPrompt
+        was added. This makes the Console work again.
+        
+        Reviewed by Adam Roben.
+        
+        * page/inspector/Console.js: Removed code that used non-existent
+        properties.
+
+2008-04-07  Timothy Hatcher  <timothy@apple.com>
+
         Remove the workaround for bug 11399 now that it is fixed.
 
         Reviewed by Adam Roben.
         Remove the workaround for bug 11399 now that it is fixed.
 
         Reviewed by Adam Roben.
index e2f5e28..e0351ac 100644 (file)
@@ -250,11 +250,6 @@ WebInspector.ConsolePanel.prototype = {
         if (!str.length)
             return;
 
         if (!str.length)
             return;
 
-        this.commandHistory.push(str);
-        this.commandOffset = 0;
-
-        this.promptText = "";
-
         var result;
         var exception = false;
         try {
         var result;
         var exception = false;
         try {