WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 41247
Web Inspector: ScripsPanel.prototype.editScriptSource uses old addBreakpoint signature.
https://bugs.webkit.org/show_bug.cgi?id=41247
Summary
Web Inspector: ScripsPanel.prototype.editScriptSource uses old addBreakpoint ...
Pavel Feldman
Reported
2010-06-26 04:10:57 PDT
I also added code preventing removed breakpoints from generating events.
Attachments
[PATCH] Proposed fix.
(4.77 KB, patch)
2010-06-26 04:30 PDT
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
[PATCH] Style fixed.
(4.77 KB, patch)
2010-06-26 04:41 PDT
,
Pavel Feldman
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-06-26 04:30:33 PDT
Created
attachment 59829
[details]
[PATCH] Proposed fix.
WebKit Review Bot
Comment 2
2010-06-26 04:32:18 PDT
Attachment 59829
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/inspector/front-end/Object.js:57: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Feldman
Comment 3
2010-06-26 04:41:56 PDT
Created
attachment 59830
[details]
[PATCH] Style fixed.
Yury Semikhatsky
Comment 4
2010-06-26 05:51:14 PDT
Comment on
attachment 59830
[details]
[PATCH] Style fixed. WebCore/inspector/front-end/BreakpointManager.js:151 + this._breakpointManager._saveBreakpointOnBackend(this); These methods should not be called after the breakpoint has been removed. Can you fix the call sites instead? We need a test for this.
Pavel Feldman
Comment 5
2010-06-26 06:06:43 PDT
(In reply to
comment #4
)
> (From update of
attachment 59830
[details]
) > WebCore/inspector/front-end/BreakpointManager.js:151 > + this._breakpointManager._saveBreakpointOnBackend(this); > These methods should not be called after the breakpoint has been removed. Can you fix the call sites instead? >
There are no call sites like this - I was just making sure we don't hit this problem in the future. But I see your point, I'll remove the checks and let code fail now that manager reference is cleared.
Pavel Feldman
Comment 6
2010-06-26 06:25:53 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/front-end/BreakpointManager.js M WebCore/inspector/front-end/Object.js M WebCore/inspector/front-end/ScriptsPanel.js Committed
r61954
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug