Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6

This commit is contained in:
WPT Sync Bot 2019-11-17 10:33:25 +00:00
parent 39963266ae
commit ea00d34098
392 changed files with 5974 additions and 7614 deletions

View file

@ -553,9 +553,9 @@ class WasmModuleBuilder {
return this.num_imported_funcs++;
}
addImportedGlobal(module, name, type) {
addImportedGlobal(module, name, type, mutable = false) {
let o = {module: module, name: name, kind: kExternalGlobal, type: type,
mutable: false}
mutable: mutable};
this.imports.push(o);
return this.num_imported_globals++;
}