Tete17
18199f8f2a
LibWeb: Hook TrustedTypes to the ServiceWorkers api
2025-10-13 13:22:01 +01:00
Timothy Flynn
70db474cf0
LibJS+LibWeb: Port interned bytecode strings to UTF-16
...
This was almost a no-op, except we intern JS exception messages. So the
bulk of this patch is porting exception messages to UTF-16.
2025-08-14 10:27:08 +02:00
Andreas Kling
a6dfc74e93
LibWeb: Only set prototype once for object with IDL interface
...
Before this change, we were going through the chain of base classes for
each IDL interface object and having them set the prototype to their
prototype.
Instead of doing that, reorder things so that we set the right prototype
immediately in Foo::initialize(), and then don't bother in all the base
class overrides.
This knocks off a ~1% profile item on Speedometer 3.
2025-04-20 18:43:11 +02:00
Shannon Booth
dc2b0e17bf
LibWeb/ServiceWorker: Use has_value for checking for invalid URL
...
This is the correct API to call here.
2025-02-19 08:01:35 -05:00
Feng Yu
37e1d6ece1
LibWeb: Implement nagivator.serviceWorker.getRegistration()
2025-01-30 15:18:43 -07:00
Shannon Booth
fd27eef0d1
LibWeb: Return OptionalNone from DOMURL::parse on failure
...
This ports one more function away from needing to use the awkward
valid state of the URL class.
2025-01-22 12:33:55 +00:00
Shannon Booth
4417f63ca0
LibWeb: Move ServiceWorker classes to ServiceWorker namespace
...
These are defined by the ServiceWorker spec, not the HTML one.
2024-11-30 11:19:35 +01:00