Bug 1691939 [wpt PR 27565] - Update interfaces/html.idl, a=testonly

Automatic update from web-platform-tests
Update interfaces/html.idl (#27565)

Source: https://github.com/w3c/webref/blob/16294ab/ed/idl/html.idl
Build: https://travis-ci.org/w3c/webref/builds/216653567
--

wpt-commits: 13c7c7d7c009eab5650db49a7cff3990c07fd4fe
wpt-pr: 27565
This commit is contained in:
autofoolip 2021-02-16 03:23:52 +00:00 коммит произвёл moz-wptsync-bot
Родитель 505311f125
Коммит ab572120d9
1 изменённых файлов: 39 добавлений и 42 удалений

Просмотреть файл

@ -2027,48 +2027,6 @@ interface mixin NavigatorCookies {
readonly attribute boolean cookieEnabled; readonly attribute boolean cookieEnabled;
}; };
interface mixin NavigatorPlugins {
[SameObject] readonly attribute PluginArray plugins;
[SameObject] readonly attribute MimeTypeArray mimeTypes;
boolean javaEnabled();
};
[Exposed=Window,
LegacyUnenumerableNamedProperties]
interface PluginArray {
undefined refresh(optional boolean reload = false);
readonly attribute unsigned long length;
getter Plugin? item(unsigned long index);
getter Plugin? namedItem(DOMString name);
};
[Exposed=Window,
LegacyUnenumerableNamedProperties]
interface MimeTypeArray {
readonly attribute unsigned long length;
getter MimeType? item(unsigned long index);
getter MimeType? namedItem(DOMString name);
};
[Exposed=Window,
LegacyUnenumerableNamedProperties]
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);
};
[Exposed=Window]
interface MimeType {
readonly attribute DOMString type;
readonly attribute DOMString description;
readonly attribute DOMString suffixes; // comma-separated
readonly attribute Plugin enabledPlugin;
};
[Exposed=(Window,Worker), Serializable, Transferable] [Exposed=(Window,Worker), Serializable, Transferable]
interface ImageBitmap { interface ImageBitmap {
readonly attribute unsigned long width; readonly attribute unsigned long width;
@ -2674,3 +2632,42 @@ interface External {
undefined AddSearchProvider(); undefined AddSearchProvider();
undefined IsSearchProviderInstalled(); undefined IsSearchProviderInstalled();
}; };
interface mixin NavigatorPlugins {
[SameObject] readonly attribute PluginArray plugins;
[SameObject] readonly attribute MimeTypeArray mimeTypes;
boolean javaEnabled();
};
[Exposed=Window]
interface PluginArray {
undefined refresh();
readonly attribute unsigned long length;
getter object? item(unsigned long index);
object? namedItem(DOMString name);
};
[Exposed=Window]
interface MimeTypeArray {
readonly attribute unsigned long length;
getter object? item(unsigned long index);
object? namedItem(DOMString name);
};
[Exposed=Window]
interface Plugin {
readonly attribute undefined name;
readonly attribute undefined description;
readonly attribute undefined filename;
readonly attribute undefined length;
getter undefined item(unsigned long index);
undefined namedItem(DOMString name);
};
[Exposed=Window]
interface MimeType {
readonly attribute undefined type;
readonly attribute undefined description;
readonly attribute undefined suffixes;
readonly attribute undefined enabledPlugin;
};