[Webkit-unassigned] [Bug 148136] New: Add InternalPromise to use Promises safely in the internals

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 12:36:35 PDT 2015


            Bug ID: 148136
           Summary: Add InternalPromise to use Promises safely in the
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

https://bugs.webkit.org/show_bug.cgi?id=147942 solve the part of the problem.
But, since resolving function always looks up "then" function, by setting malicious "then" function, we can still trap it...
To make Promises safe, we'll introduce new constructor/prototype set for InternalPromise. That is the separated instance from the usual Promise.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150818/e11f5d5c/attachment-0001.html>

More information about the webkit-unassigned mailing list