Title: [92447] trunk/Source/WebCore
- Revision
- 92447
- Author
- [email protected]
- Date
- 2011-08-04 22:42:19 -0700 (Thu, 04 Aug 2011)
Log Message
Remove LegacyDefaultOptionalArguments flag from plugin IDL files
https://bugs.webkit.org/show_bug.cgi?id=65745
Patch by Mark Pilgrim <[email protected]> on 2011-08-04
Reviewed by Adam Barth.
No new tests, all existing tests pass.
* plugins/DOMMimeTypeArray.idl:
* plugins/DOMPlugin.idl:
* plugins/DOMPluginArray.idl:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (92446 => 92447)
--- trunk/Source/WebCore/ChangeLog 2011-08-05 05:37:24 UTC (rev 92446)
+++ trunk/Source/WebCore/ChangeLog 2011-08-05 05:42:19 UTC (rev 92447)
@@ -1,5 +1,18 @@
2011-08-04 Mark Pilgrim <[email protected]>
+ Remove LegacyDefaultOptionalArguments flag from plugin IDL files
+ https://bugs.webkit.org/show_bug.cgi?id=65745
+
+ Reviewed by Adam Barth.
+
+ No new tests, all existing tests pass.
+
+ * plugins/DOMMimeTypeArray.idl:
+ * plugins/DOMPlugin.idl:
+ * plugins/DOMPluginArray.idl:
+
+2011-08-04 Mark Pilgrim <[email protected]>
+
Remove LegacyDefaultOptionalArguments flag from XML/XSL IDL files
https://bugs.webkit.org/show_bug.cgi?id=65740
Modified: trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl (92446 => 92447)
--- trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl 2011-08-05 05:37:24 UTC (rev 92446)
+++ trunk/Source/WebCore/plugins/DOMMimeTypeArray.idl 2011-08-05 05:42:19 UTC (rev 92447)
@@ -21,14 +21,13 @@
module window {
interface [
- LegacyDefaultOptionalArguments,
GenerateIsReachable=ImplFrame,
HasNameGetter,
HasIndexGetter
] DOMMimeTypeArray {
readonly attribute unsigned long length;
- DOMMimeType item(in unsigned long index);
- DOMMimeType namedItem(in DOMString name);
+ DOMMimeType item(in [Optional=CallWithDefaultValue] unsigned long index);
+ DOMMimeType namedItem(in [Optional=CallWithDefaultValue] DOMString name);
};
}
Modified: trunk/Source/WebCore/plugins/DOMPlugin.idl (92446 => 92447)
--- trunk/Source/WebCore/plugins/DOMPlugin.idl 2011-08-05 05:37:24 UTC (rev 92446)
+++ trunk/Source/WebCore/plugins/DOMPlugin.idl 2011-08-05 05:42:19 UTC (rev 92447)
@@ -21,7 +21,6 @@
module window {
interface [
- LegacyDefaultOptionalArguments,
HasNameGetter,
HasIndexGetter
] DOMPlugin {
@@ -29,8 +28,8 @@
readonly attribute DOMString filename;
readonly attribute DOMString description;
readonly attribute unsigned long length;
- DOMMimeType item(in unsigned long index);
- DOMMimeType namedItem(in DOMString name);
+ DOMMimeType item(in [Optional=CallWithDefaultValue] unsigned long index);
+ DOMMimeType namedItem(in [Optional=CallWithDefaultValue] DOMString name);
};
}
Modified: trunk/Source/WebCore/plugins/DOMPluginArray.idl (92446 => 92447)
--- trunk/Source/WebCore/plugins/DOMPluginArray.idl 2011-08-05 05:37:24 UTC (rev 92446)
+++ trunk/Source/WebCore/plugins/DOMPluginArray.idl 2011-08-05 05:42:19 UTC (rev 92447)
@@ -21,15 +21,14 @@
module window {
interface [
- LegacyDefaultOptionalArguments,
GenerateIsReachable=ImplFrame,
HasNameGetter,
HasIndexGetter
] DOMPluginArray {
readonly attribute unsigned long length;
- DOMPlugin item(in unsigned long index);
- DOMPlugin namedItem(in DOMString name);
- void refresh(in boolean reload);
+ DOMPlugin item(in [Optional=CallWithDefaultValue] unsigned long index);
+ DOMPlugin namedItem(in [Optional=CallWithDefaultValue] DOMString name);
+ void refresh(in [Optional=CallWithDefaultValue] boolean reload);
};
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes