Bug 107799

Summary: Web Inspector: breakpoints are not restored upon reload for scripts with script mapping.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
Patch apavlov: review+, webkit.review.bot: commit-queue-

Description Pavel Feldman 2013-01-24 00:57:20 PST
The problem is that source mapping is set after UISourceCode gets into the workspace.
Comment 1 Pavel Feldman 2013-01-24 01:00:57 PST
Created attachment 184432 [details]
Comment 2 Alexander Pavlov (apavlov) 2013-01-24 01:03:35 PST
Comment on attachment 184432 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=184432&action=review

> Source/WebCore/inspector/front-end/BreakpointManager.js:116
> +        var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.target);

Can this fire several times per the same UISourceCode? I'm wary of duplicate breakpoints, actually.
Comment 3 WebKit Review Bot 2013-01-24 01:17:16 PST
Comment on attachment 184432 [details]

Rejecting attachment 184432 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=gce-cq-02', 'validate-changelog', '--non-interactive', 184432, '--port=chromium-xvfb']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue

/mnt/git/webkit-commit-queue/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://queues.webkit.org/results/16021038
Comment 4 Pavel Feldman 2013-01-24 01:21:53 PST
Committed r140666: <http://trac.webkit.org/changeset/140666>