Summary: | Web Inspector: remove "enabled" from the setBreakpoint protocol. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, seokju.kwon, timothy, yurys | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Pavel Feldman
2011-04-07 08:59:15 PDT
Created attachment 88658 [details]
Patch
Comment on attachment 88658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=88658&action=review > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:123 > + breakpoint.debuggerId = breakpointData.debuggerId; Extract method. > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:168 > + if (!sourceFile) Please remove this, it never happens. > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:274 > + this._breakpointAdded(breakpoint); New breakpoint set should be saved. > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:339 > + this._removeBreakpointFromDebugger(breakpoint); please pass afterUpdate as a callback to _removeBreakpointFromDebugger > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:395 > + _breakpointRemoved: function(breakpoint) Please inline this method. Committed r83190: <http://trac.webkit.org/changeset/83190> |