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:
parent
376fb9ae40
commit
188aac5077
3 changed files with 3 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue