[Webkit-unassigned] [Bug 137651] New: WeakMap reference w/ DOM element as key does not survive long enough

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 12 19:35:33 PDT 2014


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

           Summary: WeakMap reference w/ DOM element as key does not
                    survive long enough
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timdream at gmail.com


STR:

1. Open the reduced test case, open up the Inspector
2. Click Run
3. Observer the console output

Expected:

1. console keep printing the object from our setInterval call

Actual:

1. After GC (?) the console start to porint out 'undefined'

Note:

Originally submitted as: https://github.com/timdream/gaia-keyboard-demo/issues/7

This is easier to reproduce on iOS 8 Simulator than on Safari 7.1, and harder on WebKit Nightly.

Does not affect previous iOS or Safari versions because WeakMap was not implemented.

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