Skip to content

Commit

Permalink
Editorial: Remove usage of white/black list
Browse files Browse the repository at this point in the history
See whatwg/html#265 for context and #426 for further discussion.

Closes #426.
  • Loading branch information
annevk authored and bterlson committed Mar 18, 2016
1 parent 4275138 commit 58e1c0b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -30572,17 +30572,17 @@ <h1>Array.prototype [ @@iterator ] ( )</h1>
<h1>Array.prototype [ @@unscopables ]</h1>
<p>The initial value of the @@unscopables data property is an object created by the following steps:</p>
<emu-alg>
1. Let _blackList_ be ObjectCreate(*null*).
1. Perform CreateDataProperty(_blackList_, `"copyWithin"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"entries"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"fill"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"find"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"findIndex"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"includes"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"keys"`, *true*).
1. Perform CreateDataProperty(_blackList_, `"values"`, *true*).
1. Let _unscopableList_ be ObjectCreate(*null*).
1. Perform CreateDataProperty(_unscopableList_, `"copyWithin"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"entries"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"fill"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"find"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"findIndex"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"includes"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"keys"`, *true*).
1. Perform CreateDataProperty(_unscopableList_, `"values"`, *true*).
1. Assert: Each of the above calls will return *true*.
1. Return _blackList_.
1. Return _unscopableList_.
</emu-alg>
<p>This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.</p>
<emu-note>
Expand Down Expand Up @@ -33547,7 +33547,7 @@ <h1>Runtime Semantics: InternalizeJSONProperty( _holder_, _name_)</h1>
<!-- es6num="24.3.2" -->
<emu-clause id="sec-json.stringify">
<h1>JSON.stringify ( _value_ [ , _replacer_ [ , _space_ ] ] )</h1>
<p>The `stringify` function returns a String in UTF-16 encoded JSON format representing an ECMAScript value. It can take three parameters. The _value_ parameter is an ECMAScript value, which is usually an object or array, although it can also be a String, Boolean, Number or *null*. The optional _replacer_ parameter is either a function that alters the way objects and arrays are stringified, or an array of Strings and Numbers that acts as a white list for selecting the object properties that will be stringified. The optional _space_ parameter is a String or Number that allows the result to have white space injected into it to improve human readability.</p>
<p>The `stringify` function returns a String in UTF-16 encoded JSON format representing an ECMAScript value. It can take three parameters. The _value_ parameter is an ECMAScript value, which is usually an object or array, although it can also be a String, Boolean, Number or *null*. The optional _replacer_ parameter is either a function that alters the way objects and arrays are stringified, or an array of Strings and Numbers that acts as an inclusion list for selecting the object properties that will be stringified. The optional _space_ parameter is a String or Number that allows the result to have white space injected into it to improve human readability.</p>
<p>These are the steps in stringifying an object:</p>
<emu-alg>
1. Let _stack_ be a new empty List.
Expand Down

0 comments on commit 58e1c0b

Please sign in to comment.