Intent to Ship: Float16Array

209 views
Skip to first unread message

Chromestatus

unread,
Feb 12, 2025, 10:21:13 PMFeb 12
to blin...@chromium.org, seo...@chromium.org, s...@chromium.org

Contact emails

s...@chromium.org, seo...@chromium.org

Explainer

None

Specification

https://tc39.es/proposal-float16array

Summary

Adds the Float16Array typed array. Number values are rounded to IEEE fp16 when writing into Float16Array instances.



Blink component

Blink>JavaScript>Language

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None.



Gecko: Shipped/Shipping (https://www.mozilla.org/en-US/firefox/129.0/releasenotes)

WebKit: Shipped/Shipping (https://developer.apple.com/documentation/safari-technology-preview-release-notes/stp-release-202)

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

Debuggable like the existing typed array constructors



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

In test262: https://github.com/tc39/test262/pull/3849



Flag name on about://flags

--js-float16array

Finch feature name

V8Flag_js_float16array

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/42203953

Estimated milestones

Shipping on desktop 135
DevTrial on desktop 124
Shipping on Android 135
DevTrial on Android 124
Shipping on WebView 135


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5164400693215232?gate=6205029258887168

This intent message was generated by Chrome Platform Status.

Domenic Denicola

unread,
Feb 12, 2025, 11:55:55 PMFeb 12
to blink-dev, Chromestatus, Seokho Song, Shu-yu Guo
On Thursday, February 13, 2025 at 12:21:13 PM UTC+9 Chromestatus wrote:
Contact emails s...@chromium.org, seo...@chromium.org

Explainer None

Specification https://tc39.es/proposal-float16array

Summary

Adds the Float16Array typed array. Number values are rounded to IEEE fp16 when writing into Float16Array instances.



Blink component Blink>JavaScript>Language

TAG review None

TAG review status Not applicable

Risks


Interoperability and Compatibility

None.



Gecko: Shipped/Shipping (https://www.mozilla.org/en-US/firefox/129.0/releasenotes)

WebKit: Shipped/Shipping (https://developer.apple.com/documentation/safari-technology-preview-release-notes/stp-release-202)

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

Debuggable like the existing typed array constructors



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)? Yes

Is this feature fully tested by web-platform-tests? Yes

In test262: https://github.com/tc39/test262/pull/3849




Canary with experimental web platform features is currently failing these. Can you confirm that shipping Float16Array per this Intent will be enough to make these pass? Or would there be additional work necessary?

Shu-yu Guo

unread,
Feb 13, 2025, 10:38:55 AMFeb 13
to Domenic Denicola, blink-dev, Chromestatus, Seokho Song
Yep, shipping Float16Array will make those tests pass. There is virtual test suite you can see that has the updated expectations once the feature ships. E.g. here's fetch's response-headers tests.

Chris Harrelson

unread,
Feb 13, 2025, 11:30:43 AMFeb 13
to Shu-yu Guo, Domenic Denicola, blink-dev, Chromestatus, Seokho Song
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAN-e9e-QmU6qAKA7kuBM25Wr3kDfrWhjUMXWLMmrMvNZ-OtkGQ%40mail.gmail.com.

Mike Taylor

unread,
Feb 13, 2025, 1:50:47 PMFeb 13
to Chris Harrelson, Shu-yu Guo, Domenic Denicola, blink-dev, Chromestatus, Seokho Song

Domenic Denicola

unread,
Feb 13, 2025, 9:23:13 PMFeb 13
to Mike Taylor, Chris Harrelson, Shu-yu Guo, Domenic Denicola, blink-dev, Chromestatus, Seokho Song
LGTM3
Reply all
Reply to author
Forward
0 new messages