Andrew Kaster
ffab9fb44e
LibWeb: Add FileList from the FileAPI spec
2022-10-04 22:05:14 +02:00
Linus Groh
0b52b883af
LibWeb: Implement '5.5. Response class' from the Fetch API :^)
2022-09-27 14:56:17 +01:00
Linus Groh
9fb672e981
LibWeb: Implement '5.4. Request class' from the Fetch API :^)
2022-09-27 14:56:17 +01:00
Linus Groh
bbaa05fcf9
LibWeb: Move DOMException from DOM/ to WebIDL/
2022-09-25 19:13:31 +01:00
Linus Groh
87654f5b51
LibWeb: Start fleshing out the ReadableStream interface
...
This is so we can just assume it exists in Fetch APIs (while still
skipping functionality that relies on a full implementation, of
course).
2022-09-22 21:01:13 +01:00
Linus Groh
edfef8e2f5
Everywhere: Rename WrapperGenerator to BindingsGenerator
...
This code generator no longer creates JS wrappers for platform objects
in the old sense, instead they're JS objects internally themselves.
Most of what we generate now are prototypes - which can be seen as
bindings for the internal C++ methods implementing getters, setters, and
methods - as well as object constructors, i.e. bindings for the internal
create_with_global_object() method.
Also tweak the naming of various CMake glue code existing around this.
2022-09-21 23:06:08 +01:00
Andreas Kling
530675993b
LibWeb: Rename Attribute to Attr
...
This name is not very good, but it's what the specification calls it.
2022-09-18 02:08:01 +02:00
Andreas Kling
ac274eee72
LibWeb: Remove the NO_INSTANCE option now that all wrappers are gone
2022-09-06 00:27:09 +02:00
Andreas Kling
497ead37bc
LibWeb: Make DOMException GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
2fe97fa8db
LibWeb: Make WorkerNavigator GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
9da72cdaba
LibWeb: Make WorkerLocation GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
25daa14a05
LibWeb: Make IntersectionObserver GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
fe9c5395d4
LibWeb: Make URL, URLSearchParams & URLSearchParamsIterator GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
0dc2c27fa3
LibWeb: Make ResizeObserver GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
915a240944
LibWeb: Make IdleDeadline GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
8f2a711132
LibWeb: Make Selection GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
be9d3860b9
LibWeb: Make Crypto GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
96f6c7fae5
LibWeb: Make Headers and HeadersIterator GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
647ac1bdba
LibWeb: Make Blob and File GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
018d236439
LibWeb: Make TextDecoder GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
7e508456a0
LibWeb: Make TextEncoder GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
57db2529cf
LibWeb: Make DOMRect, DOMRectReadOnly and DOMRectList GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
44415af428
LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
7a9b8ced38
LibWeb: Make SubtleCrypto GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
2ac8e3db3a
LibWeb: Make Storage GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
233208b640
LibWeb: Make XMLSerializer GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
6b7a1d13e9
LibWeb: Make TextMetrics GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
2704bcdaaa
LibWeb: Make Path2D GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
0d2fee351a
LibWeb: Make CanvasGradient GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
369dd42d67
LibWeb: Make ImageData GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
4452b5ca09
LibWeb: Make 2D and 3D canvas rendering contexts GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
b8d485e6f0
LibWeb: Make AbortController GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
3905d54a9c
LibWeb: Make SVGLength and SVGAnimatedLength GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
16fbb91aa1
LibWeb: Make History GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
2ff7e37048
LibWeb: Make MessageChannel GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
2bba97964b
LibWeb: Make HTMLCollection and subclasses GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
905eb8cb4d
LibWeb: Make MutationObserver GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
43ec0f734f
LibWeb: Make MutationRecord GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
48e0066371
LibWeb: Make NodeList GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
5f4d4ffe39
LibWeb: Make PerformanceTiming GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
8c90e08e0b
LibWeb: Make CSS::Screen GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
d5e831988e
LibWeb: Make DOMParser GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
6f433c8656
LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated
...
This is a monster patch that turns all EventTargets into GC-allocated
PlatformObjects. Their C++ wrapper classes are removed, and the LibJS
garbage collector is now responsible for their lifetimes.
There's a fair amount of hacks and band-aids in this patch, and we'll
have a lot of cleanup to do after this.
2022-09-06 00:27:09 +02:00
Andreas Kling
bb547ce1c4
LibWeb: Make AbstractRange and subclasses GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
7c3db526b0
LibWeb: Make DOM::Event and all its subclasses GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
a4ddb0ef87
LibWeb: Make TreeWalker GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
bd629c45b5
LibWeb: Make NodeIterator GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
967a3e5a45
LibWeb: Make DOMImplementation GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
cfdb8f2a8e
LibWeb: Make MediaList GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
0176d42f49
LibWeb: Make DOMTokenList GC-allocated
2022-09-06 00:27:09 +02:00