[Webkit-unassigned] [Bug 69146] New: Web Inspector: debuggerPresentatioModel.linkifyLocation leaks updateAnchor closure instances.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 30 06:55:28 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69146
Summary: Web Inspector:
debuggerPresentatioModel.linkifyLocation leaks
updateAnchor closure instances.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: loislo at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
In many places we use linkifyLocation function to produce a link node which will updates automatically when the source file was changed on the fly.
Such changes happen when we use pretty print or another operation that changes the source code somehow.
linkifyLocation associates a new instance of updateAnchor closure with the each link node and add the closure to the SourceMappingUpdated event's list.
As result the node<->closure pairs wouldn't be collected until reset the UI and DebuggerPresentationModel
--
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