summaryrefslogtreecommitdiff
path: root/Source/WebCore/plugins/DOMPluginArray.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/plugins/DOMPluginArray.idl')
-rw-r--r--Source/WebCore/plugins/DOMPluginArray.idl8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/WebCore/plugins/DOMPluginArray.idl b/Source/WebCore/plugins/DOMPluginArray.idl
index 85d05223c..6946ff515 100644
--- a/Source/WebCore/plugins/DOMPluginArray.idl
+++ b/Source/WebCore/plugins/DOMPluginArray.idl
@@ -20,11 +20,13 @@
[
GenerateIsReachable=ImplFrame,
+ LegacyUnenumerableNamedProperties,
InterfaceName=PluginArray,
] interface DOMPluginArray {
readonly attribute unsigned long length;
- getter DOMPlugin item([Default=Undefined] optional unsigned long index);
- getter DOMPlugin namedItem([Default=Undefined] optional DOMString name);
- void refresh([Default=Undefined] optional boolean reload);
+ getter DOMPlugin? item(unsigned long index);
+ getter DOMPlugin? namedItem(DOMString name);
+
+ void refresh(optional boolean reload = false);
};