diff --git a/document/js-api/index.bs b/document/js-api/index.bs
index f99f9f578b..fcfdbf8335 100644
--- a/document/js-api/index.bs
+++ b/document/js-api/index.bs
@@ -34,6 +34,9 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMASCRIPT
text: TypeError; url: sec-native-error-types-used-in-this-standard-typeerror
text: RangeError; url: sec-native-error-types-used-in-this-standard-rangeerror
type: dfn
+ url: sec-returnifabrupt-shorthands
+ text: !
+ text: ?
text: agent cluster; url: sec-agent-clusters
text: agent; url: agent
text: data block; url: sec-data-blocks
@@ -355,9 +358,9 @@ A {{Module}} object represents a single WebAssembly module. Each {{Module}} obje
1. If |module|.[=imports=] [=list/is empty|is not empty=], and |importObject| is undefined, throw a {{TypeError}} exception.
1. Let |imports| be « ».
1. [=list/iterate|For each=] (|moduleName|, |componentName|, |externtype|) of [=module_imports=](|module|),
- 1. Let |o| be ? [=Get=](|importObject|, |moduleName|).
+ 1. Let |o| be [=?=] [=Get=](|importObject|, |moduleName|).
1. If [=Type=](|o|) is not Object, throw a {{TypeError}} exception.
- 1. Let |v| be ? [=Get=](|o|, |componentName|).
+ 1. Let |v| be [=?=] [=Get=](|o|, |componentName|).
1. If |externtype| is of the form [=func=] |functype|,
1. If [=IsCallable=](|v|) is false, throw a {{LinkError}} exception.
1. If |v| has a \[[FunctionAddress]] internal slot, and therefore is an [=Exported Function=],
@@ -403,7 +406,7 @@ The verification of WebAssembly type requirements is deferred to the
@@ -1004,7 +1007,7 @@ This slot holds a [=function address=] relative to the [=surrounding agent=]'s [
1. Let |store| be the [=surrounding agent=]'s [=associated store=].
1. Let |functype| be [=func_type=](|store|, |funcaddr|).
- 1. Let [|parameters|] → [
results] be |functype|.
+ 1. Let [|parameters|] → [|results|] be |functype|.
1. If |parameters| or |results| contain [=v128=], throw a {{TypeError}}.
Note: the above error is thrown each time the \[[Call]] method is invoked.
@@ -1035,19 +1038,19 @@ Note: Exported Functions do not have a \[[Construct]] method and thus it is not
To run a host function from the JavaScript object |func|, type |functype|, and [=list=] of [=WebAssembly values=] |arguments|, perform the following steps:
- 1. Let [parameters] → [|results|] be |functype|.
+ 1. Let [|parameters|] → [|results|] be |functype|.
1. If |parameters| or |results| contain [=v128=], throw a {{TypeError}}.
1. Let |jsArguments| be « ».
1. [=list/iterate|For each=] |arg| of |arguments|,
- 1. [=list/Append=] ! [=ToJSValue=](|arg|) to |jsArguments|.
- 1. Let |ret| be ? [=Call=](|func|, undefined, |jsArguments|).
+ 1. [=list/Append=] [=!=] [=ToJSValue=](|arg|) to |jsArguments|.
+ 1. Let |ret| be [=?=] [=Call=](|func|, undefined, |jsArguments|).
1. Let |resultsSize| be |results|'s [=list/size=].
1. If |resultsSize| is 0, return « ».
- 1. Otherwise, if |resultsSize| is 1, return « ? [=ToWebAssemblyValue=](|ret|, |results|[0]) ».
+ 1. Otherwise, if |resultsSize| is 1, return « [=?=] [=ToWebAssemblyValue=](|ret|, |results|[0]) ».
1. Otherwise,
- 1. Let |method| be ? [=GetMethod=](|ret|, [=@@iterator=]).
+ 1. Let |method| be [=?=] [=GetMethod=](|ret|, [=@@iterator=]).
1. If |method| is undefined, [=throw=] a {{TypeError}}.
- 1. Let |values| be ? [=IterableToList=](|ret|, |method|).
+ 1. Let |values| be [=?=] [=IterableToList=](|ret|, |method|).
1. Let |wasmValues| be a new, empty [=list=].
1. If |values|'s [=list/size=] is not |resultsSize|, throw a {{TypeError}} exception.
1. For each |value| and |resultType| in |values| and |results|, paired linearly,
@@ -1109,16 +1112,16 @@ The algorithm ToWebAssemblyValue(|v|, |type|) coerces a JavaScript va
1. Assert: |type| is not [=v128=].
1. If |type| is [=i64=],
- 1. Let |i64| be ? [=ToBigInt64=](|v|).
+ 1. Let |i64| be [=?=] [=ToBigInt64=](|v|).
1. Return [=i64.const=] |i64|.
1. If |type| is [=i32=],
- 1. Let |i32| be ? [=ToInt32=](|v|).
+ 1. Let |i32| be [=?=] [=ToInt32=](|v|).
1. Return [=i32.const=] |i32|.
1. If |type| is [=f32=],
- 1. Let |f32| be ? [=ToNumber=](|v|) rounded to the nearest representable value using IEEE 754-2008 round to nearest, ties to even mode.
+ 1. Let |f32| be [=?=] [=ToNumber=](|v|) rounded to the nearest representable value using IEEE 754-2008 round to nearest, ties to even mode.
1. Return [=f32.const=] |f32|.
1. If |type| is [=f64=],
- 1. Let |f64| be ? [=ToNumber=](|v|).
+ 1. Let |f64| be [=?=] [=ToNumber=](|v|).
1. Return [=f64.const=] |f64|.
1. If |type| is [=funcref=],
1. If |v| is null,
@@ -1150,7 +1153,7 @@ When the [=namespace object=] for the {{WebAssembly}} namespace is [=create a na
1. Let |namespaceObject| be the [=namespace object=].
1. [=list/iterate|For each=] |error| of « "CompileError", "LinkError", "RuntimeError" »,
1. Let |constructor| be a new object, implementing the [=NativeError Object Structure=], with NativeError set to |error|.
- 1. ! [$CreateMethodProperty$](|namespaceObject|, |error|, |constructor|).
+ 1. [=!=] [$CreateMethodProperty$](|namespaceObject|, |error|, |constructor|).
diff --git a/document/web-api/index.bs b/document/web-api/index.bs
index 6022221296..1e74e09414 100644
--- a/document/web-api/index.bs
+++ b/document/web-api/index.bs
@@ -32,12 +32,6 @@ Prepare For TR: true
"title": "WebAssembly JS Integration Specification",
"publisher": "W3C WebAssembly Community Group",
"status": "Draft"
- },
- "SECURECONTEXTS": {
- "href": "https://w3c.github.io/webappsec-secure-contexts/",
- "title": "Secure Contexts",
- "publisher": "WebAppSec WG",
- "status": "Candidate Recommendation"
}
}
@@ -71,7 +65,6 @@ urlPrefix: https://webassembly.github.io/spec/js-api/; spec: WASMJS
text: Exported Function; url: #exported-function
url:https://html.spec.whatwg.org/#cors-same-origin;text:CORS-same-origin;type:dfn;spec:HTML
url:https://fetch.spec.whatwg.org/#concept-body-consume-body;text:consume body;type:dfn;spec:FETCH
-url:https://w3c.github.io/webappsec-secure-contexts/#environment-settings-object-contextually-secure; text:contextually secure; type: dfn; spec: SECURECONTEXTS
@@ -151,7 +144,7 @@ The [=serialization steps=], given |value|, |serialized|, and |forStorage|, are:
1. Set |serialized|.\[[AgentCluster]] to the [=current Realm=]'s corresponding [=agent cluster=].
-The [=deserialization steps=], given |serialized| and |value|, are:
+The [=deserialization steps=], given |serialized|, |value|, and |targetRealm| are:
1. Let |bytes| be the [=sub-deserialization=] of |serialized|.\[[Bytes]].