LibWeb: Update Navigator.idl to use 4 spaces for indentation

This commit is contained in:
Linus Groh 2022-10-12 23:19:14 +02:00 committed by Andreas Kling
parent 5681115744
commit 68006f3e16
Notes: sideshowbarker 2024-07-17 05:59:55 +09:00

View file

@ -6,7 +6,7 @@
// https://html.spec.whatwg.org/multipage/system-state.html#navigator
[Exposed=Window]
interface Navigator {
// objects implementing this interface also implement the interfaces given below
// objects implementing this interface also implement the interfaces given below
};
// NOTE: As NavigatorContentUtils, NavigatorCookies, and NavigatorPlugins are not used in WorkerNavigator,
@ -14,21 +14,21 @@ interface Navigator {
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorcontentutils
interface mixin NavigatorContentUtils {
// FIXME: [SecureContext] undefined registerProtocolHandler(DOMString scheme, USVString url);
// FIXME: [SecureContext] undefined unregisterProtocolHandler(DOMString scheme, USVString url);
// FIXME: [SecureContext] undefined registerProtocolHandler(DOMString scheme, USVString url);
// FIXME: [SecureContext] undefined unregisterProtocolHandler(DOMString scheme, USVString url);
};
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorcookies
interface mixin NavigatorCookies {
readonly attribute boolean cookieEnabled;
readonly attribute boolean cookieEnabled;
};
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorplugins
interface mixin NavigatorPlugins {
// FIXME: [SameObject] readonly attribute PluginArray plugins;
// FIXME: [SameObject] readonly attribute MimeTypeArray mimeTypes;
boolean javaEnabled();
readonly attribute boolean pdfViewerEnabled;
// FIXME: [SameObject] readonly attribute PluginArray plugins;
// FIXME: [SameObject] readonly attribute MimeTypeArray mimeTypes;
boolean javaEnabled();
readonly attribute boolean pdfViewerEnabled;
};
Navigator includes NavigatorID;