[Webkit-unassigned] [Bug 19526] New: ASSERTION FAILED: m_numNodeListCaches
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 12 15:54:23 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=19526
Summary: ASSERTION FAILED: m_numNodeListCaches
Product: WebKit
Version: 526+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: danceoffwithyourpantsoff at gmail.com
var doc = document.implementation.createHTMLDocument('a');
Node's can cache nodelists in m_nodeLists. They keep a counter on their
document, via document()->addNodeListCache and document()->removeNodeListCache.
However, when a node is adopted between documents, nothing is done to keep
this balance. On adoption, we should be clearing m_nodeLists and calling
document()->removeNodeListCache.
var b = document.createElement('b');
// Give it a node list cache on document
b.childNodes;
// Attach it to doc to update m_document
doc.adoptNode(b);
doc.body.appendChild(b);
doc.body.removeChild(b);
// GC here if you can, or reload the page to fire ~Node and cleanup m_nodeLists
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list