Title: [120186] trunk/Source/WebCore
- Revision
- 120186
- Author
- [email protected]
- Date
- 2012-06-13 04:51:16 -0700 (Wed, 13 Jun 2012)
Log Message
Web Inspector: working copy should be committed even if domain binding returns error.
https://bugs.webkit.org/show_bug.cgi?id=88884
Reviewed by Vsevolod Vlasov.
Committing working copy is about saving file. It should always succeed.
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.commitWorkingCopy):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (120185 => 120186)
--- trunk/Source/WebCore/ChangeLog 2012-06-13 11:45:28 UTC (rev 120185)
+++ trunk/Source/WebCore/ChangeLog 2012-06-13 11:51:16 UTC (rev 120186)
@@ -1,3 +1,15 @@
+2012-06-13 Pavel Feldman <[email protected]>
+
+ Web Inspector: working copy should be committed even if domain binding returns error.
+ https://bugs.webkit.org/show_bug.cgi?id=88884
+
+ Reviewed by Vsevolod Vlasov.
+
+ Committing working copy is about saving file. It should always succeed.
+
+ * inspector/front-end/UISourceCode.js:
+ (WebInspector.UISourceCode.prototype.commitWorkingCopy):
+
2012-06-12 Pavel Feldman <[email protected]>
Web Inspector: show revisions of all modified files in local modifications view
Modified: trunk/Source/WebCore/inspector/front-end/UISourceCode.js (120185 => 120186)
--- trunk/Source/WebCore/inspector/front-end/UISourceCode.js 2012-06-13 11:45:28 UTC (rev 120185)
+++ trunk/Source/WebCore/inspector/front-end/UISourceCode.js 2012-06-13 11:51:16 UTC (rev 120186)
@@ -206,8 +206,7 @@
function innerCallback(error)
{
delete this._committingWorkingCopy;
- if (!error)
- this.contentChanged(newContent, this._mimeType);
+ this.contentChanged(newContent, this._mimeType);
callback(error);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes