mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
c2a2552e46
Also adds a TypeScript definition file for the test runner object.
16 lines
428 B
TypeScript
16 lines
428 B
TypeScript
// NOTE: This file is only for syntax highlighting, documentation, etc.
|
|
|
|
interface LibwebTester {
|
|
/**
|
|
* Changes the page to the specified URL. Everything afterwards will refer to the new page.
|
|
* @param url Page to load.
|
|
*/
|
|
changePage(url: string): void;
|
|
}
|
|
|
|
interface Window {
|
|
/**
|
|
* Special test object used to ease test development for LibWeb.
|
|
*/
|
|
readonly libweb_tester: LibwebTester;
|
|
}
|