Bug 232803 - Bindings code doesn't seem to know how to resolve promises with an (a or b) type
Summary: Bindings code doesn't seem to know how to resolve promises with an (a or b) type
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 232558
  Show dependency treegraph
 
Reported: 2021-11-07 17:35 PST by Myles C. Maxfield
Modified: 2021-11-07 18:21 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2021-11-07 17:35:24 PST
DOMPromiseDeferred<IDLNullable<IDLInterface<GPUError>>> doesn't seem to work.
Comment 1 Myles C. Maxfield 2021-11-07 17:56:17 PST
Wait, IDLUnion might be what I want.
Comment 2 Myles C. Maxfield 2021-11-07 18:21:10 PST
Yeah, IDLUnion works.