Summary: | Web Inspector: Implement snippets evaluation. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Vsevolod Vlasov <vsevik> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Vsevolod Vlasov <vsevik> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, apavlov, bweinstein, haraken, japhet, jochen, joepeck, keishi, loislo, pfeldman, pmuellr, rik, syoichi, timothy, webkit.review.bot, yurys | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | 90385 | ||||||||
Bug Blocks: | 75094 | ||||||||
Attachments: |
|
Description
Vsevolod Vlasov
2012-06-09 05:34:29 PDT
Created attachment 146697 [details]
Patch
Comment on attachment 146697 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=146697&action=review > Source/WebCore/inspector/front-end/BreakpointManager.js:302 > + var oldFakeUILocation = /** @type {WebInspector.UILocation} */ this._uiLocations.get(this._fakeRawLocation); Isn't this the same as this._primaryUILocation ? > Source/WebCore/inspector/front-end/BreakpointManager.js:303 > + if (oldFakeUILocation) { Can it be 0? > Source/WebCore/inspector/front-end/BreakpointManager.js:360 > + if (this._enabled && this._primaryUILocation.uiLocationToRawLocation()) { This little twist changes the way breakpoint manager interacts with the debugger. I would add a comment. And I don't think I like it anyways. > Source/WebCore/inspector/front-end/DebuggerModel.js:138 > + if (rawLocation.scriptId) { I hate to say it, but I feel like debugging capabilities in the snippet editor are not worth making the underlying models so much more complex. Created attachment 149075 [details]
Patch
Committed r121673: <http://trac.webkit.org/changeset/121673> |