Bug 94209 - Web Inspector: Breakpoints are not correctly restored on reload.
Summary: Web Inspector: Breakpoints are not correctly restored on reload.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Vsevolod Vlasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 03:06 PDT by Vsevolod Vlasov
Modified: 2012-08-16 04:42 PDT (History)
10 users (show)

See Also:


Attachments
Patch (11.75 KB, patch)
2012-08-16 03:27 PDT, Vsevolod Vlasov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2012-08-16 03:06:33 PDT
This is caused by race condition between restoreBreakpoints call intiated by setTimeout in UISourceCode constructor and removing this UISourceCode from mapping when corresponding resource has finished loading.

Patch to follow.
Comment 1 Vsevolod Vlasov 2012-08-16 03:27:06 PDT
Created attachment 158766 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-08-16 04:42:34 PDT
Committed r125767: <http://trac.webkit.org/changeset/125767>