| Index: Source/core/dom/Range.idl
|
| diff --git a/Source/core/dom/Range.idl b/Source/core/dom/Range.idl
|
| index 15f1fd74d2d9fc9c11737e566dfc08d2c9c4308f..9acc9c023e08bc6f3299ea6bc0c54789b5ecf1e3 100644
|
| --- a/Source/core/dom/Range.idl
|
| +++ b/Source/core/dom/Range.idl
|
| @@ -51,12 +51,12 @@
|
| [RaisesException] short compareBoundaryPoints(unsigned short how, Range sourceRange);
|
|
|
| [RaisesException, CustomElementCallbacks] void deleteContents();
|
| - [RaisesException, CustomElementCallbacks] DocumentFragment extractContents();
|
| - [RaisesException, CustomElementCallbacks] DocumentFragment cloneContents();
|
| + [NewObject, RaisesException, CustomElementCallbacks] DocumentFragment extractContents();
|
| + [NewObject, RaisesException, CustomElementCallbacks] DocumentFragment cloneContents();
|
| [RaisesException, CustomElementCallbacks] void insertNode(Node node);
|
| [RaisesException, CustomElementCallbacks] void surroundContents(Node newParent);
|
|
|
| - Range cloneRange();
|
| + [NewObject] Range cloneRange();
|
| [DeprecateAs=RangeDetach] void detach();
|
|
|
| [RaisesException] boolean isPointInRange(Node node, long offset);
|
| @@ -75,7 +75,7 @@
|
|
|
| // DOM Parsing and Serialization
|
| // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-the-range-interface
|
| - [RaisesException, CustomElementCallbacks] DocumentFragment createContextualFragment(DOMString fragment);
|
| + [NewObject, RaisesException, CustomElementCallbacks] DocumentFragment createContextualFragment(DOMString fragment);
|
|
|
| // Non-standard APIs
|
| const unsigned short NODE_BEFORE = 0;
|
|
|