[Webkit-unassigned] [Bug 31873] New: [V8] Avoid using JavaScript objects as context data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 25 07:35:58 PST 2009


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

           Summary: [V8] Avoid using JavaScript objects as context data
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sgjesse at chromium.org


The V8 API provides the ability to associate a context with a "data" object. If
a context dependent object is used this ha the side effect of keeping the
context alive for some time after the page using the context has been closed.

To avoid this the context "data" object should be a string which is not context
dependent. In the V8 API the type will be changed from Object to String in the
near future.

See http://crbug.com/23058.

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