Title: [204685] trunk/Source/WebCore
Revision
204685
Author
wei...@apple.com
Date
2016-08-20 18:09:10 -0700 (Sat, 20 Aug 2016)

Log Message

Remove Objective-C specific extended attributes from the bindings
https://bugs.webkit.org/show_bug.cgi?id=161034

Reviewed by Dan Bernstein.

- Removes ObjCPolymorphic, ObjCProtocol, ObjCLegacyUnnamedParameters and ObjCExplicitAtomicString
  extended attributes.

* animation/AnimationTimeline.idl:
* css/CSSMediaRule.idl:
* css/CSSPrimitiveValue.idl:
* css/CSSRule.idl:
* css/CSSStyleDeclaration.idl:
* css/CSSStyleSheet.idl:
* css/CSSValue.idl:
* css/StyleSheet.idl:
* dom/CharacterData.idl:
* dom/DOMImplementation.idl:
* dom/Document.idl:
* dom/Element.idl:
* dom/Event.idl:
* dom/EventListener.idl:
* dom/EventTarget.idl:
* dom/MouseEvent.idl:
* dom/MutationEvent.idl:
* dom/NamedNodeMap.idl:
* dom/Node.idl:
* dom/NodeFilter.idl:
* dom/NonElementParentNode.idl:
* dom/Range.idl:
* dom/UIEvent.idl:
* html/HTMLCollection.idl:
* html/HTMLSelectElement.idl:
* svg/SVGExternalResourcesRequired.idl:
* svg/SVGFilterPrimitiveStandardAttributes.idl:
* svg/SVGFitToViewBox.idl:
* svg/SVGPathSeg.idl:
* svg/SVGTests.idl:
* svg/SVGURIReference.idl:
* svg/SVGZoomAndPan.idl:
* xml/XPathExpression.idl:
* xml/XPathNSResolver.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (204684 => 204685)


--- trunk/Source/WebCore/ChangeLog	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/ChangeLog	2016-08-21 01:09:10 UTC (rev 204685)
@@ -1,5 +1,50 @@
 2016-08-20  Sam Weinig  <s...@webkit.org>
 
+        Remove Objective-C specific extended attributes from the bindings
+        https://bugs.webkit.org/show_bug.cgi?id=161034
+
+        Reviewed by Dan Bernstein.
+
+        - Removes ObjCPolymorphic, ObjCProtocol, ObjCLegacyUnnamedParameters and ObjCExplicitAtomicString
+          extended attributes.
+
+        * animation/AnimationTimeline.idl:
+        * css/CSSMediaRule.idl:
+        * css/CSSPrimitiveValue.idl:
+        * css/CSSRule.idl:
+        * css/CSSStyleDeclaration.idl:
+        * css/CSSStyleSheet.idl:
+        * css/CSSValue.idl:
+        * css/StyleSheet.idl:
+        * dom/CharacterData.idl:
+        * dom/DOMImplementation.idl:
+        * dom/Document.idl:
+        * dom/Element.idl:
+        * dom/Event.idl:
+        * dom/EventListener.idl:
+        * dom/EventTarget.idl:
+        * dom/MouseEvent.idl:
+        * dom/MutationEvent.idl:
+        * dom/NamedNodeMap.idl:
+        * dom/Node.idl:
+        * dom/NodeFilter.idl:
+        * dom/NonElementParentNode.idl:
+        * dom/Range.idl:
+        * dom/UIEvent.idl:
+        * html/HTMLCollection.idl:
+        * html/HTMLSelectElement.idl:
+        * svg/SVGExternalResourcesRequired.idl:
+        * svg/SVGFilterPrimitiveStandardAttributes.idl:
+        * svg/SVGFitToViewBox.idl:
+        * svg/SVGPathSeg.idl:
+        * svg/SVGTests.idl:
+        * svg/SVGURIReference.idl:
+        * svg/SVGZoomAndPan.idl:
+        * xml/XPathExpression.idl:
+        * xml/XPathNSResolver.idl:
+
+2016-08-20  Sam Weinig  <s...@webkit.org>
+
         Roll out r204683.
 
 2016-08-20  Sam Weinig  <s...@webkit.org>

