summaryrefslogtreecommitdiff
path: root/Source/WebCore/plugins/DOMPlugin.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/plugins/DOMPlugin.idl')
-rw-r--r--Source/WebCore/plugins/DOMPlugin.idl5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/plugins/DOMPlugin.idl b/Source/WebCore/plugins/DOMPlugin.idl
index a1b624091..0f5a0b2a3 100644
--- a/Source/WebCore/plugins/DOMPlugin.idl
+++ b/Source/WebCore/plugins/DOMPlugin.idl
@@ -20,12 +20,13 @@
[
InterfaceName=Plugin,
+ LegacyUnenumerableNamedProperties
] interface DOMPlugin {
readonly attribute DOMString name;
readonly attribute DOMString filename;
readonly attribute DOMString description;
readonly attribute unsigned long length;
- getter DOMMimeType item([Default=Undefined] optional unsigned long index);
- getter DOMMimeType namedItem([Default=Undefined] optional DOMString name);
+ getter DOMMimeType? item(unsigned long index);
+ getter DOMMimeType? namedItem(DOMString name);
};