Bug 228608 - postMessage() should throw if any duplicate transferable is found in transferList
Summary: postMessage() should throw if any duplicate transferable is found in transfer...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-29 14:39 PDT by Chris Dumez
Modified: 2021-07-30 08:51 PDT (History)
11 users (show)

See Also:


Attachments
Patch (5.14 KB, patch)
2021-07-29 14:43 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (7.87 KB, patch)
2021-07-29 16:33 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>