1
Fork 0
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:
Luke Wilde 2023-02-28 00:23:53 +00:00 committed by Andreas Kling
parent 5e422bdae0
commit 4d0277cd9a
20 changed files with 767 additions and 4 deletions

View 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);
};