diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/managed-configuration.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/managed-configuration.idl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/managed-configuration.idl b/testing/web-platform/tests/interfaces/managed-configuration.idl new file mode 100644 index 0000000000..c04bf787cd --- /dev/null +++ b/testing/web-platform/tests/interfaces/managed-configuration.idl @@ -0,0 +1,20 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Managed Configuration API (https://wicg.github.io/WebApiDevice/managed_config/) + +[ + SecureContext +] partial interface Navigator { + [SecureContext, SameObject] + readonly attribute NavigatorManagedData managed; +}; + +[ + SecureContext, + Exposed=Window +] interface NavigatorManagedData : EventTarget { + // Managed Configuration API. + Promise<record<DOMString, object>> getManagedConfiguration(sequence<DOMString> keys); + attribute EventHandler onmanagedconfigurationchange; +}; |