Bug 30734 - Remove XMLTokenizer::m_currentNodeIsReferenced
Summary: Remove XMLTokenizer::m_currentNodeIsReferenced
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Trivial
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 17:20 PDT by Alexey Proskuryakov
Modified: 2019-02-06 09:02 PST (History)
1 user (show)

See Also:


Attachments
proposed fix (4.20 KB, patch)
2009-10-23 17:24 PDT, Alexey Proskuryakov
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2009-10-23 17:20:07 PDT
XMLTokenizer references the current node unless it's the document itself. I don't think there's any need to track that as a boolean.

This is in preparation to making XMLTokenizer remember the stack of parents, as node->parent() may be inaccurate if DOM manipulations were performed by a script.
Comment 1 Alexey Proskuryakov 2009-10-23 17:24:41 PDT
Created attachment 41768 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2009-10-23 18:10:49 PDT
Committed revision 50017.
Comment 3 Lucas Forschler 2019-02-06 09:02:57 PST
Mass moving XML DOM bugs to the "DOM" Component.