1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

LibWeb/HTML: Port Window.origin to IDL

This commit is contained in:
Linus Groh 2023-03-06 11:11:17 +00:00
parent 376fb9ae40
commit 188aac5077
3 changed files with 3 additions and 16 deletions

View file

@ -35,6 +35,9 @@ interface Window : EventTarget {
undefined postMessage(any message, USVString targetOrigin);
// FIXME: undefined postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []);
// FIXME: undefined postMessage(any message, optional WindowPostMessageOptions options = {});
// FIXME: Replace these with 'Window includes WindowOrWorkerGlobalScope;' once we have feature parity
[Replaceable] readonly attribute USVString origin;
};
Window includes GlobalEventHandlers;
Window includes WindowEventHandlers;