[Webkit-unassigned] [Bug 80900] New: registerDynamicSubtreeNodeList and unregisterDynamicSubtreeNodeList seem unnecessary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 12 15:32:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80900

           Summary: registerDynamicSubtreeNodeList and
                    unregisterDynamicSubtreeNodeList seem unnecessary
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, ap at webkit.org, sam at webkit.org,
                    koivisto at iki.fi, arv at chromium.org, kling at webkit.org


I don't think we need registerDynamicSubtreeNodeList and unregisterDynamicSubtreeNodeList.

In particular, the following comment seems no longer valid because TreeScopeAdopter::moveTreeToNewScope clears node list caches whenever nodes are adopted into a new tree scope.
    // We haven't been receiving notifications while there were no registered lists, so the cache is invalid now.
    if (data->nodeLists() && (!treeScope() || !treeScope()->hasNodeListCaches()))
        data->nodeLists()->invalidateCaches();

-- 
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