mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibWeb: Add an Internals.headless
attribute
This returns true if the browser is running in headless mode.
This commit is contained in:
parent
e764df15eb
commit
a44b18236c
Notes:
github-actions[bot]
2024-12-10 18:32:51 +00:00
Author: https://github.com/tcl3
Commit: a44b18236c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2858
Reviewed-by: https://github.com/trflynn89
5 changed files with 17 additions and 0 deletions
|
@ -42,4 +42,6 @@ interface Internals {
|
|||
DOMString getComputedRole(Element element);
|
||||
DOMString getComputedLabel(Element element);
|
||||
unsigned short getEchoServerPort();
|
||||
|
||||
readonly attribute boolean headless;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue