| Index: core/dom/Text.idl
|
| diff --git a/core/dom/Text.idl b/core/dom/Text.idl
|
| index a770f78900be0eab3478c05db4a74efea999f2dc..af7360a34629ec23d34029881a3fab0576522261 100644
|
| --- a/core/dom/Text.idl
|
| +++ b/core/dom/Text.idl
|
| @@ -18,15 +18,17 @@
|
| */
|
| [
|
| Constructor([Default=NullString] optional DOMString data),
|
| - ConstructorCallWith=ScriptExecutionContext,
|
| + ConstructorCallWith=Document,
|
| CustomToV8
|
| ] interface Text : CharacterData {
|
|
|
| // DOM Level 1
|
| -
|
| - [RaisesException] Text splitText([IsIndex,Default=Undefined] optional unsigned long offset);
|
| + [RaisesException] Text splitText(unsigned long offset);
|
|
|
| // Introduced in DOM Level 3:
|
| readonly attribute DOMString wholeText;
|
| - Text replaceWholeText([Default=Undefined] optional DOMString content);
|
| + [MeasureAs=TextReplaceWholeText] Text replaceWholeText(DOMString content); // Removed from DOM4.
|
| +
|
| + // Shadow DOM API
|
| + [EnabledAtRuntime=ShadowDOM, PerWorldBindings] NodeList getDestinationInsertionPoints();
|
| };
|
|
|