31 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
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
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
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
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
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
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
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
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
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
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
test262-automation
2748cd24e5 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 30729e82 on Thu Oct 18 2018 18:43:48 GMT+0000 (Coordinated Universal Time) 2018-10-19 10:12:49 -04:00
test262-automation
82955482de [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha d34cbcd7 on Wed Oct 17 2018 18:44:12 GMT+0000 (Coordinated Universal Time) 2018-10-18 11:54:55 -04:00
test262-automation
6a7f7fa3a9 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 9f893284 targetRevisionAtLastExport: 234933fe8a
2018-10-11 18:43:56 +00:00
test262-automation
234933fe8a [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha c9524b41 on Tue Oct 09 2018 18:40:34 GMT+0000 (Coordinated Universal Time) 2018-10-09 18:41:19 +00:00
test262-automation
ffb51db775 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha fb4d8c01 on Fri Oct 05 2018 18:37:43 GMT+0000 (Coordinated Universal Time) 2018-10-05 15:42:18 -04:00
test262-automation
92143ed8c7 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 7b32eb8c on Wed Oct 03 2018 18:36:24 GMT+0000 (Coordinated Universal Time) 2018-10-03 18:37:00 +00:00
test262-automation
eb8d6b3b93 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 06354392 targetRevisionAtLastExport: e69d65f39
2018-09-21 18:30:16 +00:00
test262-automation
eeae2a723a [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 06354392 on Fri Sep 21 2018 18:29:36 GMT+0000 (Coordinated Universal Time) 2018-09-21 18:30:11 +00:00
test262-automation
2e87acd87d [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha a9b9c338 on Wed Sep 19 2018 18:27:33 GMT+0000 (Coordinated Universal Time) 2018-09-20 17:26:11 -04:00
test262-automation
7298a38552 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 33f2fb0e53d135f0ee17cfccd9d993eb2a6f47de targetRevisionAtLastExport: 31340cbd9add103f586d501b0c3354b7b182abc0
2018-09-14 12:32:18 -04:00