- May 17, 2017
-
-
Mathias Bynens authored
Thanks to @anba for spotting this: https://github.com/tc39/test262/pull/1014/files/4843f049fafb6cdd61e3be011e3701cc94a9fe46#r116528031
-
- May 01, 2017
-
-
Leo Balter authored
* Split order tests for RegExp#flags * small fixes for RegExp named groups * Remove invalid syntax * The test mustn't include the global flag
- Apr 27, 2017
-
-
Leo Balter authored
-
Daniel Ehrenberg authored
Tests for the stage 3 proposal at https://tc39.github.io/proposal-regexp-lookbehind/ Tests ported from V8, written by @hashseed
-
Leo Balter authored
-
Leo Balter authored
-
Leo Balter authored
-
Daniel Ehrenberg authored
Proposal from @mathiasbynens at https://github.com/tc39/proposal-regexp-dotall-flag and https://tc39.github.io/proposal-regexp-dotall-flag/
-
Daniel Ehrenberg authored
Tests against the Stage 3 named capture groups proposal https://tc39.github.io/proposal-regexp-named-groups
-
- Apr 18, 2017
-
-
Mathias Bynens authored
-
Mike Pennisi authored
-
- Apr 15, 2017
-
- Apr 14, 2017
-
- Apr 13, 2017
-
-
André Bargull authored
-
Mathias Bynens authored
Proposal: https://github.com/tc39/proposal-regexp-unicode-property-escapes These tests have been generated by the script at https://github.com/mathiasbynens/unicode-property-escapes-tests. They check all the properties and values that should be supported by implementations against the symbols they’re supposed to match. False positives are detected as well. Ref. #950. Ref. https://github.com/tc39/proposal-regexp-unicode-property-escapes/issues/4.
-
- Mar 27, 2017
-
-
littledan authored
In https://github.com/tc39/ecma262/pull/853 , standard semantics for this case are proposed. This patch tests the case.
-
- Mar 01, 2017
-
-
André Bargull authored
-
Rick Waldron authored
Signed-off-by:
Rick Waldron <waldron.rick@gmail.com>
-
- Feb 13, 2017
-
-
littledan authored
Thanks to @demurgos for spotting this bug at #858
-
- Feb 09, 2017
-
-
littledan authored
Spec change at https://github.com/tc39/ecma262/pull/798
-
- Oct 24, 2016
-
-
jugglinmike authored
* Add tests for prototype realm inference * Add tests for miscellaneous realm concerns * Add tests for realm of spec-created Errors In some cases, Error objects produced by the specification are observable from ECMAScript code. Among these cases, some are further differentiated in that they occur outside of any built-in function and may be triggered through syntactic production directly. The current realm record is commonly interpreted incorrectly under these circumstances. Add tests asserting that the expected realm record is used when constructing such Error objects. * Add tests for realm use in ArraySpeciesCreate * Add tests for function realm retrieval * Add tests for cross-realm behaviors of Symbols * Add tests for GetValue and PutValue * Add tests for realm of spec-created Arrays In some cases, Arrays produced by CreateArrayFromList are observable from ECMAScript code. Among these cases, two occur outside of any built-in function and may be triggered through syntactic production directly. The current realm record is commonly interpreted incorrectly under these circumstances. Add tests asserting that the expected realm record is used when constructing arrays. * Add test for spec-created object * fixup! Add tests for realm of spec-created Errors * fixup! Add tests for realm of spec-created Errors * fixup! Add tests for prototype realm inference * fixup! Add tests for miscellaneous realm concerns
-
- Sep 29, 2016
-
-
Jakob Gruber authored
* Tests for new lastIndex semantics Add and update tests for the lastIndex semantic change introduced in https://github.com/tc39/ecma262/pull/627. * Address comments
-
- Jul 06, 2016
-
-
Mathias Bynens authored
Ref. https://hashseed.blogspot.com/2014/08/in-ecma-262-5.html Ref. https://github.com/tc39/ecma262/pull/300#issuecomment-181376767 Ref. https://github.com/mathiasbynens/regexpu-core/commit/9b10d2a597d4e56b236cae0f9aa2f21a9c6d1122 Fix and add @anba’s U+180E tests
-
- Jun 29, 2016
-
-
Mike Pennisi authored
The prior version of this test asserted only the property's configurability. It was also limited to the RegExp object as returned from the RegExp constructor. Extend the test to verify all values of the property descriptor. Duplicate these assertions in a separate file dedicated to the RegExp object as created from a RegExp literal.
-
Mike Pennisi authored
The previous commit removed two invalid tests designed to ensure that the RegExpPrototype object is not itself a RegExp object. Introduce a new test to assert this detail in a way that accounts for the possibility of host extensions.
-
Mike Pennisi authored
From ECMA262, section 16: > Except as restricted in 16.2, an implementation may provide > additional types, values, objects, properties, and functions beyond > those described in this specification. Section 16.2 makes no mention of the `lastIndex` property of the %RegExpPrototype% intrinsic. It is therefor not a violation to define %such an "own" property. Remove the tests that assert otherwise.
-
Mike Pennisi authored
-
Mike Pennisi authored
A recent web-compatability change to ECMA262 modified the semantics of the accessor methods on the %RegExpPrototype% intrinsic--the "get" accessors now include steps dedicated to the case where the "this" value is the %RegExpPrototype% object itself. Remove the tests that have been invalidated by this change, introduce tests asserting the new behavior, and extend coverage for other possible "this" values.
-
- May 09, 2016
-
-
jugglinmike authored
The RegExpBuiltinExec internal operation was modified in March of 2016 [1]: instead of referencing the `global` and `sticky` properties of the "this" value, the algorithm now infers those values from the object's [[OriginalFlags]] internal slot. This change invalidated a number of tests. In cases where the change resulted in an observable behavior, update the tests to assert the latest specification text. In cases where the change removed a previously-observable behavior, remove the files completely. Specification text change set: > 1. Assert: Type(_S_) is String. > 1. Let _length_ be the number of code units in _S_. > 1. Let _lastIndex_ be ? ToLength(? Get(_R_, `"lastIndex"`)). > - 1. Let _global_ be ToBoolean(? Get(_R_, `"global"`)). > - 1. Let _sticky_ be ToBoolean(? Get(_R_, `"sticky"`)). > + 1. Let _flags_ be the value of _R_'s [[OriginalFlags]] internal slot. > + 1. If _flags_ contains `"g"`, let _global_ be *true*, else let _global_ be *false*. > + 1. If _flags_ contains `"y"`, let _sticky_ be *true*, else let _sticky_ be *false*. > 1. If _global_ is *false* and _sticky_ is *false*, let _lastIndex_ be 0. > 1. Let _matcher_ be the value of _R_'s [[RegExpMatcher]] internal slot. > - 1. Let _flags_ be the value of _R_'s [[OriginalFlags]] internal slot. > 1. If _flags_ contains `"u"`, let _fullUnicode_ be *true*, else let _fullUnicode_ be *false*. > 1. Let _matchSucceeded_ be *false*. > 1. Repeat, while _matchSucceeded_ is *false* [1] https://github.com/tc39/ecma262/pull/494
-
- Apr 25, 2016
-
-
Mike Pennisi authored
-
Mike Pennisi authored
This harness function is not necessary in the majority of cases in which it is used. Remove its usage to simplify tests and decrease the amount of domain-specific knowledge necessary to contribute to the test suite. Persist the harness function itself for use by future tests for ES2015 modules (such a helper is necessary for tests that are interpreted as module code).
-
- Feb 22, 2016
-
-
Leonardo Balter authored
Fixes #477
-
- Feb 13, 2016
-
-
Leonardo Balter authored
-
- Jan 15, 2016
-
-
André Bargull authored
Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
-
André Bargull authored
-
- Dec 15, 2015
-
-
André Bargull authored
- lastIndex in RegExp.prototype[Symbol.split]: tc39/ecma262@08b4756747f9c967058239df627da544412740a6 - Missing number conversion in DataView.prototype.setXXX: tc39/ecma262@4f875fe96dcbd5e6363dd3d5b510cd5109199f5b - Negative zero byteoffset in TypedArray: tc39/ecma262@2d1ed20db778e8f69f66ba76b351b9322fd38495 - EvalDeclarationInstantiation throws TypeError: tc39/ecma262@2be6968715946a4763f6ca8633e311ab7ce63577 - BindingRestElement allows BindingPattern: tc39/ecma262@d322357e6be95bc4bd3e03f5944a736aac55fa50 - Eval in parameters with computed property keys: tc39/ecma262@04e2e9b7197a33612202e85065e3f8d8385fbcef - Use strict with non-simple parameters: tc39/ecma262@15b0db41edd0e519e94668bf13765fe458840766 - __proto__ in strict mode: tc39/ecma262@5c1984334d6d42538527bd022e68bfbfee5cb652
-
- Dec 02, 2015
-
-
André Bargull authored
- RegExp.prototype[Symbol.split] calls ToUint32 (https://github.com/tc39/ecma262/issues/92) - Species lookup removed from Promise.all and Promise.race (https://github.com/tc39/ecma262/issues/151) - Generator functions are no longer constructors (https://github.com/tc39/ecma262/pull/171) Fixes #444
-
- Sep 14, 2015
-
-
Mike Pennisi authored
Introduce tests for the well-known Symbol, `@@match`. This effects the behavior of `String.prototype.match` and is also used by the IsRegExp abstract operation.
-