Commit Graph

3726 Commits

Author SHA1 Message Date
Mike Pennisi 41110ab0d4 Correct tests for line terminators within comments
Four tests were documented as asserting the interpretation of line
terminators within multi-line comments, but the source code did not
actually demonstrate this condition.

Introduce new tests that demonstrate the intended functionality and
place them in the correct directory.
2018-11-07 10:12:59 -05:00
Leo Balter b53b8e3f0e
Merge pull request #1927 from mathiasbynens/optimize-regexp-tests
Optimize RegExp character class escape tests
2018-11-07 10:12:06 -05:00
Leo Balter d534df2b12 Use travis ci to run new or modified test files on engines 2018-11-07 10:03:00 -05:00
Mathias Bynens e558b29b69
Optimize character class escape tests
Previously, these tests simply compared against an equivalent regular expression pattern by generating a large string containing either all code points up to U+FFFF or U+10FFFF, depending on the `u` flag, and then performing:

    str.replace(re, '') === str.replace(otherRe, '');

These two `String#replace` calls can be optimized into a single `RegExp#test` call by following the pattern used in the property escapes tests at https://github.com/mathiasbynens/unicode-property-escapes-tests.
2018-11-06 16:14:14 -08:00
Mathias Bynens 01550ab13a
Sync with https://github.com/bocoup/test262-regexp-generator/pull/1 2018-11-06 15:24:07 -08:00
Kevin Gibbons 2be73ca5ea Add missing `./` to relative path in dynamic import (#1925) 2018-11-06 15:38:18 -05:00
test262-automation a2d52d91aa [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: c88994f8 targetRevisionAtLastExport: 39b32c6df6
2018-11-06 18:54:32 +00:00
test262-automation 29615d7fbf [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha c88994f8 on Tue Nov 06 2018 18:53:45 GMT+0000 (Coordinated Universal Time) 2018-11-06 18:54:29 +00:00
test262-automation c0ffc8f6da [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: f5cf90cc targetRevisionAtLastExport: edab36a568
2018-11-06 10:36:04 -05:00
test262-automation 5c177e3bbb [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f5cf90cc on Mon Nov 05 2018 18:55:40 GMT+0000 (Coordinated Universal Time) 2018-11-06 10:36:04 -05:00
test262-automation baad9a3f3c [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: badd645214 targetRevisionAtLastExport: 0803ae6792
2018-11-06 10:35:50 -05:00
test262-automation 919cc5a670 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha badd645214 on Mon Nov 05 2018 18:52:22 GMT+0000 (Coordinated Universal Time) 2018-11-06 10:35:50 -05:00
Leo Balter 053aed901a Regenerate tests 2018-11-06 10:35:22 -05:00
Leo Balter 23be7aac3f Refactor templates to assert valid private accessor method names 2018-11-06 10:35:22 -05:00
Katie Broida f11d0ab3d5 Fix class syntax 2018-11-06 10:35:22 -05:00
Katie Broida 9ccf0a822f Generate tests 2018-11-06 10:35:22 -05:00
Katie Broida f11568dbde Refactor templates 2018-11-06 10:35:22 -05:00
Katie Broida 5e217d531e Add private methods test templates 2018-11-06 10:35:22 -05:00
Kevin Gibbons e80d8a184a split unicode-property-names.js 2018-11-05 15:34:03 -08:00
Kevin Gibbons 9bc9116656 split unicode-malformed.js 2018-11-05 15:23:03 -08:00
Kevin Gibbons 296f47a008 split non-unicode-property-names.js 2018-11-05 15:12:23 -08:00
Kevin Gibbons de339e98d6 split non-unicode-malformed.js 2018-11-05 14:58:03 -08:00
Leo Balter 69c1efd325 Generate tests 2018-11-05 12:17:14 -05:00
Leo Balter 6a9a6f5698 Update cases to use appropriate templates 2018-11-05 12:17:14 -05:00
jbhoosreddy a6f2446e19 test: private method usage: calling private method 2018-11-05 12:17:14 -05:00
Leo Balter ecb5fcbe33
Merge pull request #1840 from jugglinmike/refactor-for-parsers-var
Refactor variable declaration tests for parsers
2018-11-05 10:12:24 -05:00
Leo Balter d8b0dd4275
Merge pull request #1918 from test262-automation/v8-test262-automation-export-d38e98d1f3
Import test changes from V8
2018-11-05 10:10:53 -05:00
Leo Balter 17fff8ecb9
Merge pull request #1917 from test262-automation/javascriptcore-test262-automation-export-5bceb8efa6
Import test changes from JavaScriptCore
2018-11-05 10:10:26 -05:00
test262-automation bd6e1aeb26 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 27dc9fa5 targetRevisionAtLastExport: d38e98d1f3
2018-11-02 18:51:38 +00:00
test262-automation edab36a568 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 27dc9fa5 on Fri Nov 02 2018 18:50:58 GMT+0000 (Coordinated Universal Time) 2018-11-02 18:51:35 +00:00
test262-automation 3d160b8cd9 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 3f48fafe3c targetRevisionAtLastExport: 5bceb8efa6
2018-11-02 18:50:53 +00:00
test262-automation 0803ae6792 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 3f48fafe3c on Fri Nov 02 2018 18:47:50 GMT+0000 (Coordinated Universal Time) 2018-11-02 18:50:48 +00:00
Frank Tang 72f1cfa2ab In en/ko/fr 'loose' may break more than normal in new CLDR version 2018-11-02 14:42:37 -04:00
test262-automation bb6c398a0d [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 5ba032b3 targetRevisionAtLastExport: 41874187df
2018-11-02 14:40:42 -04:00
test262-automation 7299236d96 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 341bdf1834 targetRevisionAtLastExport: 69724799f6
2018-11-02 14:39:42 -04:00
test262-automation 25923f1a78 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 341bdf1834 on Wed Oct 31 2018 18:47:12 GMT+0000 (Coordinated Universal Time) 2018-11-02 14:39:42 -04:00
Richard Gibson 5b3d429e28 Move cross-realm tests into their own files 2018-11-02 14:39:23 -04:00
Richard Gibson 6da621f161 Assert error when invoking any %RegExpPrototype%-aware getter on cross-realm RegExp.prototype 2018-11-02 14:39:23 -04:00
Richard Gibson 9e0410814a Test cross-realm use of RegExp source getter in both directions 2018-11-02 14:39:23 -04:00
Richard Gibson 823af01575 Assert error when invoking RegExp source getter on cross-realm RegExp.prototype
RegExp.prototype is not a RegExp, and the algorithm only special-cases
(same-realm) %RegExpPrototype%.
2018-11-02 14:39:23 -04:00
Daniel Ehrenberg be4c8a5c4e
Merge pull request #1913 from tc39/fix-intl-segmenter-test
Fix Intl.Segmenter branding.js
2018-11-02 08:53:00 +01:00
Rick Waldron 314442498e Fix Intl.Segmenter branding.js
Based on: 44fc8165d5/implementation-contributed/v8/intl/segmenter/segment-iterator-ownPropertyDescriptor.js
2018-10-31 12:45:34 -04:00
Frank Tang d38e98d1f3 Fix formatToParts expectation @ RelativeTimeFormat
Fix wrong expectations of
Intl.RelativeTimeFormat.prototype.formatToParts
Add tests to cover "group", "decimal" and "fraction".
2018-10-31 12:38:29 -04:00
test262-automation 412c8b5dce [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: c03723fc90 targetRevisionAtLastExport: 2f41648a06
2018-10-31 12:37:44 -04:00
test262-automation 249b1e3b4b [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha c03723fc90 on Sat Oct 27 2018 18:45:40 GMT+0000 (Coordinated Universal Time) 2018-10-31 12:37:44 -04:00
test262-automation 9eb88da288 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 7551e526 targetRevisionAtLastExport: 8d2e4f0a64
2018-10-31 12:37:25 -04:00
test262-automation f53574dcfa [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 7551e526 on Sat Oct 27 2018 18:48:29 GMT+0000 (Coordinated Universal Time) 2018-10-31 12:37:25 -04:00
Rick Waldron 1fb8e8d22f Merge branch 'segmenter-v8' of git://github.com/Ms2ger/test262 into Ms2ger-segmenter-v8
* 'segmenter-v8' of git://github.com/Ms2ger/test262:
  Intl.Segmenter: Submit batch of V8 tests for the iterators.

# Conflicts:
#	implementation-contributed/v8/intl/segmenter/segment-iterator-ownPropertyDescriptor.js
2018-10-31 12:35:49 -04:00
Mike Pennisi a7deb7bcce Add tests for `arguments` within function body 2018-10-28 16:23:38 -04:00
Rick Waldron f1e362d558 Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00