[Webkit-unassigned] [Bug 99674] New: Web Inspector: [JSC] SourceProvider reuses IDs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 17 19:58:32 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=99674
Summary: Web Inspector: [JSC] SourceProvider reuses IDs
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: timothy at apple.com
CC: ggaren at apple.com, oliver at apple.com, keishi at webkit.org,
pmuellr at yahoo.com, pfeldman at chromium.org,
yurys at chromium.org, apavlov at chromium.org,
loislo at chromium.org, vsevik at chromium.org,
webkit-bug-importer at group.apple.com, fpizlo at apple.com,
web-inspector-bugs at googlegroups.com
JSC::SourceProvider provides an ID to identify scripts. This ID is simply this cast to an intptr_t. If SourceProvider is freed another one can be allocated in the same location and cause the same ID to be reported to the Debugger.
I am able to get the same SourceProvider ID on apple.com by reloading a few times. The IDs a reused during the same page load, so it can really confuse the Inspector given that we use these IDs to identify scripts (especially scripts without URLs.)
Either someone needs to retain the SourceProvider (maybe ScriptDebugListener::Script?) so the ID can't be reused or SourceProvider needs a new thread safe unique ID assigned when SourceProvider is created.
<rdar://problem/12517297>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list