mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1913964 - wasm: Ship js-string-builtins. r=bvisness,yury
Differential Revision: https://phabricator.services.mozilla.com/D229093
This commit is contained in:
parent
f83aed0c99
commit
4f528f7efc
@ -80,11 +80,23 @@ let releasedFeatures = [
|
||||
wasmMemory64Enabled(),
|
||||
`(module (memory i64 0))`,
|
||||
],
|
||||
[
|
||||
'js-string-builtins',
|
||||
wasmJSStringBuiltinsEnabled(),
|
||||
`(module
|
||||
(import "wasm:js-string" "concat"
|
||||
(func
|
||||
(param externref externref)
|
||||
(result (ref extern)))
|
||||
)
|
||||
)`,
|
||||
{builtins: ['js-string']}
|
||||
]
|
||||
];
|
||||
|
||||
for (let [name, enabled, test] of releasedFeatures) {
|
||||
for (let [name, enabled, test, options] of releasedFeatures) {
|
||||
if (release_or_beta) {
|
||||
assertEq(enabled, true, `${name} must be enabled on release and beta`);
|
||||
wasmEvalText(test);
|
||||
wasmEvalText(test, {}, options);
|
||||
}
|
||||
}
|
||||
|
@ -8478,7 +8478,7 @@
|
||||
|
||||
- name: javascript.options.wasm_js_string_builtins
|
||||
type: bool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
set_spidermonkey_pref: always
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user