This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2025-11-10 10:11:04 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
c74f7e5f2a
ladybird
/
Userland
/
Libraries
/
LibWeb
/
Internals
/
Internals.idl
7 lines
104 B
Text
Raw
Normal View
History
Unescape
Escape
LibWeb: Add a simple `internals` objects only available during testing This object is available as `window.internals` (or just `internals`) and is only accessible while running in "test mode". This first version only has one API: gc(), which triggers a garbage collection immediately. In the future, we can add more APIs here to help us test parts of the engine that are hard or impossible to reach via public web APIs.
2023-07-21 11:59:49 +02:00
[Exposed=Nobody] interface Internals {
undefined gc();
LibWeb: Add hit testing API in `internals` object Introduces `internals.hitTest(x, y)` that is going to allow us write tests for hit testing :)
2023-08-08 22:44:52 +02:00
object hitTest(double x, double y);
LibWeb: Add a simple `internals` objects only available during testing This object is available as `window.internals` (or just `internals`) and is only accessible while running in "test mode". This first version only has one API: gc(), which triggers a garbage collection immediately. In the future, we can add more APIs here to help us test parts of the engine that are hard or impossible to reach via public web APIs.
2023-07-21 11:59:49 +02:00
};
Reference in a new issue
Copy permalink