1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:17:44 +00:00

LibWeb/HTML: Port Window.crypto to IDL

This commit is contained in:
Linus Groh 2023-03-06 19:50:56 +00:00
parent 7de9179a6d
commit 198db2ebd9
3 changed files with 14 additions and 12 deletions

View file

@ -1,3 +1,4 @@
#import <Crypto/Crypto.idl>
#import <DOM/Document.idl>
#import <DOM/EventHandler.idl>
#import <DOM/EventTarget.idl>
@ -44,6 +45,9 @@ interface Window : EventTarget {
// FIXME: Everything from here on should be shared through WindowOrWorkerGlobalScope
// https://w3c.github.io/hr-time/#the-performance-attribute
[Replaceable] readonly attribute Performance performance;
// https://w3c.github.io/webcrypto/#crypto-interface
[SameObject] readonly attribute Crypto crypto;
};
Window includes GlobalEventHandlers;
Window includes WindowEventHandlers;