[Webkit-unassigned] [Bug 103916] New: MutationObservers should be passed unique MutationRecords

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 3 12:18:07 PST 2012


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

           Summary: MutationObservers should be passed unique
                    MutationRecords
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: WebExposed
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adamk at chromium.org
                CC: ojan at chromium.org, rafaelw at chromium.org,
                    rniwa at webkit.org
            Blocks: 68729


This is per a change to the DOM spec: see https://www.w3.org/Bugs/Public/show_bug.cgi?id=20131 and https://github.com/whatwg/dom/commit/b5d05659b682b2560af6c24e2e2cdbace82811d3

To minimize the memory impact/mutation-time cost,  we could create these unique records only at delivery time (when we're already walking through the list of records to move them from a WTF::Vector to a JS array). Or if we want to get fancy we could build machinery to give each observer its own JS wrapper around a single record.

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