-
Notifications
You must be signed in to change notification settings - Fork 0
Phase 2 Notes
Rick Waldron edited this page Apr 7, 2015
·
24 revisions
-
Class
- Cover more syntax errors defined in https://people.mozilla.org/~jorendorff/es6-draft.html#sec-class-definitions
-
Computed Property Names
- Generator versions of all tests
- Integer literals as computed property key names:
test/language/computed-property-names/computed-property-names-double-name.js
- Binary
- Hexadecimal
- Octal
- "prototype" property in class body
-
generators
- Syntax tests for
yield *
formations - Semantics for
return
prototype method (not yet implemented in V8)
- Syntax tests for
-
for..of
- continue/break/return from a
finally
block - https://github.com/tc39/test262/pull/184#commitcomment-10003361
- continue/break/return from a
-
Native iterators
- Subclass prototypes. V8 incorrectly asserts that they should be
Object.prototype
, while the spec states that they should beIteratorPrototype
(see 23.2.5.2 The %SetIteratorPrototype% Object for example). Issue filed against V8 -
next
methods should throw aTypeError
if the context does not have all the internal slots of the appropriate iterator interface (e.g. 22.1.5.2.1 %ArrayIteratorPrototype%.next( ), step 3). Specifically test this is the case even when such an object is in the context's prototype chain. See this comment for context.
- Subclass prototypes. V8 incorrectly asserts that they should be
-
Symbol
- Well-Known Symbols
- Symbol.for
- Symbol.keyFor
- Object.getOwnPropertySymbols
- Object.getOwnPropertyNames
- Doesn't return symbols
- Object.getOwnPropertyDescriptor
- Object.keys
- Doesn't return symbols
- Object.defineProperty
- Accessors
- default
- writable
- configurable
- Accessors
-
- boolean
- function
- number
- object
- string
- symbol
- undefined
-
String
-
raw
method lacks meaningful tests
-
-
Annex E
-
Write proposal for %ArgumentsPrototype%
- Model after %IteratorPrototype%