[Webkit-unassigned] [Bug 171419] Serializing and deserializing SharedArrayBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 18:50:08 PDT 2021


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

--- Comment #5 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to Chris Dumez from comment #4)
> (In reply to Yusuke Suzuki from comment #3)
> > (In reply to Chris Dumez from comment #2)
> > > (In reply to Yusuke Suzuki from comment #1)
> > > > @Chris
> > > > I opened
> > > > https://w3c-test.org/html/infrastructure/safe-passing-of-structured-data/
> > > > shared-array-buffers/serialization-via-history.https.html and it said there
> > > > is no SharedArrayBuffer.
> > > > Are some headers missing?
> > > 
> > > I see:
> > > assert_throws_dom: function "() => { history[method](new
> > > SharedArrayBuffer(), "dummy title"); }" did not throw
> > > 
> > > The subtests are failing for me but not due to lack of SharedArrayBuffer
> > > support.
> > > 
> > > From Web Inspector, I can see that the test is serving the COOP+COEP headers:
> > > Cross-Origin-Embedder-Policy: require-corp
> > > Cross-Origin-Opener-Policy: same-origin
> > > 
> > > @Yusuke, I've enabled COOP + COEP by default only very recently. Maybe you
> > > tested on a build that didn't have them enabled yet?
> > 
> > Thanks!
> > Hmm, I've tried opening
> > https://w3c-test.org/html/infrastructure/safe-passing-of-structured-data/
> > shared-array-buffers/serialization-via-history.https.html with WebKit
> > r282238, but I'm getting an error
> > 
> > assert_throws_dom: function "() => { history[method](new
> > SharedArrayBuffer(), "dummy title"); }" threw object "ReferenceError: Can't
> > find variable: SharedArrayBuffer" that is not a DOMException DataCloneError:
> > property "code" is equal to undefined, expected 25
> > 
> > I also opened the inspector, and it seems that SharedArrayBuffer is not
> > defined.
> > Is some flag necessary?
> 
> Oh, I had not correctly enabled the COEP feature. Fixed in
> https://commits.webkit.org/r282245.

Nice!!

-- 
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/20210910/0d2dd35c/attachment.htm>


More information about the webkit-unassigned mailing list