Timothy Flynn
b10bbac061
LibXML+LibWeb: Store the XML document's original source
...
Similar to how we store an HTML document's original source. This allows
the source to be inspected with "View Source" in the Browser.
2022-11-03 14:52:16 +00:00
Linus Groh
acfb546048
LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>
s
2022-10-31 14:12:44 +00:00
Linus Groh
32ad939e44
LibWeb: Rename HighResolutionTime/{CoarsenTime => TimeOrigin}.cpp/h
...
This is being used for more than just time coarsening now, so let's use
the spec's section title for the name.
2022-10-05 09:12:59 +01:00
Linus Groh
4ea6cc56be
LibWeb: Move unsafe_shared_current_time() to HighResolutionTime
...
This doesn't belong on the EventLoop at all, as far as I can tell.
2022-10-05 09:12:59 +01:00
Andrew Kaster
4bb6345b2f
LibWeb: Remove unecessary dependence on Window from assorted classes
...
These classes only needed Window to get at its realm. Pass a realm
directly to construct Crypto, Encoding, HRT, IntersectionObserver,
NavigationTiming, Page, RequestIdleCallback, Selection, Streams, URL,
and XML classes.
2022-10-01 21:05:32 +01:00
Andreas Kling
2ccb9bef49
LibWeb: Remove now-unnecessary JS::Handles in HTML task capture lists
...
JS::SafeFunction will protect anything captures for HTML tasks now.
2022-09-24 12:23:29 +02:00
Andreas Kling
797d28adca
LibWeb: Save begin/end timestamps for load and DOMContentLoaded events
2022-09-21 11:51:18 +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
7c3db526b0
LibWeb: Make DOM::Event and all its subclasses GC-allocated
2022-09-06 00:27:09 +02:00
Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Ali Mohammad Pur
5a0123fd2f
LibWeb: Load X(HT)ML documents and transform them into HTML DOM
2022-03-28 23:11:48 +02:00