Skip to content

Commit 82a1a41

Browse files
committed
Fix escape style of [[GetOwnProperty]] and similar internal methods
ReSpec and Bikeshed requires different escaping here...
1 parent caa4979 commit 82a1a41

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

index.bs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -336,27 +336,27 @@ In all other cases it must be true.
336336
<p>The result of <dfn lt="getting properties|getting the
337337
property|getting a property">getting a property</dfn> with argument <var>name</var> is
338338
defined as being the same as the result of calling
339-
<a>Object</a>.<a>[[\GetOwnProperty]]</a>(<var>name</var>).
339+
<a>Object</a>.<a>\[[GetOwnProperty]]</a>(<var>name</var>).
340340

341341
<p>The result of <dfn lt="getting the property with
342342
default|getting a property with default">getting a property with default</dfn> with
343343
arguments <var>name</var> and <var>default</var> is defined as being
344344
the same as the result of calling
345-
<a>Object</a>.<a>[[\GetOwnProperty]]</a>(<var>name</var>) if that
345+
<a>Object</a>.<a>\[[GetOwnProperty]]</a>(<var>name</var>) if that
346346
results in a value other than <code>undefined</code>
347347
and <var>default</var> otherwise.
348348

349349
<p><dfn lt='set a property'>Setting a property</dfn> with
350350
arguments <var>name</var> and <var>value</var> is defined as being
351351
the same as calling
352-
<a>Object</a>.<a>[[\Put]]</a>(<var>name</var>, <var>value</var>).
352+
<a>Object</a>.<a>\[[Put]]</a>(<var>name</var>, <var>value</var>).
353353

354354
<p>The result of <dfn>JSON serialization</dfn> with <var>object</var>
355355
of type JSON <a>Object</a> is defined as the result of
356-
calling <code>JSON.</code><a>[[\Stringify]]</a>(<var>object</var>).
356+
calling <code>JSON.</code><a>\[[Stringify]]</a>(<var>object</var>).
357357

358358
<p>The result of <dfn lt='parsing as json|JSON deserialization'>JSON deserialization</dfn> with <var>text</var> is defined as
359-
the result of calling <code>JSON.</code><a>[[\Parse]]</a>(<var>text</var>).
359+
the result of calling <code>JSON.</code><a>\[[Parse]]</a>(<var>text</var>).
360360
</section> <!-- /Algorithms -->
361361

362362

@@ -3444,7 +3444,7 @@ make the tab containing the <a>browsing context</a> the selected tab.
34443444
<li><p>Let <var>child window</var> be
34453445
the <a><code>WindowProxy</code></a> object obtained by
34463446
calling
3447-
<var>window</var>.<a lt='window.[[\getOwnProperty]]'><code>[[\GetOwnProperty]]</code></a>
3447+
<var>window</var>.<a lt='window.\[[getOwnProperty]]'><code>\[[GetOwnProperty]]</code></a>
34483448
(<var>id</var>).
34493449

34503450
<li><p>Set the <a>current browsing context</a> to
@@ -4929,7 +4929,7 @@ The <a>remote end steps</a> are:
49294929
with <a>url variable</a> <var>element id</var>.
49304930

49314931
<li><p>Let <var>property</var> be the result of calling
4932-
the <var>element</var>.<a>[[\GetProperty]]</a>(<var>name</var>).
4932+
the <var>element</var>.<a>\[[GetProperty]]</a>(<var>name</var>).
49334933

49344934
<li><p>Let <var>result</var> be the value of
49354935
<var>property</var> if not <a>undefined</a>, or <a><code>null</code></a>.
@@ -6219,7 +6219,7 @@ a <a>remote end</a> must run the following steps:
62196219

62206220
<p>If at any point during the algorithm a <a>user prompt</a> appears,
62216221
abort all subsequent substeps of this algorithm, and return
6222-
<a>Completion</a> { [[\Type]]: <code>normal</code>, [[\Value]]: <a><code>null</code></a>, [[\Target]]: <code>empty</code> }.
6222+
<a>Completion</a> { \[[Type]]: <code>normal</code>, \[[Value]]: <a><code>null</code></a>, \[[Target]]: <code>empty</code> }.
62236223

