Commit Graph

73 Commits

Author SHA1 Message Date
Philip Chimento d87a7da6e1 Replace Object.hasOwnProperty.call with Object.prototype.hasOwnProperty.call
While we're at it, use assert() instead of assert.sameValue() for brevity,
if we are not specifically testing that the return value of hasOwnProperty
is the value true or false; and add more informative assertion messages to
help with debugging.

In some cases, the Object.hasOwnProperty.call could be replaced with
verifyProperty(), if the property descriptor was also being verified at
the same time.

This fixes some tests that were faulty to begin with: a common mistake was
Object.hasOwnProperty(obj, prop) which is probably going to return false
when that's not what you want.

The only instances left of `Object.hasOwnProperty` are one regression test
in implementation-contributed which I can't tell if it was intentionally
needed to trigger the regression, and a few instances of
`Object.hasOwnProperty('prototype')` which would defeat the purpose to
convert into `Object.prototype.hasOwnProperty.call(Object, 'prototype')`
form.

Closes: #3524
2022-11-30 16:04:02 -08:00
Mathias Bynens c44d82c370 Add `/iu` Unicode case folding tests
Ref. https://bugs.chromium.org/p/v8/issues/detail?id=13377
2022-11-02 15:58:33 -07:00
Richard Gibson 9e51a9d855 Update RegExp.prototype.{match,replace} tests to expect Get(rx, "flags")
Ref https://github.com/tc39/ecma262/pull/2791
2022-08-09 12:02:45 -07:00
Richard Gibson c58ac691eb Test that "infinity" is not recognized as numeric 2022-04-04 16:56:40 -04:00
Richard Gibson c572588ea9 Test that "INFINITY" is not recognized as numeric
Fixes #3442
2022-04-04 16:56:40 -04:00
Rick Waldron 805e081783
chore: migrate $ERROR -> throw new Test262Error in test/intl402 (#3094) 2021-07-21 13:36:32 -07:00
Rick Waldron 28ec03f454
Remove unnecessary files containing whitelist and blacklist (#2701) 2020-07-14 15:01:49 -07:00
test262-automation 39d5434ab1 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: f85a3554 targetRevisionAtLastExport: 6bb8f41e0a
2019-02-04 19:41:17 +00:00
test262-automation 8d9f7690f8 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f85a3554 on Mon Feb 04 2019 19:40:41 GMT+0000 (Coordinated Universal Time) 2019-02-04 19:41:14 +00:00
test262-automation 30d7394e89 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: f88d169e targetRevisionAtLastExport: ad1b4aadf8
2019-01-17 19:35:57 +00:00
test262-automation 6bb8f41e0a [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f88d169e on Thu Jan 17 2019 19:35:25 GMT+0000 (Coordinated Universal Time) 2019-01-17 19:35:54 +00:00
test262-automation ad1b4aadf8 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 89eb451c on Fri Dec 21 2018 19:21:03 GMT+0000 (Coordinated Universal Time) 2018-12-21 19:21:34 +00:00
test262-automation 9361d80b76 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 995333da on Thu Dec 20 2018 19:20:47 GMT+0000 (Coordinated Universal Time) 2018-12-21 10:51:10 -05:00
test262-automation c9beaa3c69 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 766ef168 on Tue Dec 18 2018 19:19:51 GMT+0000 (Coordinated Universal Time) 2018-12-20 12:56:10 -05:00
test262-automation 058d7abf93 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha dde25872 on Mon Dec 17 2018 19:18:49 GMT+0000 (Coordinated Universal Time) 2018-12-17 16:46:14 -05:00
test262-automation 338370e6ac [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 44b1b245 targetRevisionAtLastExport: ae464533ad
2018-12-15 19:18:07 +00:00
test262-automation 468a67ade5 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 44b1b245 on Sat Dec 15 2018 19:17:33 GMT+0000 (Coordinated Universal Time) 2018-12-15 19:18:03 +00:00
test262-automation ae464533ad [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 9583858e on Mon Dec 10 2018 19:17:52 GMT+0000 (Coordinated Universal Time) 2018-12-10 19:18:21 +00:00
test262-automation 5303404d54 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 4a395137 targetRevisionAtLastExport: 07b313100e
2018-12-04 19:13:09 +00:00
test262-automation d420adb9f2 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 4a395137 on Tue Dec 04 2018 19:12:32 GMT+0000 (Coordinated Universal Time) 2018-12-04 19:13:06 +00:00
test262-automation 07b313100e [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha cac6b037 on Fri Nov 30 2018 19:08:50 GMT+0000 (Coordinated Universal Time) 2018-11-30 19:09:20 +00:00
test262-automation 4dc4cfd817 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha b3e7775f on Thu Nov 29 2018 19:08:11 GMT+0000 (Coordinated Universal Time) 2018-11-29 19:08:48 +00:00
test262-automation df2cb02170 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha bf5cc562 on Wed Nov 28 2018 19:07:54 GMT+0000 (Coordinated Universal Time) 2018-11-28 16:00:52 -05:00
test262-automation fd299d7408 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha a8673918 on Tue Nov 27 2018 19:07:42 GMT+0000 (Coordinated Universal Time) 2018-11-28 10:27:51 -05:00
Ms2ger 1185b5287d Intl.Segmenter: Submit remaining V8 tests. 2018-11-26 15:04:19 -05:00
test262-automation b5a41f2c82 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f09bec92 on Mon Nov 26 2018 19:06:59 GMT+0000 (Coordinated Universal Time) 2018-11-26 15:01:59 -05:00
test262-automation bb9647dd4b [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 3a8c8082 on Fri Nov 16 2018 19:00:23 GMT+0000 (Coordinated Universal Time) 2018-11-16 19:00:53 +00:00
test262-automation 90cbd48a65 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha ac250b9b on Wed Nov 14 2018 18:59:57 GMT+0000 (Coordinated Universal Time) 2018-11-15 15:28:24 -05:00
test262-automation cab3837aff [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha f4a586f0 on Mon Nov 12 2018 18:57:21 GMT+0000 (Coordinated Universal Time) 2018-11-13 20:19:55 -05:00
test262-automation 43cce788bd [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha d540724b on Fri Nov 09 2018 18:55:42 GMT+0000 (Coordinated Universal Time) 2018-11-09 18:56:19 +00:00
test262-automation 713af1bb14 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 010b5d67 on Thu Nov 08 2018 18:54:43 GMT+0000 (Coordinated Universal Time) 2018-11-08 18:55:29 +00:00
test262-automation 04839204ac [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha ab445f8b on Wed Nov 07 2018 18:56:14 GMT+0000 (Coordinated Universal Time) 2018-11-07 18:56:42 +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 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 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 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 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
test262-automation a5d7cad182 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 5d90d70a on Thu Oct 25 2018 18:47:05 GMT+0000 (Coordinated Universal Time) 2018-10-26 16:49:02 -04:00
Ms2ger 72ab472057 Intl.Segmenter: Submit batch of V8 tests for the iterators. 2018-10-26 12:00:39 +02:00
Ms2ger 0d07ed06c0 Intl.Segmenter: Submit batch of V8 tests for segment(). 2018-10-25 10:15:11 -04:00
test262-automation 90225b009b [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 0d75b76c on Wed Oct 24 2018 18:48:03 GMT+0000 (Coordinated Universal Time) 2018-10-25 09:52:37 -04:00
Leo Balter cb58cbdd5a
Merge pull request #1887 from tc39/curation-v8-r1
Curation: v8 r1
2018-10-24 12:12:46 -04:00
test262-automation 44fc8165d5 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 0039b340 on Tue Oct 23 2018 18:47:14 GMT+0000 (Coordinated Universal Time) 2018-10-23 16:37:00 -04:00
test262-automation 4f4442b5a1 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 1fc8452b on Fri Oct 19 2018 18:44:30 GMT+0000 (Coordinated Universal Time) 2018-10-23 13:55:45 -04:00
Rick Waldron 4d7eef14fb Curation: remove v8/test262/local-tests/test/intl402/NumberFormat/fraction-digit-options-read-once.js
A version of the same file, containing the same test with more coverage and a more complete set of meta data exists
2018-10-22 14:10:17 -04:00
Rick Waldron e557560f71 Curation: remove v8/test262/local-tests/test/intl402/NumberFormat/default-currency-maximum-fraction-digits.js
A version of the same file, containing the same test with more coverage and a more complete set of meta data exists, dft-currency-mnfd-range-check-mxfd.js
2018-10-22 14:09:40 -04:00
Rick Waldron 8fc7cdaa05 Curation: remove v8/test262/local-tests/test/intl402/NumberFormat/11.1.1_1.js
A version of the same file, containing the same test with a more complete set of meta data, exists (this-value-ignored.js)
2018-10-22 14:09:40 -04:00
Rick Waldron 26fb624d4b Curation: remove v8/test262/local-tests/test/built-ins/Map/ duplicates
A version of the same file, containing the same test with a more complete set of meta data, exists
2018-10-22 14:09:40 -04:00
Rick Waldron 705cb10d6a Curation: remove v8/test262/local-tests/test/built-ins/TypedArray/ duplicates
Identical files already exist
2018-10-22 14:09:40 -04:00