Closed Bug 1786410 Opened 2 years ago Closed 2 years ago

No support for unions as distinguishing arguments yet

Categories

(Core :: DOM: Bindings (WebIDL), defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1224090

People

(Reporter: chunmin, Unassigned)

Details

No support for unions as distinguishing arguments yet error shows when using constructor(CanvasImageSource image, optional VideoFrameInit init = {}) and constructor(([AllowShared] ArrayBufferView or [AllowShared] ArrayBuffer) data, VideoFrameBufferInit init) at the same time. This is found when implementing VideoFrame in bug 1774300.

The ([AllowShared] ArrayBufferView or [AllowShared] ArrayBuffer) should be replaced by [AllowShared] BufferSource but it's blocked by bug 1696216

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.