62246224
<ol>
62256225
<li><p>Let <var>window</var> be the <a>associated window</a>
@@ -6235,7 +6235,7 @@ a <a>remote end</a> must run the following steps:
62356235
<li><p>If <var>body</var> is not parsable as a <a>FunctionBody</a>
62366236
or if parsing detects an <a>early error</a>,
62376237
return
6238-
<a>Completion</a> { [[\Type]]: <code>normal</code>, [[\Value]]: <a><code>null</code></a>, [[\Target]]: <code>empty</code> }.
6238+
<a>Completion</a> { \[[Type]]: <code>normal</code>, \[[Value]]: <a><code>null</code></a>, \[[Target]]: <code>empty</code> }.
62396239

62406240
<li><p>If <var>body</var> begins with a <a>directive prologue</a>
62416241
that contains a <a>use strict directive</a>
@@ -6379,34 +6379,34 @@ The first argument provided to the function will be serialized to JSON and retur
63796379
<ol>
63806380
<li><p>Let <var>resolvingFunctions</var> be <a>CreateResolvingFunctions</a>(<var>promise</var>).
63816381

6382-
<li><p>Append <var>resolvingFunctions</var><code>.[[\Resolve]]</code> to
6382+
<li><p>Append <var>resolvingFunctions</var><code>.\[[Resolve]]</code> to
63836383
<var>arguments</var>.
63846384

63856385
<li><p>Let <var>result</var> be the result of calling
63866386
<a>execute a function body</a>, with arguments
63876387
<var>body</var> and <var>arguments</var>.
63886388

6389-
<li><p>If <var>scriptResult</var>.[[\Type]] is not <code>normal</code>, then <a>reject</a>
6390-
<var>promise</var> with value <var>scriptResult</var>.[[\Value]], and abort these steps.
6389+
<li><p>If <var>scriptResult</var>.\[[Type]] is not <code>normal</code>, then <a>reject</a>
6390+
<var>promise</var> with value <var>scriptResult</var>.\[[Value]], and abort these steps.
63916391

63926392
<p class=note>Prior revisions of this specification did not recognize the
63936393
return value of the provided script. In order to preserve legacy behavior,
63946394
the return value only influences the command if it is a "thenable" object or
63956395
if determining this produces an exception.
63966396

6397-
<li><p>If <a lt="ecmascript type">Type</a>(<var>scriptResult</var>.[[\Value]])
6397+
<li><p>If <a lt="ecmascript type">Type</a>(<var>scriptResult</var>.\[[Value]])
63986398
is not <a>Object</a>, then abort these steps.
63996399

6400-
<li><p>Let <var>then</var> be <a>Get</a>(<var>scriptResult</var>.[[\Value]], "then").
6400+
<li><p>Let <var>then</var> be <a>Get</a>(<var>scriptResult</var>.\[[Value]], "then").
64016401

6402-
<li><p>If <var>then</var>.[[\Type]] is not <code>normal</code>, then <a>reject</a>
6403-
<var>promise</var> with value <var>then</var>.[[\Value]], and abort these steps.
6402+
<li><p>If <var>then</var>.\[[Type]] is not <code>normal</code>, then <a>reject</a>
6403+
<var>promise</var> with value <var>then</var>.\[[Value]], and abort these steps.
64046404

6405-
<li><p>If <a>IsCallable</a>(<var>then</var>.[[\Type]]) is <code>false</code>,
6405+
<li><p>If <a>IsCallable</a>(<var>then</var>.\[[Type]]) is <code>false</code>,
64066406
then abort these steps.
64076407

64086408
<li><p>Let <var>scriptPromise</var> be <a>PromiseResolve</a>(<a>Promise</a>,
6409-
<var>scriptResult</var>.[[\Value]]).
6409+
<var>scriptResult</var>.\[[Value]]).
64106410

