| Index: core/dom/Document.idl
|
| ===================================================================
|
| --- core/dom/Document.idl (revision 22811)
|
| +++ core/dom/Document.idl (working copy)
|
| @@ -19,7 +19,7 @@
|
| */
|
|
|
| [
|
| - CustomToJSObject
|
| + CustomToV8
|
| ] interface Document : Node {
|
|
|
| // DOM Level 1 Core
|
| @@ -27,24 +27,24 @@
|
| readonly attribute DOMImplementation implementation;
|
| readonly attribute Element documentElement;
|
|
|
| - [ReturnNewObject, DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Default=Undefined] optional DOMString tagName);
|
| + [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Default=Undefined] optional DOMString tagName);
|
| DocumentFragment createDocumentFragment();
|
| - [ReturnNewObject, PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMString data);
|
| - [ReturnNewObject] Comment createComment([Default=Undefined] optional DOMString data);
|
| - [ReturnNewObject, RaisesException] CDATASection createCDATASection([Default=Undefined] optional DOMString data);
|
| - [ReturnNewObject, RaisesException] ProcessingInstruction createProcessingInstruction([Default=Undefined] optional DOMString target,
|
| + [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMString data);
|
| + Comment createComment([Default=Undefined] optional DOMString data);
|
| + [RaisesException] CDATASection createCDATASection([Default=Undefined] optional DOMString data);
|
| + [RaisesException] ProcessingInstruction createProcessingInstruction([Default=Undefined] optional DOMString target,
|
| [Default=Undefined] optional DOMString data);
|
| - [ReturnNewObject, RaisesException] Attr createAttribute([Default=Undefined] optional DOMString name);
|
| - [ReturnNewObject, RaisesException] EntityReference createEntityReference([Default=Undefined] optional DOMString name);
|
| + [RaisesException] Attr createAttribute([Default=Undefined] optional DOMString name);
|
| + [RaisesException] EntityReference createEntityReference([Default=Undefined] optional DOMString name);
|
| [PerWorldBindings] NodeList getElementsByTagName([Default=Undefined] optional DOMString tagname);
|
|
|
| // Introduced in DOM Level 2:
|
|
|
| - [ReturnNewObject, DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node importedNode,
|
| + [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node importedNode,
|
| optional boolean deep);
|
| - [ReturnNewObject, DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
| + [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
| [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
|
| - [ReturnNewObject, RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
| + [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
| [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
|
| NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
| [Default=Undefined] optional DOMString localName);
|
| @@ -184,7 +184,7 @@
|
| void webkitExitPointerLock();
|
| readonly attribute Element webkitPointerLockElement;
|
|
|
| - [Conditional=CSS_REGIONS, EnabledAtRuntime=cssRegions] DOMNamedFlowCollection webkitGetNamedFlows();
|
| + [EnabledAtRuntime=cssRegions] DOMNamedFlowCollection webkitGetNamedFlows();
|
|
|
| [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader;
|
|
|
| @@ -264,7 +264,7 @@
|
| [NotEnumerable] attribute EventListener onwebkitpointerlockerror;
|
| [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute EventListener onsecuritypolicyviolation;
|
|
|
| - [ReturnNewObject, EnabledAtRuntime=touch, RaisesException] Touch createTouch([Default=Undefined] optional DOMWindow window,
|
| + [EnabledAtRuntime=touch, RaisesException] Touch createTouch([Default=Undefined] optional DOMWindow window,
|
| [Default=Undefined] optional EventTarget target,
|
| [Default=Undefined] optional long identifier,
|
| [Default=Undefined] optional long pageX,
|
| @@ -275,11 +275,11 @@
|
| [Default=Undefined] optional long webkitRadiusY,
|
| [Default=Undefined] optional float webkitRotationAngle,
|
| [Default=Undefined] optional float webkitForce);
|
| - [ReturnNewObject, EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList();
|
| + [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList();
|
|
|
| [EnabledAtRuntime=customDOMElements, ImplementedAs=registerElement, CallWith=ScriptState, DeliverCustomElementCallbacks, RaisesException] CustomElementConstructor webkitRegister(DOMString name, optional Dictionary options);
|
| - [ReturnNewObject, DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNullAs=NullString] DOMString typeExtension);
|
| - [ReturnNewObject, DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualifiedName,
|
| + [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNullAs=NullString] DOMString typeExtension);
|
| + [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualifiedName,
|
| [TreatNullAs=NullString] DOMString typeExtension);
|
|
|
| // Page visibility API.
|
|
|