[Webkit-unassigned] [Bug 223122] [SameObject] is not applied in FrozenArrays or TypeArrays

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 18 16:42:58 PDT 2021


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

--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
(In reply to Chris Dumez from comment #1)
>         "SameObject": {
>             "contextsAllowed": ["attribute"],
>             "standard": {
>                 "url": "https://heycam.github.io/webidl/#SameObject"
>             },
>             "unsupported": true
>         },
> 
> We just don't support [SameObject] in WebKit right now. There are way to
> implement this with JS visitors or [CachedAttribute] though. We do this all
> the time.
> 
> Where are you trying to use it exactly?

MessageEvent.ports seems to be an example of FrozenArray attribute where we've implementation our custom "SameObject" support. You may be able to use that as example.

-- 
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/20210318/c5ab3688/attachment.htm>


More information about the webkit-unassigned mailing list