Bug 57949

Summary: Web Inspector: get rid of Breakpoint.js.
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, podivilov, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Work in progress.
none
Patch
none
Patch yurys: review+

Pavel Feldman
Reported 2011-04-06 08:00:40 PDT
Patch to follow.
Attachments
[PATCH] Work in progress. (33.16 KB, patch)
2011-04-06 08:02 PDT, Pavel Feldman
no flags
Patch (30.36 KB, patch)
2011-04-07 05:40 PDT, Pavel Feldman
no flags
Patch (30.64 KB, patch)
2011-04-07 07:40 PDT, Pavel Feldman
yurys: review+
Pavel Feldman
Comment 1 2011-04-06 08:02:27 PDT
Created attachment 88418 [details] [PATCH] Work in progress.
Pavel Feldman
Comment 2 2011-04-07 05:40:51 PDT
Pavel Podivilov
Comment 3 2011-04-07 06:09:26 PDT
Comment on attachment 88611 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=88611&action=review > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:323 > + var scriptLocation = breakpoint.location ? breakpoint.location : {lineNumber:breakpoint.lineNumber, columnNumber:0}; Here breakpoint.lineNumber may denote location in formatter script. We should not map it in that case. > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:371 > + var pendingBreakpoints = this._breakpointsWithoutSourceFile[sourceFileId]; Please mind that sourceFileId would be undefined for all breakpoints created with the old version. When such breakpoints would be purged? Probably it's better to ignore them here?
Pavel Feldman
Comment 4 2011-04-07 07:40:51 PDT
Pavel Podivilov
Comment 5 2011-04-07 08:01:38 PDT
(In reply to comment #4) > Created an attachment (id=88634) [details] > Patch Looks good.
Pavel Feldman
Comment 6 2011-04-07 08:47:49 PDT
Note You need to log in before you can comment on or make changes to this bug.