Bug 228608

Summary: postMessage() should throw if any duplicate transferable is found in transferList
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, beidson, cdumez, darin, ews-watchlist, ggaren, jsbell, sam, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializewithtransfer
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2021-07-29 14:39:45 PDT
postMessage() should throw if any duplicate transferable is found in transferList:
- https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializewithtransfer (Step 2.3)
Comment 1 Chris Dumez 2021-07-29 14:43:28 PDT
Created attachment 434575 [details]
Patch
Comment 2 Chris Dumez 2021-07-29 16:33:36 PDT
Created attachment 434587 [details]
Patch
Comment 3 EWS 2021-07-30 08:48:02 PDT
Committed r280476 (240111@main): <https://commits.webkit.org/240111@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 434587 [details].
Comment 4 Radar WebKit Bug Importer 2021-07-30 08:51:43 PDT
<rdar://problem/81327518>