| 00:05 | <devsnek> | how come WindowProxy doesn't override [[HasProperty]] |
| 02:42 | <Domenic> | Why would it? |
| 05:10 | <devsnek> | Domenic: i dunno, isn't the point to protect the origin window |
| 05:11 | <devsnek> | i don't know much about why windowproxy exists tbh, i was just looking at the history of why v8 doesn't properly support [[HasProperty]] operations on the global proxy |
| 05:56 | <annevk> | devsnek: iirc that delegates to something that is protected |
| 05:56 | <devsnek> | yeah i wasn't able to get a full picture from the spec |
| 05:57 | <devsnek> | interesting to know why v8 doesn't intercept [[HasProperty]] correctly though |
| 05:57 | <annevk> | devsnek: does the default Has not call GetOwn? |
| 05:58 | <devsnek> | it does |
| 05:58 | <annevk> | So no need to override it then |
| 05:58 | <devsnek> | but if you use an exotic object, v8 doesn't call [[HasProperty]] |
| 05:58 | <devsnek> | it goes straight to GetOwnProperty |
| 05:59 | <devsnek> | i assume as an optimization |
| 05:59 | <annevk> | Okay, that might be a bug if observable |
| 05:59 | <devsnek> | well its only observable if you put like a proxy or something as the global object |
| 05:59 | <devsnek> | not possible in browsers |
| 21:41 | <white_soldier> | Hi can I ask question about Stream API JS |