- Apr 10, 2017
-
-
André Bargull authored
* Add Function.prototype.toString tests for many function forms * Add non-const computed property name to Function.prototype.toString tests * Split class method tests into class-expression and class-statement tests * Add tests for unnamed function expression forms * Add tests for async (generator) methods in class contexts * Add test case for Function.prototype.toString on async arrow function
-
André Bargull authored
-
- Apr 07, 2017
-
-
Rick Waldron authored
Update cases for async arrow fns with a line terminator
-
Leo Balter authored
After @rwaldron's feedback: The purpose of the `!` operator is to evaluate an UnaryExpression, coerce the result to a boolean value and then return the negated value of that operation. But that's not what you're trying to do at all—you just want to evaluate the expression to the right of the operator, nothing more, nothing less. In this specific case, you don't even really care about the evaluation, the goal is write valid (or invalid, as the case may be) syntax that is will be parsed according to a specific grammar rule that requires some operator to signal that the thing is an expression and not a Block Statement.
-
- Apr 06, 2017
-
-
Leo Balter authored
Closes #954
-
Daniel Ehrenberg authored
-
Daniel Ehrenberg authored
- Insert a missing .next() call - Avoid overlapping names used in test cases Case files like `src/dstr-binding/ary-ptrn-elem-ary-elision-init.case` are already setting bindings named `g`. Renaming them in the templates prevents overlapping names.
-
Daniel Ehrenberg authored
-
Leo Balter authored
-
Leo Balter authored
-
Shu-yu Guo authored
-
Leo Balter authored
[rebased] Update tests to match latests drafts
-
Leo Balter authored
-
André Bargull authored
Tests doesn't use async functionality and don't call $DONE, so remove "async" flag: - src/params/error/async-gen-named-func-expr.template - test/language/expressions/async-generator/params-named-dflt-abrupt.js - test/language/expressions/async-generator/params-named-dflt-ref-later.js - test/language/expressions/async-generator/params-named-dflt-ref-self.js Intl.PluralRules.prototype is no longer a Intl.Prototype instance: - test/intl402/PluralRules/prototype/prototype.js Intl.PluralRules throws an error when called as a function: - test/intl402/PluralRules/undefined-newtarget-throws.js Module namespace objects call OrdinaryDelete for symbol properties: - test/language/module-code/namespace/internals/delete-non-exported.js Async generators no longer retrieves "done" property twice: - src/async-generators/yield-star-async-next.case - src/async-generators/yield-star-async-return.case - src/async-generators/yield-star-async-throw.case Minor units of CLF is 4, so we need to test with maximumFractionDigits=3 to get an error: - test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js DateTimeFormat.prototype.formatToParts length property was changed from 0 to 1: - test/intl402/DateTimeFormat/prototype/formatToParts/length.js minimumSignificantDigits and maximumSignificantDigits properties are only retrieved once: - test/intl402/NumberFormat/11.1.1_32.js
-
Leo Balter authored
Closes #948
-
Leo Balter authored
-
Leo Balter authored
Fixes for gh-755, per reviews
-
Rick Waldron authored
Signed-off-by:
Rick Waldron <waldron.rick@gmail.com>
-
Daniel Ehrenberg authored
-
Daniel Ehrenberg authored
Bug was reported by @anba at https://github.com/tc39/ecma262/pull/852#issuecomment-291781031 Without this change, you'd expect a RangeError rather than a TypeError.
-
Choongwoo Han authored
-
Leo Balter authored
Corrected typo in annexB templates exsting->existing
-
Rick Waldron authored
Test for the difference between toFixed and toString
-
Rick Waldron authored
Add cases for abrupt completions in yield* in async generator - getIterator
-
Rick Waldron authored
templates for yield star flow
-
Rick Waldron authored
Add cases for abrupt completions in yield* in async generator - next
-
Rick Waldron authored
Add async generator error templates for destructuring binding
-
Rick Waldron authored
Add async generator templates for destructing binding
-
- Mar 29, 2017
-
-
Doug Ilijev authored
Add escape-above-astral.js to cover escaping code units as encoded from extended unicode escape. (#942)
-
- Mar 28, 2017
-
-
Leo Balter authored
-
Leo Balter authored
Closes #883
-
Doug Ilijev authored
-
Leo Balter authored
-
Doug Ilijev authored
-
Leo Balter authored
Closes #873
-
- Mar 27, 2017
-
-
Leo Balter authored
-
Leo Balter authored
-
Leo Balter authored
-
Leo Balter authored
* Tests for throwing a TypeError in the TypedArray constructor on a detached buffer Detached buffer causes an exception - If it's already detached going into the constructor - If the byteOffset coercion causes it to be detached Tests are valid in ES2017 * Test that TypedArray constructor throws when detaching buffer in length calculation This test is only valid with the PR in https://github.com/tc39/ecma262/pull/852 * Rename files per review
-
littledan authored
In https://github.com/tc39/ecma262/pull/853 , standard semantics for this case are proposed. This patch tests the case.
-