mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibWeb: Implement navigator.{plugins,mimeTypes}
This commit is contained in:
parent
5e422bdae0
commit
4d0277cd9a
20 changed files with 767 additions and 4 deletions
|
@ -1,7 +1,9 @@
|
|||
#import <HTML/MimeTypeArray.idl>
|
||||
#import <HTML/NavigatorID.idl>
|
||||
#import <HTML/NavigatorLanguage.idl>
|
||||
#import <HTML/NavigatorOnLine.idl>
|
||||
#import <HTML/NavigatorConcurrentHardware.idl>
|
||||
#import <HTML/PluginArray.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/system-state.html#navigator
|
||||
[Exposed=Window]
|
||||
|
@ -25,8 +27,8 @@ interface mixin NavigatorCookies {
|
|||
|
||||
// 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;
|
||||
[SameObject] readonly attribute PluginArray plugins;
|
||||
[SameObject] readonly attribute MimeTypeArray mimeTypes;
|
||||
boolean javaEnabled();
|
||||
readonly attribute boolean pdfViewerEnabled;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue