[wpt-sync] Sync PR 23323 - Fix idlharness.js' handling of Float(32/64)Array types
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(2 files)
Sync web-platform-tests PR 23323 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23323
Details from upstream follow.
Piotr Bialecki <bialpio@chromium.org> wrote:
Fix idlharness.js' handling of Float(32/64)Array types
idlharness.js does not seem to correctly handle Float32Array and
Float64Array types. When an interface uses such types, the tests will
fail with the exception thrown from idlharness.js:1221:
throw new IdlHarnessError("Unrecognized type " + type);
The Float32Array and Float64Array are types introduced by the ECMAScript
specification so there is no corresponding IDL for them:
https://tc39.es/ecma262/#sec-typedarray-objectsThe fix is to teach idlharness.js how to handle Float(32/64)Array types.
Bug: 1074548
Change-Id: I549f6ae1ea13590207bd4f49b94439ad2a43a13dReviewed-on: https://chromium-review.googlesource.com/2172163
WPT-Export-Revision: 0009b582b2af59796d8843f16756db99aff40645
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9462ef5588c7
https://hg.mozilla.org/mozilla-central/rev/c05f86d05198
Description
•