Changeset 117965 in webkit
- Timestamp:
- May 22, 2012 6:50:35 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r117962 r117965 1 2012-05-22 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: JavaScript breakpoints disappear when Ctrl+S is pressed for the script without changes. 4 https://bugs.webkit.org/show_bug.cgi?id=87121 5 6 Reviewed by Pavel Feldman. 7 8 JavaScriptSourceFrame and StylesSourceFrame should not commit working copy unless UISourceCode is dirty. 9 10 * inspector/front-end/JavaScriptSourceFrame.js: 11 (WebInspector.JavaScriptSourceFrame.prototype.commitEditing): 12 * inspector/front-end/StylesPanel.js: 13 (WebInspector.StyleSourceFrame.prototype.commitEditing): 14 * inspector/front-end/UISourceCode.js: 15 (WebInspector.UISourceCode.prototype.commitWorkingCopy): 16 1 17 2012-05-22 Ilya Tikhonovsky <loislo@chromium.org> 2 18 -
trunk/Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js
r117799 r117965 93 93 commitEditing: function(text) 94 94 { 95 if (!this._uiSourceCode.isDirty()) 96 return; 97 95 98 this._isCommittingEditing = true; 96 99 this._uiSourceCode.commitWorkingCopy(this._didEditContent.bind(this)); -
trunk/Source/WebCore/inspector/front-end/StylesPanel.js
r117799 r117965 146 146 commitEditing: function(text) 147 147 { 148 if (!this._styleSource.isDirty()) 149 return; 150 148 151 this._isCommittingEditing = true; 149 152 this._styleSource.commitWorkingCopy(this._didEditContent.bind(this)); -
trunk/Source/WebCore/inspector/front-end/UISourceCode.js
r117799 r117965 212 212 } 213 213 214 if (!this.isDirty()) {215 callback(null);216 return;217 }218 219 214 var newContent = this._workingCopy; 220 215 this._committingWorkingCopy = true;
Note: See TracChangeset
for help on using the changeset viewer.