[Webkit-unassigned] [Bug 242266] New: Align with spec on SharedArrayBuffer availability (COOP+COEP) and postMessage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 1 14:30:55 PDT 2022


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

            Bug ID: 242266
           Summary: Align with spec on SharedArrayBuffer availability
                    (COOP+COEP) and postMessage
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: cdumez at apple.com, webkit-bug-importer at group.apple.com,
                    ysuzuki at apple.com

Brent accidentally sent me down a wormhole that led me here.

In short, we should match the spec as of https://github.com/whatwg/html/pull/4734; this means (tl;dr):

SharedArrayBuffer is available, though the constructor is not, regardless of COOP+COEP, but cannot be sent via postMessage.

With suitable restrictive COOP+COEP headers, the SharedArrayBuffer constructor is available and can be sent via postMessage.

See https://wpt.fyi/results/html/infrastructure/safe-passing-of-structured-data?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned

This also explains Bug 220364.

-- 
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/20220701/43c48d91/attachment-0001.htm>


More information about the webkit-unassigned mailing list