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

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

View file

@ -6,7 +6,7 @@
// https://html.spec.whatwg.org/multipage/system-state.html#navigator // https://html.spec.whatwg.org/multipage/system-state.html#navigator
[Exposed=Window] [Exposed=Window]
interface Navigator { 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, // 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 // https://html.spec.whatwg.org/multipage/system-state.html#navigatorcontentutils
interface mixin NavigatorContentUtils { interface mixin NavigatorContentUtils {
// FIXME: [SecureContext] undefined registerProtocolHandler(DOMString scheme, USVString url); // FIXME: [SecureContext] undefined registerProtocolHandler(DOMString scheme, USVString url);
// FIXME: [SecureContext] undefined unregisterProtocolHandler(DOMString scheme, USVString url); // FIXME: [SecureContext] undefined unregisterProtocolHandler(DOMString scheme, USVString url);
}; };
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorcookies // https://html.spec.whatwg.org/multipage/system-state.html#navigatorcookies
interface mixin NavigatorCookies { interface mixin NavigatorCookies {
readonly attribute boolean cookieEnabled; readonly attribute boolean cookieEnabled;
}; };
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorplugins // https://html.spec.whatwg.org/multipage/system-state.html#navigatorplugins
interface mixin NavigatorPlugins { interface mixin NavigatorPlugins {
// FIXME: [SameObject] readonly attribute PluginArray plugins; // FIXME: [SameObject] readonly attribute PluginArray plugins;
// FIXME: [SameObject] readonly attribute MimeTypeArray mimeTypes; // FIXME: [SameObject] readonly attribute MimeTypeArray mimeTypes;
boolean javaEnabled(); boolean javaEnabled();
readonly attribute boolean pdfViewerEnabled; readonly attribute boolean pdfViewerEnabled;
}; };
Navigator includes NavigatorID; Navigator includes NavigatorID;