mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add support for timing out scripts
This commit is contained in:
parent
8d10fa1f2d
commit
50f59c8255
5 changed files with 82 additions and 49 deletions
|
@ -56,9 +56,6 @@
|
|||
|
||||
//void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer);
|
||||
|
||||
// Shouldn't be public, but just to make things work for now
|
||||
void webdriverCallback(optional any result);
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
Window implements GlobalEventHandlers;
|
||||
|
@ -131,6 +128,13 @@ partial interface Window {
|
|||
};
|
||||
Window implements OnErrorEventHandlerForWindow;
|
||||
|
||||
// WebDriver extensions
|
||||
partial interface Window {
|
||||
// Shouldn't be public, but just to make things work for now
|
||||
void webdriverCallback(optional any result);
|
||||
void webdriverTimeout();
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-sessionstorage
|
||||
[NoInterfaceObject]
|
||||
interface WindowSessionStorage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue