Open Bug 1718837 Opened 4 years ago Updated 8 months ago

Add BigInt64Array and BigUint64Array support to IDL bindings generator

Categories

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

task

Tracking

()

Tracking Status
firefox91 --- affected

People

(Reporter: TimothyGu, Unassigned)

References

()

Details

See https://github.com/heycam/webidl/pull/936. A summary of changes are:

  • BigInt64Array and BigUint64Array are introduced as keywords of the Web IDL language
  • The ArrayBufferView and BufferSource aliases now include BigInt64Array and BigUint64Array as part of the union.

It looks like this may already have been partially implemented, since

new Blob([
  new BigInt64Array([0x5353415053534150n])
]);

appears to work as expected.

Tests: https://github.com/web-platform-tests/wpt/pull/27920

Bug 1955060 has a patch to implement this.

You need to log in before you can comment on or make changes to this bug.