Hide wasm final types behind a flag by default
Categories
(Core :: JavaScript: WebAssembly, task, P2)
Tracking
()
People
(Reporter: jpages, Assigned: jpages)
References
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
The patch with wasm final types has landed a few days ago.
Some external tools are broken because of all types (with wasm-gc) are now final by default.
This feature could be behind a flag for now to not break existing tools and give them more time to do the transition.
| Assignee | ||
Comment 2•2 years ago
|
||
This commit puts final types (part of the wasm-gc spec) behind a flag
for a smoother transition with this feature. Final types are now disabled
by default.
javascript.options.wasm_final_types is the browser pref.
--wasm-final-types is the js shell option.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
Comment 5•2 years ago
|
||
Comment on attachment 9346157 [details]
Bug 1843668 - Add an option and pref to enable wasm-gc final types. r=rhunt
Beta/Release Uplift Approval Request
- User impact if declined: The Kotlin programming is experimenting with using the wasm-gc feature, which is available behind a pref. We recently made a breaking change to the proposal that causes Kotlin apps to no longer work with wasm-gc. We decided it'd be better to make the breaking change in the final release of the feature (sometime this fall) to minimize disruption. So we wrote this patch to hide it behind another pref.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Patch has been tested in Nightly. Patch was manually tested on beta branch. It only affects the Wasm-GC proposal which must be enabled via a pref, so this will only effect users that are experimenting with it (like Kotlin).
- String changes made/needed:
- Is Android affected?: Yes
Comment 6•2 years ago
|
||
Comment on attachment 9346157 [details]
Bug 1843668 - Add an option and pref to enable wasm-gc final types. r=rhunt
Approved for 117.0b5
Updated•2 years ago
|
Description
•