mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
For example, in the following abbreviated test HTML:
<span>some text</span>
<script>println("whf")</script>
We would have to craft the expectation file to include the "some text"
segment, usually with some leading whitespace. This is a bit annoying,
and makes it difficult to manually craft expectation files.
So instead of comparing the expectation against the entire DOM inner
text, we now send the inner text of just the <pre> element containing
the test output when we invoke `internals.signalTextTestIsDone`.
30 lines
1007 B
Plaintext
30 lines
1007 B
Plaintext
#import <DOM/EventTarget.idl>
|
|
#import <HTML/HTMLElement.idl>
|
|
#import <Internals/InternalAnimationTimeline.idl>
|
|
|
|
[Exposed=Nobody]
|
|
interface Internals {
|
|
|
|
undefined signalTextTestIsDone(DOMString text);
|
|
undefined gc();
|
|
object hitTest(double x, double y);
|
|
|
|
undefined sendText(HTMLElement target, DOMString text);
|
|
undefined sendKey(HTMLElement target, DOMString keyName);
|
|
undefined commitText();
|
|
|
|
undefined click(double x, double y);
|
|
undefined middleClick(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);
|
|
};
|