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