Title: [92446] trunk/Source/WebCore
Revision
92446
Author
[email protected]
Date
2011-08-04 22:37:24 -0700 (Thu, 04 Aug 2011)

Log Message

Remove LegacyDefaultOptionalArguments flag from XML/XSL IDL files
https://bugs.webkit.org/show_bug.cgi?id=65740

Patch by Mark Pilgrim <[email protected]> on 2011-08-04
Reviewed by Adam Barth.

No new tests, all existing tests pass.

* xml/DOMParser.idl:
* xml/XMLSerializer.idl:
* xml/XPathEvaluator.idl:
* xml/XPathExpression.idl:
* xml/XPathNSResolver.idl:
* xml/XPathResult.idl:
* xml/XSLTProcessor.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (92445 => 92446)


--- trunk/Source/WebCore/ChangeLog	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/ChangeLog	2011-08-05 05:37:24 UTC (rev 92446)
@@ -1,5 +1,22 @@
 2011-08-04  Mark Pilgrim  <[email protected]>
 
+        Remove LegacyDefaultOptionalArguments flag from XML/XSL IDL files
+        https://bugs.webkit.org/show_bug.cgi?id=65740
+
+        Reviewed by Adam Barth.
+
+        No new tests, all existing tests pass.
+
+        * xml/DOMParser.idl:
+        * xml/XMLSerializer.idl:
+        * xml/XPathEvaluator.idl:
+        * xml/XPathExpression.idl:
+        * xml/XPathNSResolver.idl:
+        * xml/XPathResult.idl:
+        * xml/XSLTProcessor.idl:
+
+2011-08-04  Mark Pilgrim  <[email protected]>
+
         Remove LegacyDefaultOptionalArguments flag from canvas IDL files
         https://bugs.webkit.org/show_bug.cgi?id=65737
 

Modified: trunk/Source/WebCore/xml/DOMParser.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/DOMParser.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/DOMParser.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -19,9 +19,9 @@
 
 module xpath {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed
     ] DOMParser {
-        Document parseFromString(in DOMString str, in DOMString contentType);
+        Document parseFromString(in [Optional=CallWithDefaultValue] DOMString str, 
+                                 in [Optional=CallWithDefaultValue] DOMString contentType);
     };
 }

Modified: trunk/Source/WebCore/xml/XMLSerializer.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/XMLSerializer.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/XMLSerializer.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -21,10 +21,9 @@
 module xpath {
 
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed
     ] XMLSerializer {
-        DOMString serializeToString(in Node node)
+        DOMString serializeToString(in [Optional=CallWithDefaultValue] Node node)
             raises(DOMException);
     };
 

Modified: trunk/Source/WebCore/xml/XPathEvaluator.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/XPathEvaluator.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/XPathEvaluator.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -19,21 +19,20 @@
 
 module xpath {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         Conditional=XPATH
     ] XPathEvaluator {
-        XPathExpression createExpression(in DOMString _expression_,
-                                         in XPathNSResolver resolver)
+        XPathExpression createExpression(in [Optional=CallWithDefaultValue] DOMString _expression_,
+                                         in [Optional=CallWithDefaultValue] XPathNSResolver resolver)
             raises(DOMException);
 
-        XPathNSResolver createNSResolver(in Node nodeResolver);
+        XPathNSResolver createNSResolver(in [Optional=CallWithDefaultValue] Node nodeResolver);
 
-        XPathResult evaluate(in DOMString _expression_,
-                             in Node contextNode, 
-                             in XPathNSResolver resolver,
-                             in unsigned short type,
-                             in XPathResult inResult)
+        XPathResult evaluate(in [Optional=CallWithDefaultValue] DOMString _expression_,
+                             in [Optional=CallWithDefaultValue] Node contextNode, 
+                             in [Optional=CallWithDefaultValue] XPathNSResolver resolver,
+                             in [Optional=CallWithDefaultValue] unsigned short type,
+                             in [Optional=CallWithDefaultValue] XPathResult inResult)
             raises(DOMException);
     };
 }

Modified: trunk/Source/WebCore/xml/XPathExpression.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/XPathExpression.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/XPathExpression.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -22,12 +22,11 @@
 
 
     interface [
-        LegacyDefaultOptionalArguments,
         Conditional=XPATH
     ] XPathExpression {
-        [OldStyleObjC] XPathResult evaluate(in Node contextNode, 
-                                            in unsigned short type, 
-                                            in XPathResult inResult)
+        [OldStyleObjC] XPathResult evaluate(in [Optional=CallWithDefaultValue] Node contextNode, 
+                                            in [Optional=CallWithDefaultValue] unsigned short type, 
+                                            in [Optional=CallWithDefaultValue] XPathResult inResult)
             raises(DOMException);
     };
 

Modified: trunk/Source/WebCore/xml/XPathNSResolver.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/XPathNSResolver.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/XPathNSResolver.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -21,12 +21,11 @@
 module xpath {
 
     interface [
-        LegacyDefaultOptionalArguments,
         ObjCProtocol,
         Conditional=XPATH,
         OmitConstructor
     ] XPathNSResolver {
-        [ConvertNullStringTo=Null] DOMString lookupNamespaceURI(in DOMString prefix);
+        [ConvertNullStringTo=Null] DOMString lookupNamespaceURI(in [Optional=CallWithDefaultValue] DOMString prefix);
     };
 
 }

Modified: trunk/Source/WebCore/xml/XPathResult.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/XPathResult.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/XPathResult.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -20,7 +20,6 @@
 module xpath {
 
     interface [
-        LegacyDefaultOptionalArguments,
         Conditional=XPATH,
         CustomMarkFunction
     ] XPathResult {
@@ -54,7 +53,7 @@
             
         Node iterateNext()
             raises (DOMException);
-        Node snapshotItem(in unsigned long index)
+        Node snapshotItem(in [Optional=CallWithDefaultValue] unsigned long index)
             raises (DOMException);
     };
 

Modified: trunk/Source/WebCore/xml/XSLTProcessor.idl (92445 => 92446)


--- trunk/Source/WebCore/xml/XSLTProcessor.idl	2011-08-05 05:27:38 UTC (rev 92445)
+++ trunk/Source/WebCore/xml/XSLTProcessor.idl	2011-08-05 05:37:24 UTC (rev 92446)
@@ -33,7 +33,6 @@
     // http://bugs.webkit.org/show_bug.cgi?id=5446
 
     interface [
-        LegacyDefaultOptionalArguments,
         Conditional=XSLT,
         CanBeConstructed,
         CustomConstructFunction,
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to