Andreas Kling
ece0b72e3c
LibJS: Don't set [[HomeObject]] for non-method object properties
...
This fixes an issue where we'd incorrectly retain objects via the
[[HomeObject]] slot. This common pattern was affected:
Object.defineProperty(o, "foo", {
get: function() { return 123; }
});
Above, the object literal would get assigned to the [[HomeObject]]
slot even though "get" is not a "method" per the spec.
This frees about 30,000 objects on my x.com home feed.
2025-12-17 12:50:17 -06:00
..
2025-12-17 12:50:17 -06:00
2025-08-05 07:07:15 -04:00
2025-12-09 11:58:39 -06:00
2025-12-17 12:50:17 -06:00
2025-12-08 11:29:12 -05:00
2025-12-17 12:50:17 -06:00
2025-12-17 12:50:17 -06:00
2025-12-11 14:34:45 -06:00
2025-10-29 21:20:10 +01:00
2025-08-17 07:28:56 -04:00
2025-12-17 15:33:26 +01:00
2025-10-22 10:58:19 +02:00
2025-11-30 11:54:54 +01:00
2025-11-09 12:14:03 +01:00
2025-11-09 12:14:03 +01:00
2025-08-13 09:56:13 -04:00
2025-10-22 10:58:19 +02:00
2025-09-01 11:11:38 +02:00
2025-12-17 12:50:17 -06:00
2025-11-09 12:14:03 +01:00
2025-08-13 09:56:13 -04:00
2025-08-13 09:56:13 -04:00
2025-07-18 12:45:38 -04:00
2025-07-22 11:51:29 -04:00
2025-11-09 12:14:03 +01:00
2025-10-29 21:20:10 +01:00
2025-11-09 12:14:03 +01:00
2025-11-09 12:14:03 +01:00
2025-07-22 11:51:29 -04:00
2025-12-03 12:08:40 +01:00
2025-08-05 07:07:15 -04:00
2025-11-09 12:14:03 +01:00
2025-07-22 11:51:29 -04:00
2025-08-05 07:07:15 -04:00
2025-08-05 07:07:15 -04:00
2025-11-09 12:14:03 +01:00
2025-11-09 12:14:03 +01:00