Title: [91666] trunk/Source/WebCore
Revision
91666
Author
[email protected]
Date
2011-07-25 07:42:45 -0700 (Mon, 25 Jul 2011)

Log Message

[Chromium] Web Inspector: live edit error should be revealed in Console
https://bugs.webkit.org/show_bug.cgi?id=65109

Reviewed by Pavel Feldman.

* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.commitEditing.didEditContent):
(WebInspector.SourceFrame.prototype.commitEditing):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91665 => 91666)


--- trunk/Source/WebCore/ChangeLog	2011-07-25 14:24:55 UTC (rev 91665)
+++ trunk/Source/WebCore/ChangeLog	2011-07-25 14:42:45 UTC (rev 91666)
@@ -1,3 +1,14 @@
+2011-07-25  Yury Semikhatsky  <[email protected]>
+
+        [Chromium] Web Inspector: live edit error should be revealed in Console
+        https://bugs.webkit.org/show_bug.cgi?id=65109
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/SourceFrame.js:
+        (WebInspector.SourceFrame.prototype.commitEditing.didEditContent):
+        (WebInspector.SourceFrame.prototype.commitEditing):
+
 2011-07-25  Pavel Feldman  <[email protected]>
 
         Web Inspector: refactor remote object structure to contain value for primitive values.

Modified: trunk/Source/WebCore/inspector/front-end/SourceFrame.js (91665 => 91666)


--- trunk/Source/WebCore/inspector/front-end/SourceFrame.js	2011-07-25 14:24:55 UTC (rev 91665)
+++ trunk/Source/WebCore/inspector/front-end/SourceFrame.js	2011-07-25 14:42:45 UTC (rev 91666)
@@ -897,8 +897,8 @@
             this._textViewer.readOnly = false;
 
             if (error) {
-                if (error.data && error.data[0]) {
-                    WebInspector.log(error.data[0], WebInspector.ConsoleMessage.MessageLevel.Error);
+                if (error.message) {
+                    WebInspector.log(error.message, WebInspector.ConsoleMessage.MessageLevel.Error);
                     WebInspector.showConsole();
                 }
                 return;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to