64116411
<li><p>Upon fulfillment of <var>scriptPromise</var> with value <var>v</var>,
64126412
<a>resolve</a> <var>promise</var> with value <var>v</var>.
@@ -9766,11 +9766,11 @@ to automatically sort each list alphabetically.
97669766
from the ECMAScript Language Specification:
97679767
<ul>
97689768
<!-- Call --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-13.2.1>Call</a></dfn>
9769-
<!-- Class --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.6.2>[[\Class]]</a></dfn>
9770-
<!-- GetOwnProperty --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.1>[[\GetOwnProperty]]</a></dfn>
9771-
<!-- GetProperty --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.2>[[\GetProperty]]</a></dfn>
9769+
<!-- Class --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.6.2>\[[Class]]</a></dfn>
9770+
<!-- GetOwnProperty --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.1>\[[GetOwnProperty]]</a></dfn>
9771+
<!-- GetProperty --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.2>\[[GetProperty]]</a></dfn>
97729772
<!-- Index of --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.5.4.7>Index of</a></dfn>
9773-
<!-- Put --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.5>[[\Put]]</a></dfn>
9773+
<!-- Put --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.5>\[[Put]]</a></dfn>
97749774
<!-- Substring --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.5.4.15>Substring</a></dfn>
97759775
</ul>
97769776

@@ -9785,9 +9785,9 @@ to automatically sort each list alphabetically.
97859785
<!-- null --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.11><code>null</code></a></dfn>
97869786
<!-- Number --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.19>Number</a></dfn>
97879787
<!-- Object --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.2.1>Object</a></dfn>
9788-
<!-- Parse --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2>[[\Parse]]</a></dfn>
9788+
<!-- Parse --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2>\[[Parse]]</a></dfn>
97899789
<!-- String --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.18>String</a></dfn>
9790-
<!-- Stringify --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3>[[\Stringify]]</a></dfn>
9790+
<!-- Stringify --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3>\[[Stringify]]</a></dfn>
97919791
<!-- ToInteger --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/6.0/#sec-tointeger>ToInteger</a></dfn>
97929792
<!-- undefined --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.9>Undefined</a></dfn>
97939793
</ul>
@@ -9870,7 +9870,7 @@ to automatically sort each list alphabetically.
98709870
<!-- File upload state --> <li><dfn><a href="https://html.spec.whatwg.org/#file-upload-state-(type=file)">File upload state</a></dfn>
98719871
<!-- Focusing steps --> <li><dfn><a href="https://html.spec.whatwg.org/#focusing-steps">Focusing steps</a></dfn>
98729872
<!-- Fousable area --><li><dfn><a href=https://html.spec.whatwg.org/#focusable-area>Focusable area</a></dfn>
9873-
<!-- GetOwnProperty of a Window object --> <li><dfn lt="window.[[\getOwnProperty]]"><a href=https://html.spec.whatwg.org/#windowproxy-getownproperty><code>[[\GetOwnProperty]]</code> of a <code>Window</code> object</a></dfn>
9873+
<!-- GetOwnProperty of a Window object --> <li><dfn lt="window.\[[getOwnProperty]]"><a href=https://html.spec.whatwg.org/#windowproxy-getownproperty><code>\[[GetOwnProperty]]</code> of a <code>Window</code> object</a></dfn>
98749874
<!-- HTMLAllCollection --> <li><dfn><a href=https://html.spec.whatwg.org/#htmlallcollection><code>HTMLAllCollection</code></a></dfn>
98759875
<!-- HTMLFormControlCollection --> <li><dfn><a href=https://html.spec.whatwg.org/#htmlformcontrolscollection><code>HTMLFormControlsCollection</code></a></dfn>
98769876
<!-- HTMLOptionsCollection --> <li><dfn><a href=https://html.spec.whatwg.org/#htmloptionscollection><code>HTMLOptionsCollection</code></a></dfn>

0 commit comments

Comments
 (0)