mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 15:09:42 +00:00
Some checks failed
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Build Dev Container Image / build (push) Has been cancelled
66 lines
2.2 KiB
Text
66 lines
2.2 KiB
Text
#import <DOM/EventTarget.idl>
|
|
#import <HTML/HTMLElement.idl>
|
|
#import <Internals/InternalAnimationTimeline.idl>
|
|
#import <Internals/InternalGamepad.idl>
|
|
|
|
[Exposed=Nobody]
|
|
interface Internals {
|
|
|
|
undefined signalTestIsDone(DOMString text);
|
|
undefined setTestTimeout(double milliseconds);
|
|
undefined loadReferenceTestMetadata();
|
|
|
|
DOMString setTimeZone(DOMString timeZone);
|
|
|
|
undefined gc();
|
|
object hitTest(double x, double y);
|
|
|
|
const unsigned short MOD_NONE = 0;
|
|
const unsigned short MOD_ALT = 1;
|
|
const unsigned short MOD_CTRL = 2;
|
|
const unsigned short MOD_SHIFT = 4;
|
|
const unsigned short MOD_SUPER = 8;
|
|
const unsigned short MOD_KEYPAD = 16;
|
|
|
|
undefined sendText(HTMLElement target, DOMString text, optional unsigned short modifiers = 0);
|
|
undefined sendKey(HTMLElement target, DOMString keyName, optional unsigned short modifiers = 0);
|
|
undefined paste(HTMLElement target, DOMString text);
|
|
undefined commitText();
|
|
|
|
undefined click(double x, double y);
|
|
undefined doubleclick(double x, double y);
|
|
undefined middleClick(double x, double y);
|
|
undefined mouseDown(double x, double y);
|
|
undefined movePointerTo(double x, double y);
|
|
undefined wheel(double x, double y, double deltaX, double deltaY);
|
|
|
|
boolean dispatchUserActivatedEvent(EventTarget target, Event event);
|
|
undefined spoofCurrentURL(USVString url);
|
|
|
|
InternalAnimationTimeline createInternalAnimationTimeline();
|
|
|
|
undefined simulateDragStart(double x, double y, DOMString mimeType, DOMString contents);
|
|
undefined simulateDragMove(double x, double y);
|
|
undefined simulateDrop(double x, double y);
|
|
|
|
undefined enableCookiesOnFileDomains();
|
|
undefined expireCookiesWithTimeOffset(long long seconds);
|
|
|
|
DOMString getComputedRole(Element element);
|
|
DOMString getComputedLabel(Element element);
|
|
unsigned short getEchoServerPort();
|
|
|
|
undefined setBrowserZoom(double factor);
|
|
|
|
readonly attribute boolean headless;
|
|
|
|
DOMString dumpDisplayList();
|
|
|
|
// Returns the shadow root of the element, if it has one, even if it's not normally accessible to JS.
|
|
ShadowRoot? getShadowRoot(Element element);
|
|
|
|
undefined handleSDLInputEvents();
|
|
|
|
InternalGamepad connectVirtualGamepad();
|
|
|
|
};
|