Aliaksandr Kalenik
8a829be25c
LibWeb: Handle scenario when Window property setter is called on global
...
This commit fixes a regression introduced in
1528e9109c .
Turns out that the type of `this_value` in the property setter of the
Window object depends on how the variable is accessed. If the property
is accessed as a global variable, then this_value is of type `Window`.
For example:
```js
performance = null
```
However, when it is accessed as a property of the window object,
`this_value` is of type `WindowProxy`. For example:
```js
window.performance = null
```
This commit updates the window property setters generator to handle
both scenarios.
With this change https://discord.com/login works again.
2024-02-25 12:55:30 +01:00
..
2023-11-24 08:42:18 +01:00
2024-01-23 14:07:06 -07:00
2024-02-24 21:59:28 +01:00
2024-02-22 07:35:30 +01:00
2024-02-24 08:09:01 +01:00
2024-01-12 15:04:06 +01:00
2024-02-21 19:38:17 +01:00
2024-02-22 07:36:20 +01:00
2024-02-25 10:17:25 +01:00
2024-02-24 19:56:08 +01:00
2023-12-20 12:25:40 -07:00
2023-11-20 20:50:53 +01:00
2024-02-19 22:11:59 -05:00
2024-02-11 08:10:45 +01:00
2024-02-20 10:55:10 +01:00
2024-01-29 17:10:56 -05:00
2024-01-25 08:23:41 +01:00
2024-01-20 08:57:37 +01:00
2024-01-12 15:04:06 +01:00
2023-12-25 12:09:11 +01:00
2024-01-12 15:04:06 +01:00
2024-01-12 15:04:06 +01:00
2024-02-21 10:34:44 +01:00
2024-01-12 15:04:06 +01:00
2023-11-11 08:54:37 +01:00
2024-02-14 22:20:44 -05:00
2024-01-10 23:26:40 +01:00
2024-02-15 22:51:15 -05:00
2024-02-15 22:51:15 -05:00
2024-01-30 14:50:25 +01:00
2024-01-30 14:50:25 +01:00
2023-12-10 08:07:41 -05:00
2024-02-24 00:19:55 +01:00
2024-02-25 10:17:25 +01:00
2024-02-16 17:21:48 -05:00
2024-02-16 17:21:48 -05:00
2024-01-12 15:04:06 +01:00
2024-01-12 15:04:06 +01:00
2024-02-25 12:55:30 +01:00
2023-12-23 20:53:11 +01:00
2023-12-04 01:33:57 +01:00
2023-12-04 01:33:57 +01:00
2023-12-04 01:33:57 +01:00
2023-12-02 10:34:22 +01:00
2024-01-06 09:59:30 -07:00
2024-02-19 11:07:30 +01:00
2023-12-07 16:46:28 -05:00
2024-02-18 18:44:45 +01:00
2023-10-31 18:09:14 +01:00
2023-12-09 21:50:17 +01:00
2024-02-22 07:35:30 +01:00
2024-02-06 08:39:06 +01:00
2024-01-12 15:04:06 +01:00
2024-01-12 15:04:06 +01:00
2023-11-23 13:06:48 +01:00
2024-01-12 15:04:06 +01:00
2023-12-09 22:06:20 +01:00
2024-02-25 10:17:25 +01:00
2024-02-14 22:20:44 -05:00
2024-01-07 10:22:32 +01:00
2023-12-02 10:35:43 +01:00
2024-01-18 23:10:56 +01:00
2024-02-24 08:05:55 +01:00
2024-01-19 09:16:54 +01:00
2023-12-24 23:22:35 +01:00