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
..
2019-08-14 17:02:04 -04:00
2019-08-14 17:02:04 -04:00
2021-10-01 16:38:56 -04:00
2021-10-01 16:38:56 -04:00
2020-10-14 14:01:01 -04:00
2020-10-14 14:01:01 -04:00
2022-06-23 15:17:43 -04:00
2021-10-15 20:35:01 -04:00
2020-09-10 16:22:34 -04:00
2022-11-30 16:04:02 -08:00
2021-10-01 16:38:56 -04:00
2021-10-01 16:38:56 -04:00
2020-10-14 14:01:01 -04:00
2020-10-14 14:01:01 -04:00
2019-11-10 20:18:56 -08:00
2018-10-23 13:51:17 +02:00
2021-10-15 20:35:01 -04:00
2020-09-30 10:05:47 -04:00
2018-06-04 10:52:31 -04:00
2021-01-28 16:03:01 -08:00
2017-03-01 11:38:10 -05:00
2017-03-01 11:38:10 -05:00
2021-01-28 16:03:01 -08:00
2021-01-28 16:03:01 -08:00
2018-10-23 13:51:17 +02:00
2018-05-03 09:27:27 -07:00
2018-10-23 13:51:17 +02:00
2018-05-03 09:27:27 -07:00
2018-10-23 13:51:17 +02:00
2018-10-23 13:51:17 +02:00
2018-10-23 13:51:17 +02:00
2018-10-23 13:51:17 +02:00
2018-10-23 13:51:17 +02:00
2018-10-23 13:51:17 +02:00
2018-01-10 16:10:32 -05:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 14:42:12 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2021-10-05 16:22:56 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 14:42:12 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2020-09-25 13:30:10 -04:00
2021-10-05 16:22:56 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2021-10-05 16:22:56 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2021-04-20 09:53:57 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2020-09-30 11:51:44 -04:00
2021-10-05 16:22:56 -04:00
2018-01-05 12:27:59 -05:00
2017-10-26 19:04:57 -04:00
2018-10-23 13:51:17 +02:00
2018-10-23 13:51:17 +02:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 16:48:44 -04:00
2019-08-14 16:48:44 -04:00
2019-08-14 16:48:44 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 18:54:04 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2019-08-14 17:52:41 -04:00
2016-06-21 12:22:49 -04:00
2018-10-23 13:51:17 +02:00
2018-01-05 12:27:59 -05:00
2017-10-26 19:04:57 -04:00
2017-10-26 19:04:57 -04:00
2017-10-26 19:04:57 -04:00
2017-10-26 19:04:57 -04:00
2016-06-21 12:22:49 -04:00
2016-06-21 12:22:49 -04:00
2016-06-21 12:22:49 -04:00
2016-06-21 12:22:49 -04:00
2019-06-19 16:38:30 -04:00
2021-04-09 20:13:41 -04:00
2021-04-09 20:13:41 -04:00
2021-04-09 20:13:41 -04:00
2021-04-09 20:13:41 -04:00
2015-07-10 10:36:05 -04:00
2017-10-26 19:04:57 -04:00
2018-11-10 10:50:21 +01:00
2016-04-28 09:47:18 -04:00
2018-11-10 10:50:21 +01:00
2016-04-28 09:44:41 -04:00
2016-04-28 09:44:41 -04:00
2016-04-28 09:44:41 -04:00
2016-04-28 09:47:18 -04:00
2018-11-10 10:50:21 +01:00
2017-10-26 19:04:57 -04:00
2018-11-10 10:50:21 +01:00
2016-04-28 09:47:18 -04:00
2018-11-10 10:50:21 +01:00
2016-04-28 09:47:18 -04:00
2018-11-10 10:50:21 +01:00
2016-06-21 12:22:49 -04:00
2018-08-20 16:38:52 -04:00
2018-10-23 13:51:17 +02:00
2021-07-15 08:49:12 -04:00
2021-10-15 20:35:01 -04:00
2021-10-15 20:35:01 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2021-07-15 08:49:12 -04:00
2016-07-08 18:43:32 -07:00
2016-06-21 12:22:49 -04:00
2018-11-07 16:05:20 -05:00
2018-10-23 13:51:17 +02:00