Index: third_party/WebKit/Source/core/dom/Document.idl |
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl |
index baf586d962bbf27ce371a3a26b980710f9c7230b..8c332085dfdf4648456df314fdc62405df68f07c 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.idl |
+++ b/third_party/WebKit/Source/core/dom/Document.idl |
@@ -56,8 +56,8 @@ interface Document : Node { |
[NewObject] Comment createComment(DOMString data); |
[NewObject, RaisesException] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data); |
- [NewObject, CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node importNode(Node node, optional boolean deep = false); |
- [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adoptNode(Node node); |
+ [NewObject, CustomElementCallbacks, RaisesException] Node importNode(Node node, optional boolean deep = false); |
+ [RaisesException, CustomElementCallbacks] Node adoptNode(Node node); |
[NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DOMString localName); |
[NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); |
@@ -67,8 +67,8 @@ interface Document : Node { |
[NewObject] Range createRange(); |
// NodeFilter.SHOW_ALL = 0xFFFFFFFF |
- [NewObject, RaisesException, TypeChecking=Interface] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); |
- [NewObject, RaisesException, TypeChecking=Interface] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); |
+ [NewObject, RaisesException] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); |
+ [NewObject, RaisesException] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); |
// FIXME: CDATASection has been removed from the spec. crbug.com/437205 |
[RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createCDATASection(DOMString data); |
@@ -98,7 +98,7 @@ interface Document : Node { |
// DOM tree accessors |
[CustomElementCallbacks] attribute DOMString title; |
[CustomElementCallbacks] attribute DOMString dir; |
- [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeChecking=Interface] attribute HTMLElement? body; |
+ [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings] attribute HTMLElement? body; |
readonly attribute HTMLHeadElement? head; |
[SameObject] readonly attribute HTMLCollection images; |
[SameObject] readonly attribute HTMLCollection embeds; |
@@ -167,17 +167,17 @@ interface Document : Node { |
// Touch Events |
// http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#extensions-to-the-document-interface |
// FIXME: The arguments should not be optional. |
- [RuntimeEnabled=Touch, Measure] Touch createTouch([Default=Undefined] optional Window window, |
- [Default=Undefined] optional EventTarget target, |
- [Default=Undefined] optional long identifier, |
- [Default=Undefined] optional unrestricted double pageX, |
- [Default=Undefined] optional unrestricted double pageY, |
- [Default=Undefined] optional unrestricted double screenX, |
- [Default=Undefined] optional unrestricted double screenY, |
- [Default=Undefined] optional unrestricted double radiusX, |
- [Default=Undefined] optional unrestricted double radiusY, |
- [Default=Undefined] optional unrestricted float rotationAngle, |
- [Default=Undefined] optional unrestricted float force); |
+ [RuntimeEnabled=Touch, Measure, LegacyInterfaceTypeChecking] Touch createTouch([Default=Undefined] optional Window window, |
+ [Default=Undefined] optional EventTarget target, |
+ [Default=Undefined] optional long identifier, |
+ [Default=Undefined] optional unrestricted double pageX, |
+ [Default=Undefined] optional unrestricted double pageY, |
+ [Default=Undefined] optional unrestricted double screenX, |
+ [Default=Undefined] optional unrestricted double screenY, |
+ [Default=Undefined] optional unrestricted double radiusX, |
+ [Default=Undefined] optional unrestricted double radiusY, |
+ [Default=Undefined] optional unrestricted float rotationAngle, |
+ [Default=Undefined] optional unrestricted float force); |
[RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
// Custom Elements |