Skip to content

Commit bb14242

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

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
@@ -337,27 +337,27 @@ In all other cases it must be true.
337337
<p>The result of <dfn lt="getting properties|getting the
338338
property|getting a property">getting a property</dfn> with argument <var>name</var> is
339339
defined as being the same as the result of calling
340-
<a>Object</a>.<a>[[\GetOwnProperty]]</a>(<var>name</var>).
340+
<a>Object</a>.<a>\[[GetOwnProperty]]</a>(<var>name</var>).
341341

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

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

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

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

363363

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

64096409
<li><p>Let <var>scriptPromise</var> be <a>PromiseResolve</a>(<a>Promise</a>,
6410-
<var>scriptResult</var>.[[\Value]]).
6410+
<var>scriptResult</var>.\[[Value]]).
64116411

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

@@ -9786,9 +9786,9 @@ to automatically sort each list alphabetically.
97869786
<!-- null --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.11><code>null</code></a></dfn>
97879787
<!-- Number --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.19>Number</a></dfn>
97889788
<!-- Object --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.2.1>Object</a></dfn>
9789-
<!-- Parse --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2>[[\Parse]]</a></dfn>
9789+
<!-- Parse --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2>\[[Parse]]</a></dfn>
97909790
<!-- String --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.18>String</a></dfn>
9791-
<!-- Stringify --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3>[[\Stringify]]</a></dfn>
9791+
<!-- Stringify --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3>\[[Stringify]]</a></dfn>
97929792
<!-- ToInteger --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/6.0/#sec-tointeger>ToInteger</a></dfn>
97939793
<!-- undefined --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.9>Undefined</a></dfn>
97949794
</ul>
@@ -9871,7 +9871,7 @@ to automatically sort each list alphabetically.
98719871
<!-- File upload state --> <li><dfn><a href="https://html.spec.whatwg.org/#file-upload-state-(type=file)">File upload state</a></dfn>
98729872
<!-- Focusing steps --> <li><dfn><a href="https://html.spec.whatwg.org/#focusing-steps">Focusing steps</a></dfn>
98739873
<!-- Fousable area --><li><dfn><a href=https://html.spec.whatwg.org/#focusable-area>Focusable area</a></dfn>
9874-
<!-- 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>
9874+
<!-- 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>
98759875
<!-- HTMLAllCollection --> <li><dfn><a href=https://html.spec.whatwg.org/#htmlallcollection><code>HTMLAllCollection</code></a></dfn>
98769876
<!-- HTMLFormControlCollection --> <li><dfn><a href=https://html.spec.whatwg.org/#htmlformcontrolscollection><code>HTMLFormControlsCollection</code></a></dfn>
98779877
<!-- HTMLOptionsCollection --> <li><dfn><a href=https://html.spec.whatwg.org/#htmloptionscollection><code>HTMLOptionsCollection</code></a></dfn>

0 commit comments

Comments
 (0)