Modified: trunk/Source/WebCore/animation/AnimationTimeline.idl (204684 => 204685)


--- trunk/Source/WebCore/animation/AnimationTimeline.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/animation/AnimationTimeline.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -29,7 +29,6 @@
 [
     Conditional=WEB_ANIMATIONS,
     CustomToJSObject,
-    ObjCPolymorphic,
     ImplementationLacksVTable
 ] interface AnimationTimeline {
     // FIXME: Only a stub at the moment.

Modified: trunk/Source/WebCore/css/CSSMediaRule.idl (204684 => 204685)


--- trunk/Source/WebCore/css/CSSMediaRule.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/CSSMediaRule.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -23,7 +23,7 @@
     readonly attribute MediaList media;
     readonly attribute CSSRuleList cssRules;
     
-    [ObjCLegacyUnnamedParameters, RaisesException] unsigned long insertRule(optional DOMString rule = "undefined",
+    [RaisesException] unsigned long insertRule(optional DOMString rule = "undefined",
                                                  optional unsigned long index = 0);
     [RaisesException] void deleteRule(optional unsigned long index = 0);
 };

Modified: trunk/Source/WebCore/css/CSSPrimitiveValue.idl (204684 => 204685)


--- trunk/Source/WebCore/css/CSSPrimitiveValue.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/CSSPrimitiveValue.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -55,12 +55,12 @@
     
     readonly attribute unsigned short primitiveType;
 
-    [ObjCLegacyUnnamedParameters, RaisesException] void setFloatValue(optional unsigned short unitType = 0,
+    [RaisesException] void setFloatValue(optional unsigned short unitType = 0,
                                       optional unrestricted float floatValue = NaN);
     [RaisesException] unrestricted float getFloatValue(optional unsigned short unitType = 0);
 
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters, RaisesException] void setStringValue(optional unsigned short stringType = 0,
+    [RaisesException] void setStringValue(optional unsigned short stringType = 0,
                                        optional DOMString stringValue = "undefined");
     [RaisesException] DOMString getStringValue();
     [RaisesException] Counter getCounterValue();

Modified: trunk/Source/WebCore/css/CSSRule.idl (204684 => 204685)


--- trunk/Source/WebCore/css/CSSRule.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/CSSRule.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -24,7 +24,6 @@
     JSCustomMarkFunction,
     GenerateIsReachable,
     CustomToJSObject,
-    ObjCPolymorphic,
 ] interface CSSRule {
 
     // RuleType

Modified: trunk/Source/WebCore/css/CSSStyleDeclaration.idl (204684 => 204685)


--- trunk/Source/WebCore/css/CSSStyleDeclaration.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/CSSStyleDeclaration.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -37,7 +37,7 @@
     [RaisesException] DOMString removeProperty(DOMString propertyName);
     DOMString? getPropertyPriority(DOMString propertyName);
 
-    [ObjCLegacyUnnamedParameters, RaisesException] void setProperty(DOMString propertyName, [TreatNullAs=EmptyString] DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = "");
+    [RaisesException] void setProperty(DOMString propertyName, [TreatNullAs=EmptyString] DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = "");
 
     readonly attribute unsigned long length;
     getter DOMString item(unsigned long index);

Modified: trunk/Source/WebCore/css/CSSStyleSheet.idl (204684 => 204685)


--- trunk/Source/WebCore/css/CSSStyleSheet.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/CSSStyleSheet.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -23,7 +23,7 @@
     readonly attribute CSSRule          ownerRule;
     readonly attribute CSSRuleList      cssRules;
 
-    [ObjCLegacyUnnamedParameters, RaisesException] unsigned long insertRule(DOMString rule, unsigned long index);
+    [RaisesException] unsigned long insertRule(DOMString rule, unsigned long index);
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
     [RaisesException, ImplementedAs=deprecatedInsertRule] unsigned long insertRule(DOMString rule); // Deprecated.
 #endif

Modified: trunk/Source/WebCore/css/CSSValue.idl (204684 => 204685)


--- trunk/Source/WebCore/css/CSSValue.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/CSSValue.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -22,7 +22,6 @@
     CustomToJSObject,
     CustomIsReachable,
     JSCustomFinalize,
-    ObjCPolymorphic,
     ImplementationLacksVTable
 ] interface CSSValue {
     // UnitTypes

Modified: trunk/Source/WebCore/css/StyleSheet.idl (204684 => 204685)


--- trunk/Source/WebCore/css/StyleSheet.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/css/StyleSheet.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -24,7 +24,6 @@
     JSCustomMarkFunction,
     GenerateIsReachable,
     CustomToJSObject,
-    ObjCPolymorphic,
 ] interface StyleSheet {
     readonly attribute DOMString?       type;
              attribute boolean          disabled;

Modified: trunk/Source/WebCore/dom/CharacterData.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/CharacterData.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/CharacterData.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -23,15 +23,15 @@
 
     readonly attribute unsigned long length;
     
-    [ObjCLegacyUnnamedParameters, RaisesException] DOMString? substringData(unsigned long offset, unsigned long length);
+    [RaisesException] DOMString? substringData(unsigned long offset, unsigned long length);
 
     void appendData(DOMString data);
 
-    [ObjCLegacyUnnamedParameters, RaisesException] void insertData(unsigned long offset, DOMString data);
+    [RaisesException] void insertData(unsigned long offset, DOMString data);
 
-    [ObjCLegacyUnnamedParameters, RaisesException] void deleteData(unsigned long offset, unsigned long length);
+    [RaisesException] void deleteData(unsigned long offset, unsigned long length);
 
-    [ObjCLegacyUnnamedParameters, RaisesException] void replaceData(unsigned long offset, unsigned long length, DOMString data);
+    [RaisesException] void replaceData(unsigned long offset, unsigned long length, DOMString data);
 };
 
 CharacterData implements ChildNode;

Modified: trunk/Source/WebCore/dom/DOMImplementation.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/DOMImplementation.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/DOMImplementation.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,14 +26,14 @@
     // DOM Level 1
 
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters] boolean hasFeature(optional DOMString feature = "undefined",
+    boolean hasFeature(optional DOMString feature = "undefined",
         [TreatNullAs=EmptyString] optional DOMString version = "undefined");
 
     // DOM Level 2
 
-    [ObjCLegacyUnnamedParameters, RaisesException, NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
+    [RaisesException, NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
 
-    [NewObject, ObjCLegacyUnnamedParameters, RaisesException]
+    [NewObject, RaisesException]
 #if defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
         Document
 #else
@@ -44,7 +44,7 @@
     // DOMImplementationCSS interface from DOM Level 2 CSS
 
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters, RaisesException] CSSStyleSheet createCSSStyleSheet(optional DOMString title = "undefined", optional DOMString media = "undefined");
+    [RaisesException] CSSStyleSheet createCSSStyleSheet(optional DOMString title = "undefined", optional DOMString media = "undefined");
 
     // HTMLDOMImplementation interface from DOM Level 2 HTML
 

Modified: trunk/Source/WebCore/dom/Document.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/Document.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/Document.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -39,7 +39,7 @@
     [NewObject] Text createTextNode(DOMString data);
     [NewObject] Comment createComment(DOMString data);
     [NewObject, RaisesException] CDATASection createCDATASection(DOMString data);
-    [ObjCLegacyUnnamedParameters, NewObject, RaisesException] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
+    [NewObject, RaisesException] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
     [NewObject, RaisesException] Attr createAttribute(DOMString name);
 
     HTMLCollection getElementsByTagName(DOMString tagname);
@@ -46,10 +46,10 @@
 
     // Introduced in DOM Level 2:
 
-    [ObjCLegacyUnnamedParameters, NewObject, RaisesException] Node importNode(Node importedNode, optional boolean deep = false);
+    [NewObject, RaisesException] Node importNode(Node importedNode, optional boolean deep = false);
 
-    [ObjCLegacyUnnamedParameters, NewObject, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName);
-    [ObjCLegacyUnnamedParameters, NewObject, RaisesException] Attr createAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
+    [NewObject, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName);
+    [NewObject, RaisesException] Attr createAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
 
     HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString localName);
 
@@ -112,17 +112,17 @@
     // DOM Level 2 Style (DocumentCSS interface)
 
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters] CSSStyleDeclaration getOverrideStyle(optional Element? element = null, optional DOMString pseudoElement = "undefined");
+    CSSStyleDeclaration getOverrideStyle(optional Element? element = null, optional DOMString pseudoElement = "undefined");
 
     readonly attribute DOMString contentType;
 
     // DOM Level 3 XPath (XPathEvaluator interface)
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters, RaisesException] XPathExpression createExpression(optional DOMString _expression_ = "undefined", optional XPathNSResolver? resolver);
+    [RaisesException] XPathExpression createExpression(optional DOMString _expression_ = "undefined", optional XPathNSResolver? resolver);
     XPathNSResolver createNSResolver(Node? nodeResolver);
 
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters, RaisesException] XPathResult evaluate(optional DOMString _expression_ = "undefined",
+    [RaisesException] XPathResult evaluate(optional DOMString _expression_ = "undefined",
                                                   optional Node? contextNode,
                                                   optional XPathNSResolver? resolver,
                                                   optional unsigned short type = 0,

Modified: trunk/Source/WebCore/dom/Element.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/Element.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/Element.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -31,7 +31,7 @@
 
     DOMString? getAttribute(DOMString name);
 
-    [ObjCLegacyUnnamedParameters, RaisesException, CEReactions] void setAttribute(DOMString name, DOMString value);
+    [RaisesException, CEReactions] void setAttribute(DOMString name, DOMString value);
 
     [CEReactions] void removeAttribute(DOMString name);
     Attr? getAttributeNode(DOMString name);
@@ -46,19 +46,19 @@
 
     // DOM Level 2 Core
 
-    [ObjCLegacyUnnamedParameters] DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName);
+    DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName);
 
