You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/js-api/index.bs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -679,7 +679,7 @@ Note: The use of this synchronous API is discouraged, as some implementations so
679
679
dictionary MemoryDescriptor {
680
680
required AddressValue initial;
681
681
AddressValue maximum;
682
-
AddressType addressType;
682
+
AddressType address;
683
683
};
684
684
685
685
[LegacyNamespace=WebAssembly, Exposed=*]
@@ -748,7 +748,7 @@ which can be simultaneously referenced by multiple {{Instance}} objects. Each
748
748
749
749
<div algorithm>
750
750
The <dfn constructor for="Memory">Memory(|descriptor|)</dfn> constructor, when invoked, performs the following steps:
751
-
1. If |descriptor|["addressType"][=map/exists=], let |addrtype| be |descriptor|["addressType"]; otherwise, let |addrtype| be "i32".
751
+
1. If |descriptor|["address"][=map/exists=], let |addrtype| be |descriptor|["address"]; otherwise, let |addrtype| be "i32".
752
752
1. Let |initial| be [=?=][=AddressValueToU64=](|descriptor|["initial"], |addrtype|).
753
753
1. If |descriptor|["maximum"][=map/exists=], let |maximum| be [=?=][=AddressValueToU64=](|descriptor|["maximum"], |addrtype|); otherwise, let |maximum| be empty.
754
754
1. If |maximum| is not empty and |maximum| < |initial|, throw a {{RangeError}} exception.
@@ -875,7 +875,7 @@ dictionary TableDescriptor {
875
875
required TableKind element;
876
876
required AddressValue initial;
877
877
AddressValue maximum;
878
-
AddressType addressType;
878
+
AddressType address;
879
879
};
880
880
881
881
[LegacyNamespace=WebAssembly, Exposed=*]
@@ -915,7 +915,7 @@ Each {{Table}} object has a \[[Table]] internal slot, which is a [=table address
915
915
1. Let |elementtype| be [=ToValueType=](|descriptor|["element"]).
916
916
1. If |elementtype| is not a [=reftype=],
917
917
1. [=Throw=] a {{TypeError}} exception.
918
-
1. If |descriptor|["addressType"][=map/exists=], let |addrtype| be |descriptor|["addressType"]; otherwise, let |addrtype| be "i32".
918
+
1. If |descriptor|["address"][=map/exists=], let |addrtype| be |descriptor|["address"]; otherwise, let |addrtype| be "i32".
919
919
1. Let |initial| be [=?=][=AddressValueToU64=](|descriptor|["initial"], |addrtype|).
920
920
1. If |descriptor|["maximum"][=map/exists=], let |maximum| be [=?=][=AddressValueToU64=](|descriptor|["maximum"], |addrtype|); otherwise, let |maximum| be empty.
921
921
1. If |maximum| is not empty and |maximum| < |initial|, throw a {{RangeError}} exception.
0 commit comments