mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
This object represents the global object for a shadow realm. The IDL generator will need to be adjusted to the '[Global]' extended attribute and no '[Exposed]' field (the change in the test is not correct, as I understand it), but this should be enough to get us started on shadow realms.
6 lines
271 B
Text
6 lines
271 B
Text
// https://whatpr.org/html/9893/webappapis.html#shadowrealmglobalscope
|
|
// FIXME: This is not correct! We should not have Exposed=Window here.
|
|
[Global, Exposed=Window]
|
|
interface ShadowRealmGlobalScope : EventTarget {
|
|
readonly attribute ShadowRealmGlobalScope self;
|
|
};
|