-    [ObjCLegacyUnnamedParameters, RaisesException, CEReactions] void setAttributeNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString value);
+    [RaisesException, CEReactions] void setAttributeNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString value);
 
-    [ObjCLegacyUnnamedParameters, CEReactions] void removeAttributeNS(DOMString? namespaceURI, DOMString localName);
+    [CEReactions] void removeAttributeNS(DOMString? namespaceURI, DOMString localName);
 
     HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString localName);
 
-    [ObjCLegacyUnnamedParameters] Attr? getAttributeNodeNS(DOMString? namespaceURI, DOMString localName);
+    Attr? getAttributeNodeNS(DOMString? namespaceURI, DOMString localName);
     [RaisesException, CEReactions] Attr? setAttributeNodeNS(Attr newAttr);
     boolean hasAttribute(DOMString name);
 
-    [ObjCLegacyUnnamedParameters] boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName);
+    boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName);
 
     [ImplementedAs=cssomStyle] readonly attribute CSSStyleDeclaration style;
 

Modified: trunk/Source/WebCore/dom/Event.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/Event.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/Event.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -23,7 +23,6 @@
     CustomToJSObject,
     ConstructorTemplate=Event,
     Exposed=(Window,Worker),
-    ObjCPolymorphic,
 ] interface Event {
 
     // DOM PhaseType
@@ -64,7 +63,7 @@
     void               stopPropagation();
     void               preventDefault();
 
-    [ObjCLegacyUnnamedParameters] void initEvent(DOMString eventTypeArg, boolean canBubbleArg, boolean cancelableArg);
+    void initEvent(DOMString eventTypeArg, boolean canBubbleArg, boolean cancelableArg);
 
     // DOM Level 3 Additions.
     readonly attribute boolean defaultPrevented;

Modified: trunk/Source/WebCore/dom/EventListener.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/EventListener.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/EventListener.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -20,8 +20,7 @@
 
 // Introduced in DOM Level 2:
 [
-    NoInterfaceObject,
-    ObjCProtocol,
+    NoInterfaceObject
 ] interface EventListener {
     void handleEvent(Event event);
 };

Modified: trunk/Source/WebCore/dom/EventTarget.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/EventTarget.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/EventTarget.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -24,7 +24,6 @@
     Exposed=(Window,Worker),
     JSCustomHeader,
     JSCustomToNativeObject,
-    ObjCProtocol,
 ] interface EventTarget {
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
     // FIXME: Should be:
@@ -36,8 +35,8 @@
     [ImplementedAs=removeEventListenerForBindings] void removeEventListener([AtomicString] DOMString type, EventListener? listener, EventListenerOptions options);
 #endif
 
-    [ObjCLegacyUnnamedParameters, ImplementedAs=addEventListenerForBindings] void addEventListener([AtomicString] DOMString type, EventListener? listener, boolean useCapture);
-    [ObjCLegacyUnnamedParameters, ImplementedAs=removeEventListenerForBindings] void removeEventListener([AtomicString] DOMString type, EventListener? listener, boolean useCapture);
+    [ImplementedAs=addEventListenerForBindings] void addEventListener([AtomicString] DOMString type, EventListener? listener, boolean useCapture);
+    [ImplementedAs=removeEventListenerForBindings] void removeEventListener([AtomicString] DOMString type, EventListener? listener, boolean useCapture);
 
     [ImplementedAs=dispatchEventForBindings, RaisesException] boolean dispatchEvent(Event event);
 };

