[Webkit-unassigned] [Bug 91014] New: Static NodeList needs to to keep item wrappers alive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 11 14:12:22 PDT 2012


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

           Summary: Static NodeList needs to to keep item wrappers alive
           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: arv at chromium.org
                CC: sam at webkit.org, rniwa at webkit.org, haraken at chromium.org


Created an attachment (id=151772)
 --> (https://bugs.webkit.org/attachment.cgi?id=151772&action=review)
Layout test

Currently we do not keep the wrappers of static node lists alive. Both the JSC and V8 bindings get this wrong.

document.body.innerHTML = '<b></b>';
var elements = document.body.querySelectorAll('*');
elements[0].customProperty = 42;
document.body.textContent = '';
gc();
shouldBe('elements[0].customProperty', '42');

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