mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +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
11
Userland/Libraries/LibWeb/HTML/Plugin.idl
Normal file
11
Userland/Libraries/LibWeb/HTML/Plugin.idl
Normal file
|
@ -0,0 +1,11 @@
|
|||
#import <HTML/MimeType.idl>
|
||||
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
interface Plugin {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute DOMString description;
|
||||
readonly attribute DOMString filename;
|
||||
readonly attribute unsigned long length;
|
||||
getter MimeType? item(unsigned long index);
|
||||
getter MimeType? namedItem(DOMString name);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue