Skip to content

Commit 90b5184

Browse files
authored
Meta: address Bikeshed errors
1 parent acbbd5f commit 90b5184

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

index.bs

+20-20
Original file line numberDiff line numberDiff line change
@@ -5065,7 +5065,7 @@ over just using {{SyntaxError!!exception}} to refer to the {{DOMException}}. [[D
50655065
<tbody>
50665066
<tr class="deprecated">
50675067
<td>"<dfn id="indexsizeerror" exception export><code>IndexSizeError</code></dfn>"</td>
5068-
<td><strong>Deprecated.</strong> Use {{RangeError}} instead.</td></td>
5068+
<td><strong>Deprecated.</strong> Use {{RangeError}} instead.</td>
50695069
<td><dfn id="dom-domexception-index_size_err" for="DOMException" const export><code>INDEX_SIZE_ERR</code></dfn>&nbsp;(1)</td>
50705070
</tr>
50715071
<tr>
@@ -5075,7 +5075,7 @@ over just using {{SyntaxError!!exception}} to refer to the {{DOMException}}. [[D
50755075
</tr>
50765076
<tr>
50775077
<td>"<dfn id="wrongdocumenterror" exception export><code>WrongDocumentError</code></dfn>"</td>
5078-
<td>The object is in the wrong [=document=]. [[DOM]]</td>
5078+
<td>The object is in the wrong [=/document=]. [[DOM]]</td>
50795079
<td><dfn id="dom-domexception-wrong_document_err" for="DOMException" const export><code>WRONG_DOCUMENT_ERR</code></dfn>&nbsp;(4)</td>
50805080
</tr>
50815081
<tr>
@@ -7649,7 +7649,7 @@ value when its bit pattern is interpreted as an [=/64-bit unsigned integer=].
76497649
</div>
76507650

76517651
<p id="DOMString-to-js">
7652-
<span id="DOMString-to-es"></script>
7652+
<span id="DOMString-to-es"></span>
76537653
The result of [=converted to a JavaScript value|converting=]
76547654
an IDL {{DOMString}} value to a JavaScript
76557655
value is the String
@@ -7675,7 +7675,7 @@ value when its bit pattern is interpreted as an [=/64-bit unsigned integer=].
76757675
</div>
76767676

76777677
<p id="ByteString-to-js">
7678-
<span id="ByteString-to-es"></script>
7678+
<span id="ByteString-to-es"></span>
76797679
The result of [=converted to a JavaScript value|converting=]
76807680
an IDL {{ByteString}} value to a JavaScript
76817681
value is a String
@@ -8249,7 +8249,7 @@ IDL [=promise type=] values are represented by JavaScript [=PromiseCapability=]
82498249
<code><a interface>Promise</a>&lt;<var ignore>T</var>&gt;</code> in a [=realm=] |realm|,
82508250
perform the following steps:
82518251

8252-
1. Let |constructor| be |realm|.\[[Intrinsics]].[[{{%Promise%}}]].
8252+
1. Let |constructor| be |realm|.\[[Intrinsics]].\[[{{%Promise%}}]].
82538253
1. Return [=?=] [$NewPromiseCapability$](|constructor|).
82548254
</div>
82558255

@@ -8261,7 +8261,7 @@ IDL [=promise type=] values are represented by JavaScript [=PromiseCapability=]
82618261

82628262
1. Let |value| be the result of [=converted to a JavaScript value|converting=] |x| to a
82638263
JavaScript value.
8264-
1. Let |constructor| be |realm|.\[[Intrinsics]].[[{{%Promise%}}]].
8264+
1. Let |constructor| be |realm|.\[[Intrinsics]].\[[{{%Promise%}}]].
82658265
1. Let |promiseCapability| be [=?=] [$NewPromiseCapability$](|constructor|).
82668266
1. Perform [=!=] [$Call$](|promiseCapability|.\[[Resolve]], <emu-val>undefined</emu-val>,
82678267
« |value| »).
@@ -8274,7 +8274,7 @@ IDL [=promise type=] values are represented by JavaScript [=PromiseCapability=]
82748274
<code><a interface>Promise</a>&lt;<var ignore>T</var>&gt;</code>, with reason |r| (a
82758275
JavaScript value) in a [=realm=] |realm|, perform the following steps:
82768276

8277-
1. Let |constructor| be |realm|.\[[Intrinsics]].[[{{%Promise%}}]].
8277+
1. Let |constructor| be |realm|.\[[Intrinsics]].\[[{{%Promise%}}]].
82788278
1. Let |promiseCapability| be [=?=] [$NewPromiseCapability$](|constructor|).
82798279
1. Perform [=!=] [$Call$](|promiseCapability|.\[[Reject]], <emu-val>undefined</emu-val>,
82808280
« |r| »).
@@ -8325,7 +8325,7 @@ IDL [=promise type=] values are represented by JavaScript [=PromiseCapability=]
83258325
[=a promise rejected with=] |reason|.
83268326
1. Return |result|, [=converted to a JavaScript value=].
83278327
1. Let |onRejected| be [$CreateBuiltinFunction$](|onRejectedSteps|, « »):
8328-
1. Let |constructor| be |promise|.\[[Promise]].\[[Realm]].\[[Intrinsics]].[[{{%Promise%}}]].
8328+
1. Let |constructor| be |promise|.\[[Promise]].\[[Realm]].\[[Intrinsics]].\[[{{%Promise%}}]].
83298329
1. Let |newCapability| be [=?=] [$NewPromiseCapability$](|constructor|).
83308330

83318331
Note: Not all callers will use the returned {{Promise}}. Implementations might wish to
@@ -8900,7 +8900,7 @@ a reference to the same object that the IDL value represents.
89008900
|bytes| in a [=realm=] |realm|:
89018901

89028902
1. Let |jsArrayBuffer| be [=?=]
8903-
[$AllocateArrayBuffer$](|realm|.\[[Intrinsics]].[[{{%ArrayBuffer%}}]], |bytes|'s
8903+
[$AllocateArrayBuffer$](|realm|.\[[Intrinsics]].\[[{{%ArrayBuffer%}}]], |bytes|'s
89048904
[=byte sequence/length=]).
89058905
1. Let |arrayBuffer| be the result of [=converted to an IDL value|converting=] |jsArrayBuffer|
89068906
to an IDL value of type {{ArrayBuffer}}.
@@ -8913,7 +8913,7 @@ a reference to the same object that the IDL value represents.
89138913
[=byte sequence=] |bytes| in a [=realm=] |realm|:
89148914

89158915
1. Let |jsSharedArrayBuffer| be [=?=]
8916-
[$AllocateSharedArrayBuffer$](|realm|.\[[Intrinsics]].[[{{%SharedArrayBuffer%}}]], |bytes|'s
8916+
[$AllocateSharedArrayBuffer$](|realm|.\[[Intrinsics]].\[[{{%SharedArrayBuffer%}}]], |bytes|'s
89178917
[=byte sequence/length=]).
89188918
1. Let |sharedArrayBuffer| be the result of [=converted to an IDL value|converting=]
89198919
|jsSharedArrayBuffer| to an IDL value of type {{SharedArrayBuffer}}.
@@ -9089,7 +9089,7 @@ a reference to the same object that the IDL value represents.
90899089
1. Perform [=?=] [$DetachArrayBuffer$](|jsArrayBuffer|).
90909090
1. If |targetRealm| is not given, let |targetRealm| be the [=current realm=].
90919091
1. Let |jsTransferred| be [=?=]
9092-
[$AllocateArrayBuffer$](|targetRealm|.\[[Intrinsics]].[[{{%ArrayBuffer%}}]], 0).
9092+
[$AllocateArrayBuffer$](|targetRealm|.\[[Intrinsics]].\[[{{%ArrayBuffer%}}]], 0).
90939093
1. Set |jsTransferred|.\[[ArrayBufferData]] to |arrayBufferData|.
90949094
1. Set |jsTransferred|.\[[ArrayBufferByteLength]] to |arrayBufferByteLength|.
90959095
1. Return the result of [=converted to an IDL value|converting=] |jsTransferred| to an IDL
@@ -11561,7 +11561,7 @@ default interfaces do not have such steps.
1156111561
1. Assert: |O| is an object that [=implements=] |I|.
1156211562
1. Assert: |O|.\[[Realm]] is |realm|.
1156311563
1. Return |O|.
11564-
1. Let |constructorProto| be |realm|.\[[Intrinsics]].[[{{%Function.prototype%}}]].
11564+
1. Let |constructorProto| be |realm|.\[[Intrinsics]].\[[{{%Function.prototype%}}]].
1156511565
1. If |I| inherits from some other interface |P|,
1156611566
then set |constructorProto| to the [=interface object=] of |P| in |realm|.
1156711567
1. Let |F| be <a abstract-op>CreateBuiltinFunction</a>(|steps|, « \[[Unforgeables]] »,
@@ -11662,8 +11662,8 @@ with the [{{LegacyNoInterfaceObject}}] [=extended attribute=].
1166211662
then set |proto| to the [=interface prototype object=] in |realm|
1166311663
of that [=inherited interface=].
1166411664
1. Otherwise, if |interface| is the {{DOMException}} [=interface=],
11665-
then set |proto| to |realm|.\[[Intrinsics]].[[{{%Error.prototype%}}]].
11666-
1. Otherwise, set |proto| to |realm|.\[[Intrinsics]].[[{{%Object.prototype%}}]].
11665+
then set |proto| to |realm|.\[[Intrinsics]].\[[{{%Error.prototype%}}]].
11666+
1. Otherwise, set |proto| to |realm|.\[[Intrinsics]].\[[{{%Object.prototype%}}]].
1166711667
1. Assert: |proto| [=is an Object=].
1166811668
1. Let |interfaceProtoObj| be null.
1166911669
1. If |realm|'s [=is global prototype chain mutable=] is true, then:
@@ -11761,7 +11761,7 @@ for that interface on which named properties are exposed.
1176111761
1. Let |proto| be null.
1176211762
1. If |interface| is declared to inherit from another interface,
1176311763
then set |proto| to the [=interface prototype object=] in |realm| for the [=inherited interface=].
11764-
1. Otherwise, set |proto| to |realm|.\[[Intrinsics]].[[{{%Object.prototype%}}]].
11764+
1. Otherwise, set |proto| to |realm|.\[[Intrinsics]].\[[{{%Object.prototype%}}]].
1176511765
1. Let |obj| be [$MakeBasicObject$](« \[[Prototype]], \[[Extensible]] »).
1176611766
1. Set |obj|.\[[GetOwnProperty]] as specified in [[#named-properties-object-getownproperty]].
1176711767
1. Set |obj|.\[[DefineOwnProperty]] as specified in [[#named-properties-object-defineownproperty]].
@@ -14531,7 +14531,7 @@ The characteristics of a namespace object are described in [[#namespace-object]]
1453114531
The namespace object for a given [=namespace=] |namespace| and [=realm=] |realm|
1453214532
is <dfn lt="create a namespace object">created</dfn> as follows:
1453314533

14534-
1. Let |namespaceObject| be [$OrdinaryObjectCreate$](|realm|.\[[Intrinsics]].[[{{%Object.prototype%}}]]).
14534+
1. Let |namespaceObject| be [$OrdinaryObjectCreate$](|realm|.\[[Intrinsics]].\[[{{%Object.prototype%}}]]).
1453514535
1. [=Define the regular attributes=] of |namespace| on |namespaceObject| given |realm|.
1453614536
1. [=Define the regular operations=] of |namespace| on |namespaceObject| given |realm|.
1453714537
1. [=Define the constants=] of |namespace| on |namespaceObject| given |realm|.
@@ -14585,7 +14585,7 @@ A {{DOMException}} is represented by a
1458514585

1458614586
1. Let |args| be « |message| ».
1458714587

14588-
1. Let |constructor| be [=current realm=].\[[Intrinsics]].[[%|T|%]].
14588+
1. Let |constructor| be [=current realm=].\[[Intrinsics]].\[[%|T|%]].
1458914589

1459014590
1. Return [=!=] [$Construct$](|constructor|, |args|).
1459114591
</div>
@@ -14917,7 +14917,7 @@ Extensions to any other aspect of the IDL language are
1491714917
strongly discouraged.
1491814918

1491914919

14920-
<h2 id="legacy-constructs">Legacy constructs</h4>
14920+
<h2 id="legacy-constructs">Legacy constructs</h2>
1492114921

1492214922
<i>This section is informative.</i>
1492314923

@@ -15195,14 +15195,14 @@ defined in this specification — see
1519515195
for the syntaxes that are used by these extended attributes.
1519615196

1519715197

15198-
<h2 id="conventions" class="no-num">Document conventions</h3>
15198+
<h2 id="conventions" class="no-num">Document conventions</h2>
1519915199

1520015200
The following typographic conventions are used in this document:
1520115201

1520215202
* Defining instances of terms: <dfn id="dfn-example-term">example term</dfn>
1520315203
* Links to terms defined in this document or elsewhere: [=example term=]
1520415204
* Grammar terminals: <emu-t>sometoken</emu-t>
15205-
* Grammar non-terminals: <emu-nt>ExampleGrammarNonTerminal</emu-t>
15205+
* Grammar non-terminals: <emu-nt>ExampleGrammarNonTerminal</emu-nt>
1520615206
* Grammar symbols: <emu-t class="regex">identifier</emu-t>
1520715207
* IDL types: {{unsigned long}}
1520815208
* JavaScript classes: {{Map}}

0 commit comments

Comments
 (0)