Files
browser/src
Karl Seguin c5d49a9d34 Add dummy PerformanceObserver
Adds a dummy PerformanceObserver. Only the supportedEntryTypes static attribute
is supported, and it currently returns an empty array. This hopefully prevents
code from trying to use it. For example, before using it, reddit checks if
specific types are supported and, if not, doesn't use it.

This introduced complexity in the js runtime. Our current approach to
attributes only works with primitive types. Non-primitive types can't be
attached to a FunctionTemplate (v8 will crash saying only primitive types can
be set). Plus, all non primitive types require a context to create anyways.

We now detect "primitive" attributes and "complex" attributes. Primitive
attributes are setup as before. Complex attributes are setup per-context,
requiring another loop through our types to detect & setup on each context
creation.
2025-06-19 18:20:02 +08:00
..
2025-06-19 18:20:02 +08:00
2025-06-19 10:26:33 +08:00
2025-02-27 16:09:10 +08:00
2025-06-19 18:20:02 +08:00
2025-02-26 21:00:43 +08:00
2025-05-05 13:29:41 +08:00
2025-06-17 08:19:01 +08:00
2025-06-13 10:30:50 +02:00
2025-06-02 21:38:56 +08:00
2025-04-15 21:16:20 +08:00
2025-06-13 10:30:50 +02:00
2025-06-04 21:41:49 +08:00