Commit Graph

2061 Commits

Author SHA1 Message Date
Leo Balter a09f857ed8 Merge pull request #1006 from leobalter/fix-info
Update RegExp#dotAll tests
2017-04-27 19:37:54 -04:00
Leo Balter ac43ea515c Merge pull request #1007 from leobalter/littledan-lookbehind
Split tests for lookbehind
2017-04-27 19:37:29 -04:00
Leo Balter 0f10d73fef
Split tests and fix actual/expected order 2017-04-27 19:33:42 -04:00
Daniel Ehrenberg abac4e0b19
Fix up compareArray 2017-04-27 19:33:41 -04:00
Daniel Ehrenberg 6ee183a057
RegExp lookbehind tests
Tests for the stage 3 proposal at
https://tc39.github.io/proposal-regexp-lookbehind/

Tests ported from V8, written by @hashseed
2017-04-27 19:33:40 -04:00
Daniel Ehrenberg 8cb7f59395
Create an assert.compareArray
This is a convenience function which tries to make tests easier
to read and write.
2017-04-27 19:33:40 -04:00
Leo Balter 7493787a3f
Replace duplicate case 2017-04-27 18:39:37 -04:00
Leo Balter 028d984c0e
Update RegExp#dotAll tests 2017-04-27 18:35:37 -04:00
Leo Balter f2db2b6829
fix metadata for regexp.prototype.dotall 2017-04-27 18:24:48 -04:00
Daniel Ehrenberg bfc9020d51 Tests for RegExp dotAll proposal (#997)
Proposal from @mathiasbynens at https://github.com/tc39/proposal-regexp-dotall-flag and https://tc39.github.io/proposal-regexp-dotall-flag/
2017-04-27 18:20:24 -04:00
⭐caitp⭐ 91c53231d0 Add tests for observable [[GetOwnProperty]] ops in EnumerableOwnProperties (#1003) 2017-04-27 17:09:05 -04:00
Daniel Ehrenberg 6cf15f523a RegExp named group tests (#998)
Tests against the Stage 3 named capture groups proposal
https://tc39.github.io/proposal-regexp-named-groups
2017-04-27 12:50:59 -04:00
Rick Waldron c528486da3 Merge pull request #1000 from leobalter/remove-error
Avoid using $ERROR in test files
2017-04-26 15:02:45 -04:00
Rick Waldron 129d1e3ef2 Merge pull request #1001 from leobalter/remove-duplicate
Remove duplicate
2017-04-25 16:16:40 -04:00
Leo Balter d93e15662f
Generate Tests 2017-04-25 15:56:28 -04:00
Leo Balter 84198d6664
Remove duplicate case
same es src/dstr-assignment/array-elem-target-simple-strict.case
2017-04-25 15:52:19 -04:00
Leo Balter d6efc316ed
Update some tests to avoid $ERROR 2017-04-25 15:18:27 -04:00
Leo Balter fa9aae7750
Use assert api instead of $ERROR 2017-04-24 15:31:52 -04:00
Leo Balter 6ab3b0901b Update deploy keys
* Update github-deploy-key

* Update deploy.sh
2017-04-24 15:11:02 -04:00
Leo Balter a04ad1fcb5 Merge pull request #993 from leobalter/function-name
Update templates for function forms
2017-04-21 17:00:52 -04:00
Leo Balter d74f58cddd
Generate tests 2017-04-21 15:26:46 -04:00
Leo Balter de15143976
Add Async Functions to function templates 2017-04-21 15:24:00 -04:00
Leo Balter 234962036a
remove unused template item for arguments 2017-04-21 15:23:59 -04:00
Leo Balter 8d55711b19
Add async generator templates for the arguments cases 2017-04-21 15:23:58 -04:00
Leo Balter 0d08288e4c
Normalize trailing comma cases both for args and parameters 2017-04-21 15:23:57 -04:00
Leo Balter a6c5bcf81d
Update function forms templates to reflect the params name when appropriate only 2017-04-21 15:03:49 -04:00
Leo Balter 20d496729d
Rename src/params to src/function-forms
The templates are being used for many tests reusing the same available function forms.
The format they are provided allow us to extend tests with cases for other tests relying
in the same formats.
2017-04-21 15:03:46 -04:00
Rick Waldron f5d8b1c1fb ArrayBuffer: constructor, name, length, descriptor (#991)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-04-20 15:14:08 -04:00
Rick Waldron da554fe5dc Merge pull request #990 from edgemaster/missing-dollar
INTERPRETING.md missed two `$` => `$262` changes.
2017-04-20 14:22:22 -04:00
Thomas Wood 2f64a621cd INTERPRETING.md missed two `$` => `$262` changes.
References #875, #802
2017-04-20 18:54:02 +01:00
André Bargull 94f6003d11 Optimize decodeURI/encodeURI tests (#987)
* Move decimalToHexString into harness instead of duplicating it in multiple files

* Optimize decimalToHexString and support numbers greater than 65535

* Replace alternative decimalToHexString function with include for decimalToHexString.js

* Add decimalToHex2String to return the string representation of a two-digit hex-number

* Replace decimalToHex2String with decimalToPercentHexString to return the percent hex-encoded string of a two-digit hex-number

* Replace two String.fromCharCode calls with a single call

* Further reduce string concatentations in decodeURI[Component] tests

* Remove unnecessary Test262Error error handling in catch-clauses

* Remove try/catch wrappings in decodeURI/encodeURI tests
2017-04-18 16:31:31 -04:00
Mathias Bynens d354788f6f RegExp property escapes: list emoji data version (UTR51) (#981) 2017-04-18 12:30:35 -04:00
Mike Pennisi a61efb5192 Add omitted license information
As the author of these files, I can verify that they were contributed in
2015 on behalf of the V8 project.
2017-04-18 12:23:22 -04:00
Mike Pennisi 2c0c3e7f96 Correct typo in copyright information 2017-04-18 12:23:22 -04:00
jugglinmike 3335034510 Reference `requirements.txt` file in CI (#983)
Installing dependencies using this file increases parity between the CI
and development environment. Because the file explicitly specifies a
version of the package to be installed, this approach also produces more
predictable results overall.
2017-04-18 12:21:24 -04:00
Daniel Ehrenberg f759df6322 Copyright attribution for test 2017-04-17 12:49:47 +02:00
Mathias Bynens 1c1935e363 Remove tests for Unicode properties that are no longer supported (#980)
Ref. https://github.com/tc39/proposal-regexp-unicode-property-escapes/issues/27.
2017-04-15 12:57:32 -04:00
Leo Balter e43ce56105 Add Verify Property harness (#979) 2017-04-15 12:56:29 -04:00
André Bargull 1ba3a7c4a9 Remove unused functionality from harness (#975) 2017-04-14 12:22:27 -04:00
Mathias Bynens 92a85ed8fd Fix `Script_Extensions=Inherited` data (#977)
Ref. https://github.com/mathiasbynens/node-unicode-data/issues/45.
Ref. da8ae69b9b.
Ref. https://github.com/mathiasbynens/unicode-property-escapes-tests/issues/7.
2017-04-14 12:20:05 -04:00
Mathias Bynens 5f81c02e3f CONTRIBUTING: Link to the latest spec draft (#978) 2017-04-14 12:19:39 -04:00
André Bargull d59e30c95e Remove execute bit from files (#976) 2017-04-13 16:24:07 -04:00
Mathias Bynens d993c4a9e8 Fix three broken RegExp property escape tests (#974)
c62ed61cfc
2017-04-13 14:40:18 -04:00
Mathias Bynens 44b40e083e Add exhaustive tests for RegExp Unicode property escapes (#971)
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.
2017-04-13 11:22:49 -04:00
Daniel Ehrenberg 89e15ce814 Test to block legacy hoisting for `function arguments() {}` (#970)
Ref https://github.com/tc39/ecma262/issues/815
Ref https://github.com/tc39/ecma262/pull/889

This is testing the current semantics of the specs, rather than the semantics in the proposed referenced issue.
2017-04-13 11:06:16 -04:00
Mathias Bynens a621155bcd Unify indentation and add .editorconfig (#973) 2017-04-13 10:37:32 -04:00
Daniel Ehrenberg 799568fe26 Fix commit messages 2017-04-11 23:58:04 +02:00
Daniel Ehrenberg dbfca4581d Prohibit ASI between 'let' and 'yield'/'await'
Inspired by https://github.com/tc39/test262/pull/956
2017-04-11 22:34:43 +02:00
Jeff Walden 6fe9488ec7 Add tests for the behavior of |let <newline> await| in normal and async functions. 2017-04-11 22:21:48 +02:00
Leo Balter 96aa8c77b3
revert after_success 2017-04-11 14:12:07 -04:00