Aliaksandr Kalenik
cad2d2c85b
LibWeb: Use JS::HeapFunction for DocumentObserver callbacks
...
If GC-allocated object wants to own a function it should use
HeapFunction because using SafeFunction will almost always lead to a
leak.
2023-09-27 19:39:57 +02:00
Sebastian Zaha
d24667a1b6
LibWeb: Rename loaded observer event to match spec
...
The `document_fully_loaded` event should use the adjective "completely"
so as to match the spec and code convention. See
`Document::is_completely_loaded` and `m_completely_loaded_time`.
2023-07-12 13:16:23 +02:00
PrestonLTaylor
b322abd8d0
LibWeb: Add document_fully_loaded event to DocumentObserver
...
SVGUseElement needs to be able to query the fully loaded document for
its referenced element.
2023-06-03 05:58:00 +02:00
Timothy Flynn
f78eadf00f
LibWeb: Add an interface to be notified of Document state changes
...
Some HTML elements, e.g. HTMLMediaElement, need to take action when the
document becomes inactive.
2023-05-04 16:48:10 +02:00