Modified: trunk/Source/WebCore/dom/MouseEvent.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/MouseEvent.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/MouseEvent.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -44,7 +44,7 @@
 #endif
     
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters] void initMouseEvent(optional DOMString type = "undefined",
+    void initMouseEvent(optional DOMString type = "undefined",
                                        optional boolean canBubble = false,
                                        optional boolean cancelable = false,
                                        optional DOMWindow? view = null,

Modified: trunk/Source/WebCore/dom/MutationEvent.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/MutationEvent.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/MutationEvent.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -32,7 +32,7 @@
     readonly attribute unsigned short attrChange;
 
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters] void initMutationEvent(optional DOMString type = "undefined",
+    void initMutationEvent(optional DOMString type = "undefined",
                                           optional boolean canBubble = false,
                                           optional boolean cancelable = false,
                                           optional Node? relatedNode = null,

Modified: trunk/Source/WebCore/dom/NamedNodeMap.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/NamedNodeMap.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/NamedNodeMap.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -37,8 +37,8 @@
     [RaisesException] Node? setNamedItem(Node node);
     [RaisesException] Node removeNamedItem(DOMString name);
     getter Node? item(unsigned long index);
-    [ObjCLegacyUnnamedParameters] Node? getNamedItemNS(DOMString? namespaceURI, DOMString localName);
+    Node? getNamedItemNS(DOMString? namespaceURI, DOMString localName);
     [RaisesException, ImplementedAs=setNamedItem] Node? setNamedItemNS(Node node);
-    [ObjCLegacyUnnamedParameters, RaisesException] Node removeNamedItemNS(DOMString? namespaceURI, DOMString localName);
+    [RaisesException] Node removeNamedItemNS(DOMString? namespaceURI, DOMString localName);
 #endif
 };

Modified: trunk/Source/WebCore/dom/Node.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/Node.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/Node.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -55,8 +55,8 @@
     readonly attribute Node             nextSibling;
     readonly attribute Document         ownerDocument;
 
-    [ObjCLegacyUnnamedParameters, Custom, RaisesException] Node insertBefore([CustomReturn] Node newChild, Node? refChild);
-    [ObjCLegacyUnnamedParameters, Custom, RaisesException] Node replaceChild(Node newChild, [CustomReturn] Node oldChild);
+    [Custom, RaisesException] Node insertBefore([CustomReturn] Node newChild, Node? refChild);
+    [Custom, RaisesException] Node replaceChild(Node newChild, [CustomReturn] Node oldChild);
     [Custom, RaisesException, CEReactions] Node removeChild([CustomReturn] Node oldChild);
     [Custom, RaisesException, CEReactions] Node appendChild([CustomReturn] Node newChild);
 

Modified: trunk/Source/WebCore/dom/NodeFilter.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/NodeFilter.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/NodeFilter.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -20,7 +20,6 @@
 
 // Introduced in DOM Level 2:
 [
-    ObjCProtocol,
     IsWeakCallback,
 ] callback interface NodeFilter {
     // Constants returned by acceptNode

Modified: trunk/Source/WebCore/dom/NonElementParentNode.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/NonElementParentNode.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/NonElementParentNode.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -28,5 +28,5 @@
 [
     NoInterfaceObject,
 ] interface NonElementParentNode {
-    Element getElementById([ObjCExplicitAtomicString,RequiresExistingAtomicString] DOMString elementId);
+    Element getElementById([RequiresExistingAtomicString] DOMString elementId);
 };

Modified: trunk/Source/WebCore/dom/Range.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/Range.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/Range.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -37,8 +37,8 @@
     [RaisesException] void setStart(Node refNode, unsigned long offset);
     [RaisesException] void setEnd(Node refNode, unsigned long offset);
 #else
-    [ObjCLegacyUnnamedParameters, RaisesException] void setStart(Node refNode, long offset);
-    [ObjCLegacyUnnamedParameters, RaisesException] void setEnd(Node refNode, long offset);
+    [RaisesException] void setStart(Node refNode, long offset);
+    [RaisesException] void setEnd(Node refNode, long offset);
 #endif
 
     [RaisesException] void setStartBefore(Node refNode);
@@ -55,7 +55,7 @@
     const unsigned short END_TO_END     = 2;
     const unsigned short END_TO_START   = 3;
 
-    [ObjCLegacyUnnamedParameters, RaisesException, ImplementedAs=compareBoundaryPointsForBindings] short compareBoundaryPoints(unsigned short how, Range sourceRange);
+    [RaisesException, ImplementedAs=compareBoundaryPointsForBindings] short compareBoundaryPoints(unsigned short how, Range sourceRange);
 
     [RaisesException] void deleteContents();
     [RaisesException, NewObject] DocumentFragment extractContents();

Modified: trunk/Source/WebCore/dom/UIEvent.idl (204684 => 204685)


--- trunk/Source/WebCore/dom/UIEvent.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/dom/UIEvent.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -25,7 +25,7 @@
     [InitializedByEventConstructor] readonly attribute long detail;
     
     // FIXME: Using "undefined" as default parameter value is wrong.
-    [ObjCLegacyUnnamedParameters] void initUIEvent(optional DOMString type = "undefined",
+    void initUIEvent(optional DOMString type = "undefined",
                                     optional boolean canBubble = false,
                                     optional boolean cancelable = false,
                                     optional DOMWindow? view = null,

Modified: trunk/Source/WebCore/html/HTMLCollection.idl (204684 => 204685)


--- trunk/Source/WebCore/html/HTMLCollection.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/html/HTMLCollection.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -21,7 +21,6 @@
 [
     CustomToJSObject,
     GenerateIsReachable=ImplOwnerNodeRoot,
-    ObjCPolymorphic,
     ReportExtraMemoryCost,
 ] interface HTMLCollection {
     readonly attribute unsigned long length;

Modified: trunk/Source/WebCore/html/HTMLSelectElement.idl (204684 => 204685)


--- trunk/Source/WebCore/html/HTMLSelectElement.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/html/HTMLSelectElement.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -49,7 +49,7 @@
     HTMLOptionElement? namedItem(DOMString name);
 #endif
 
-    [ObjCLegacyUnnamedParameters, RaisesException] void add(HTMLElement element, optional HTMLElement? before = null);
+    [RaisesException] void add(HTMLElement element, optional HTMLElement? before = null);
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
     // FIXME: Should be:
     // void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);

Modified: trunk/Source/WebCore/svg/SVGExternalResourcesRequired.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGExternalResourcesRequired.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGExternalResourcesRequired.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     NoInterfaceObject,
-    ObjCProtocol,
 ] interface SVGExternalResourcesRequired { 
     readonly attribute SVGAnimatedBoolean externalResourcesRequired;
 };

Modified: trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     NoInterfaceObject,
-    ObjCProtocol
 ] interface SVGFilterPrimitiveStandardAttributes {
     readonly attribute SVGAnimatedLength x;
     readonly attribute SVGAnimatedLength y;

Modified: trunk/Source/WebCore/svg/SVGFitToViewBox.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGFitToViewBox.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGFitToViewBox.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     NoInterfaceObject,
-    ObjCProtocol,
 ] interface SVGFitToViewBox {
     readonly attribute SVGAnimatedRect                viewBox;
     readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;

Modified: trunk/Source/WebCore/svg/SVGPathSeg.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGPathSeg.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGPathSeg.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     CustomToJSObject,
-    ObjCPolymorphic,
     ImplementationLacksVTable
 ] interface SVGPathSeg {
     // Path Segment Types

Modified: trunk/Source/WebCore/svg/SVGTests.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGTests.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGTests.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     NoInterfaceObject,
-    ObjCProtocol,
     SuppressToJSObject,
 ] interface SVGTests {
     readonly attribute SVGStringList requiredFeatures;

Modified: trunk/Source/WebCore/svg/SVGURIReference.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGURIReference.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGURIReference.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     NoInterfaceObject,
-    ObjCProtocol,
     SuppressToJSObject,
 ] interface SVGURIReference {
     readonly attribute SVGAnimatedString href;

Modified: trunk/Source/WebCore/svg/SVGZoomAndPan.idl (204684 => 204685)


--- trunk/Source/WebCore/svg/SVGZoomAndPan.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/svg/SVGZoomAndPan.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -26,7 +26,6 @@
 
 [
     NoInterfaceObject,
-    ObjCProtocol
 ] interface SVGZoomAndPan {
     const unsigned short SVG_ZOOMANDPAN_UNKNOWN = 0;
     const unsigned short SVG_ZOOMANDPAN_DISABLE = 1;

Modified: trunk/Source/WebCore/xml/XPathExpression.idl (204684 => 204685)


--- trunk/Source/WebCore/xml/XPathExpression.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/xml/XPathExpression.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -20,6 +20,6 @@
 [
     ImplementationLacksVTable,
 ] interface XPathExpression {
-    [ObjCLegacyUnnamedParameters, RaisesException] XPathResult evaluate(optional Node? contextNode = null, optional unsigned short type = 0, optional XPathResult? inResult = null);
+    [RaisesException] XPathResult evaluate(optional Node? contextNode = null, optional unsigned short type = 0, optional XPathResult? inResult = null);
 };
 

Modified: trunk/Source/WebCore/xml/XPathNSResolver.idl (204684 => 204685)


--- trunk/Source/WebCore/xml/XPathNSResolver.idl	2016-08-21 00:54:33 UTC (rev 204684)
+++ trunk/Source/WebCore/xml/XPathNSResolver.idl	2016-08-21 01:09:10 UTC (rev 204685)
@@ -21,7 +21,6 @@
 [
     JSCustomToNativeObject,
     NoInterfaceObject,
-    ObjCProtocol,
     SkipVTableValidation,
 ] interface XPathNSResolver {
     // FIXME: Using "undefined" as default parameter value is wrong.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to