Psychpsyo
9b8120d8e8
Meta: Disallow links to single-page HTML spec
2025-02-05 16:04:50 -07:00
Timothy Flynn
cfc8d36b80
WebContent: Use the actions queue for the Release Actions endpoint
...
See: https://github.com/w3c/webdriver/commit/7d8beb9
This was missing from a partial implemementation of this change in
commit: ed83bb75e9 .
2025-02-05 11:33:33 +00:00
Timothy Flynn
7edbd19675
WebContent: Ensure the Release Actions endpoint handles user prompts
...
This also contains an editorial refactor to the Perform Actions endpoint
to check for user prompts earlier.
See: https://github.com/w3c/webdriver/commit/78d3c9b
2025-02-05 11:33:33 +00:00
Timothy Flynn
28fb30b22f
LibWeb: Move AO to check if a browsing context is open to a helper file
...
This will be needed outside of WebDriverConnection.cpp.
2025-02-05 11:33:33 +00:00
Shannon Booth
76397c9ecd
LibWeb: Use finalize for cleaning up all navigables
...
The use of this HashMap looks very spooky, but let's at least use
finalize when cleaning them up on destruction to make things slightly
less dangerous looking.
2025-01-17 10:08:42 +01:00
Sam Atkins
ed83bb75e9
LibWeb/WebDriver: Use actions queue for undo actions
...
This reflects part of https://github.com/w3c/webdriver/pull/1853
Also updated to reflect some minor spec text changes.
2025-01-03 13:14:53 -08:00
Andreas Kling
3bfb0534be
LibGC: Rename MarkedVector => RootVector
...
Let's try to make it a bit more clear that this is a Vector of GC roots.
2024-12-26 19:10:44 +01:00
Andreas Kling
74469a0c1f
LibWeb: Make CSS::ComputedProperties GC-allocated
2024-12-22 10:12:49 +01:00
Andreas Kling
c1cad8fa0e
LibWeb: Rename CSS::StyleProperties => CSS::ComputedProperties
...
Now that StyleProperties is only used to hold computed properties, let's
name it ComputedProperties.
2024-12-22 10:12:49 +01:00
Andreas Kling
e85c3c97fb
LibWeb: Add mode flag to CSSStyleValue::to_string()
...
This will be used to differentiate between serialization for resolved
style (i.e window.getComputedStyle()) and serialization for all other
purposes.
2024-12-07 08:31:03 +00:00
Shannon Booth
f87041bf3a
LibGC+Everywhere: Factor out a LibGC from LibJS
...
Resulting in a massive rename across almost everywhere! Alongside the
namespace change, we now have the following names:
* JS::NonnullGCPtr -> GC::Ref
* JS::GCPtr -> GC::Ptr
* JS::HeapFunction -> GC::Function
* JS::CellImpl -> GC::Cell
* JS::Handle -> GC::Root
2024-11-15 14:49:20 +01:00
Shannon Booth
9b79a686eb
LibJS+LibWeb: Use realm.create<T> instead of heap.allocate<T>
...
The main motivation behind this is to remove JS specifics of the Realm
from the implementation of the Heap.
As a side effect of this change, this is a bit nicer to read than the
previous approach, and in my opinion, also makes it a little more clear
that this method is specific to a JavaScript Realm.
2024-11-13 16:51:44 -05:00
Timothy Flynn
22e0eeada2
Everywhere: Hoist the Services folder to the top-level
2024-11-10 12:50:45 +01:00