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