Commit Graph

256 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 2be0866895 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: ddf72e4b targetRevisionAtLastExport: 8d9f7690f8
2020-02-06 12:05:47 -05:00
Leo Balter 3e3abe0a49
Merge pull request #2063 from test262-automation/javascriptcore-test262-automation-export-7a0293f26c
Import test changes from JavaScriptCore
2019-07-21 21:17:36 -04: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 508dc7abb3 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: c0dba7aed4 targetRevisionAtLastExport: 7a0293f26c
2019-02-04 19:40:36 +00:00
test262-automation a2c0e3fdba [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha c0dba7aed4 on Mon Feb 04 2019 19:37:46 GMT+0000 (Coordinated Universal Time) 2019-02-04 19:40:33 +00:00
Leo Balter 04ae1c1359
Merge pull request #2037 from test262-automation/v8-test262-automation-export-ad1b4aadf8
Import test changes from V8
2019-02-04 12:04:39 -07: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 00e7ea32bb [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 344dd04163 targetRevisionAtLastExport: 4146be1823
2019-01-17 19:35:18 +00:00
test262-automation 7a0293f26c [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 344dd04163 on Thu Jan 17 2019 19:31:25 GMT+0000 (Coordinated Universal Time) 2019-01-17 19:35:14 +00:00
Leo Balter 3e38fe707f
Merge pull request #2017 from test262-automation/v8-test262-automation-export-7519e1b462
Import test changes from V8
2019-01-17 17:06:46 -02:00
test262-automation 3e016ba111 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 89eb451c targetRevisionAtLastExport: 7519e1b462
2018-12-21 19:21:37 +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 f5b0367e10 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 801a7d15df targetRevisionAtLastExport: 8f629cd87f
2018-12-21 19:20:58 +00:00
test262-automation 4146be1823 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 801a7d15df on Fri Dec 21 2018 19:18:17 GMT+0000 (Coordinated Universal Time) 2018-12-21 19:20:51 +00:00
test262-automation 90ca332e69 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 995333da targetRevisionAtLastExport: ccadd02f2b
2018-12-21 10:51:10 -05: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 584c3c8055 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 51c20fe3ea targetRevisionAtLastExport: f8bd9710a3
2018-12-21 10:50:46 -05:00
test262-automation 355ec026f4 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 51c20fe3ea on Thu Dec 20 2018 19:17:41 GMT+0000 (Coordinated Universal Time) 2018-12-21 10:50:46 -05:00
test262-automation 28a46da5c6 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 8e5433b70f targetRevisionAtLastExport: 18bf7976f5
2018-12-20 12:56:29 -05:00
test262-automation e62e16507e [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 8e5433b70f on Tue Dec 18 2018 19:16:11 GMT+0000 (Coordinated Universal Time) 2018-12-20 12:56:29 -05:00
test262-automation fcbfe2dfb1 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 766ef168 targetRevisionAtLastExport: 227c2e8ffe
2018-12-20 12:56: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 ca9af579f4 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: dde25872 targetRevisionAtLastExport: 468a67ade5
2018-12-17 16:46:14 -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
Leo Balter e87b5d6dab
Merge pull request #1999 from test262-automation/v8-test262-automation-export-ae464533ad
Import test changes from V8
2018-12-17 17:04:38 -02: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 32a39daf43 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 2b233fa3c0 targetRevisionAtLastExport: 8e3c6d0484
2018-12-15 19:17:28 +00:00
test262-automation 18bf7976f5 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 2b233fa3c0 on Sat Dec 15 2018 19:14:38 GMT+0000 (Coordinated Universal Time) 2018-12-15 19:17:20 +00:00
Leo Balter d496acc731
Merge pull request #1992 from test262-automation/v8-test262-automation-export-d420adb9f2
Import test changes from V8
2018-12-15 05:37:29 -05:00
test262-automation 689b63c8d4 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 9583858e targetRevisionAtLastExport: d420adb9f2
2018-12-10 19:18:26 +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 de9e5de953 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 205489c4f0 targetRevisionAtLastExport: cab19d71a6
2018-12-10 19:17:47 +00:00
Leo Balter 8e3c6d0484
Merge pull request #1987 from test262-automation/v8-test262-automation-export-07b313100e
Import test changes from V8
2018-12-10 10:59:09 -05: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 c0ffd6b338 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 60ed1be8cd targetRevisionAtLastExport: 31e654a339
2018-12-04 19:12:26 +00:00
test262-automation cab19d71a6 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 60ed1be8cd on Tue Dec 04 2018 19:08:52 GMT+0000 (Coordinated Universal Time) 2018-12-04 19:12:21 +00:00
Leo Balter ce8ea46c31
Merge pull request #1980 from test262-automation/v8-test262-automation-export-4dc4cfd817
Import test changes from V8
2018-12-03 19:35:28 -05:00
test262-automation 7cb1de95b4 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: cac6b037 targetRevisionAtLastExport: 4dc4cfd817
2018-11-30 19:09:23 +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