← Back to release summary

WebAssembly Reference Types

Category
WebAssembly
Type
New or changed feature
Status
Enabled by default (Chrome 96)
Intent stage
Shipped

WPT details: Tests are available as part of the WebAssembly spec tests: https://github.com/WebAssembly/spec/tree/master/test/core

Summary

Allow WebAssembly modules to hold references to JS/DOM objects, passing them as arguments, storing them in locals and globals, and storing them in WebAssembly.Table objects.

Standards & signals

Ecosystem

Docs: https://github.com/WebAssembly/reference-types/blob/master/proposals/reference-types/Overview.md

Explainers: https://github.com/WebAssembly/reference-types/blob/master/proposals/reference-types/Overview.md

View on chromestatus.com