mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
parent
950e819ee7
commit
93712b24bf
Notes:
github-actions[bot]
2024-11-10 11:51:52 +00:00
Author: https://github.com/trflynn89
Commit: 93712b24bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
4547 changed files with 104 additions and 113 deletions
42
Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
Normal file
42
Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl
Normal file
|
@ -0,0 +1,42 @@
|
|||
#import <Crypto/Crypto.idl>
|
||||
#import <Fetch/Request.idl>
|
||||
#import <Fetch/Response.idl>
|
||||
#import <HighResolutionTime/Performance.idl>
|
||||
#import <HTML/ImageBitmap.idl>
|
||||
#import <HTML/MessagePort.idl>
|
||||
#import <IndexedDB/IDBFactory.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#timerhandler
|
||||
typedef (DOMString or Function) TimerHandler;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope
|
||||
interface mixin WindowOrWorkerGlobalScope {
|
||||
[Replaceable] readonly attribute USVString origin;
|
||||
readonly attribute boolean isSecureContext;
|
||||
readonly attribute boolean crossOriginIsolated;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#dom-reporterror
|
||||
undefined reportError(any e);
|
||||
|
||||
// timers
|
||||
long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
|
||||
undefined clearTimeout(optional long id = 0);
|
||||
long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
|
||||
undefined clearInterval(optional long id = 0);
|
||||
|
||||
// ImageBitmap
|
||||
Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options = {});
|
||||
Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options = {});
|
||||
|
||||
// https://fetch.spec.whatwg.org/#fetch-method
|
||||
[NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {});
|
||||
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
[Replaceable] readonly attribute Performance performance;
|
||||
|
||||
// https://w3c.github.io/IndexedDB/#factory-interface
|
||||
[SameObject] readonly attribute IDBFactory indexedDB;
|
||||
|
||||
// https://w3c.github.io/webcrypto/#crypto-interface
|
||||
[SameObject] readonly attribute Crypto crypto;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue