[Webkit-unassigned] [Bug 233143] [JSC] Shadow realms: set correct Function prototype on wrapped functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 18 13:48:04 PST 2021


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

Yusuke Suzuki <ysuzuki at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ysuzuki at apple.com
 Attachment #444710|review?, commit-queue?      |review+, commit-queue-
              Flags|                            |

--- Comment #6 from Yusuke Suzuki <ysuzuki at apple.com> ---
Comment on attachment 444710
  --> https://bugs.webkit.org/attachment.cgi?id=444710
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=444710&action=review

r=me but probably, eventually, I think we need to use bound function.

> Source/JavaScriptCore/builtins/ShadowRealmPrototype.js:56
> +        if (callerRealm !== null) {
> +            @moveFunctionToRealm(wrapped, callerRealm);
> +        }

WebKit coding style do not use brace if there is only one statement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211118/8fd478d5/attachment-0001.htm>


More information about the webkit-unassigned mailing list