RESOLVED FIXED 88884
Web Inspector: working copy should be committed even if domain binding returns error.
https://bugs.webkit.org/show_bug.cgi?id=88884
Summary Web Inspector: working copy should be committed even if domain binding return...
Pavel Feldman
Reported 2012-06-12 10:17:34 PDT
Committing working copy is about saving file. It should always succeed.
Attachments
Patch (1.53 KB, patch)
2012-06-12 10:20 PDT, Pavel Feldman
vsevik: review+
Pavel Feldman
Comment 1 2012-06-12 10:20:08 PDT
Pavel Feldman
Comment 2 2012-06-13 04:51:30 PDT
johnjbarton
Comment 3 2012-06-25 21:50:40 PDT
I don't think this fix succeeds because the line this.contentChanged(newContent, this._mimeType); is a notification, not an action causing save. The save action is in DebuggerResourceBinding.js, in didEditScriptSource(error); the save is still blocked if (error). function didEditScriptSource(error) { if (error) { callback(error); return; } var resource = javaScriptSource.resource(); if (resource) resource.addRevision(newSource); callback(null); } See https://code.google.com/p/chromium/issues/detail?id=123242
Vsevolod Vlasov
Comment 4 2012-07-04 08:24:17 PDT
(In reply to comment #3) > I don't think this fix succeeds because the line > > this.contentChanged(newContent, this._mimeType); > > is a notification, not an action causing save. > > The save action is in DebuggerResourceBinding.js, in didEditScriptSource(error); > the save is still blocked if (error). > > function didEditScriptSource(error) > { > if (error) { > callback(error); > return; > } > > var resource = javaScriptSource.resource(); > if (resource) > resource.addRevision(newSource); > > callback(null); > } > > See https://code.google.com/p/chromium/issues/detail?id=123242 Fixed in https://bugs.webkit.org/show_bug.cgi?id=90549
Note You need to log in before you can comment on or make changes to this bug.