Diff
Modified: trunk/Source/WebCore/ChangeLog (156907 => 156908)
--- trunk/Source/WebCore/ChangeLog 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/ChangeLog 2013-10-04 20:31:17 UTC (rev 156908)
@@ -1,5 +1,67 @@
2013-10-04 Zan Dobersek <[email protected]>
+ [WebIDL] Annotate IDL interfaces under Source/WebCore/dom/ with the OperationsNotDeletable attribute
+ https://bugs.webkit.org/show_bug.cgi?id=122271
+
+ Reviewed by Darin Adler.
+
+ Before changing the JSC bindings generator to enforce WebIDL operations to be configurable, all the
+ interfaces are being annotated with the OperationsNotDeletable attribute. The attribute currently
+ doesn't have any effect, but will keep the operations not configurable after the generator is modified
+ to preserve the original behavior. The attribute will be removed from each interface after checking
+ conformity with other browsers (in terms of configurability of operations of that interface) and the
+ WebKit's existing test suites.
+
+ This patch covers IDL interfaces under Source/WebCore/dom/.
+
+ * dom/CharacterData.idl:
+ * dom/ChildNode.idl:
+ * dom/ClientRectList.idl:
+ * dom/Clipboard.idl:
+ * dom/CompositionEvent.idl:
+ * dom/CustomEvent.idl:
+ * dom/DOMCoreException.idl:
+ * dom/DOMImplementation.idl:
+ * dom/DOMNamedFlowCollection.idl:
+ * dom/DOMStringList.idl:
+ * dom/DOMStringMap.idl:
+ * dom/DataTransferItem.idl:
+ * dom/DataTransferItemList.idl:
+ * dom/DeviceMotionEvent.idl:
+ * dom/DeviceOrientationEvent.idl:
+ * dom/Document.idl:
+ * dom/DocumentFragment.idl:
+ * dom/DocumentType.idl:
+ * dom/Element.idl:
+ * dom/Event.idl:
+ * dom/EventException.idl:
+ * dom/EventListener.idl:
+ * dom/EventTarget.idl:
+ * dom/KeyboardEvent.idl:
+ * dom/MessageEvent.idl:
+ * dom/MessagePort.idl:
+ * dom/MouseEvent.idl:
+ * dom/MutationEvent.idl:
+ * dom/MutationObserver.idl:
+ * dom/NamedNodeMap.idl:
+ * dom/Node.idl:
+ * dom/NodeFilter.idl:
+ * dom/NodeIterator.idl:
+ * dom/NodeList.idl:
+ * dom/Range.idl:
+ * dom/RangeException.idl:
+ * dom/ShadowRoot.idl:
+ * dom/Text.idl:
+ * dom/TextEvent.idl:
+ * dom/TouchEvent.idl:
+ * dom/TouchList.idl:
+ * dom/TreeWalker.idl:
+ * dom/UIEvent.idl:
+ * dom/WebKitNamedFlow.idl:
+ * dom/WheelEvent.idl:
+
+2013-10-04 Zan Dobersek <[email protected]>
+
[WebIDL] Annotate IDL interfaces under Source/WebCore/xml/ with the OperationsNotDeletable attribute
https://bugs.webkit.org/show_bug.cgi?id=122269
Modified: trunk/Source/WebCore/dom/CharacterData.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/CharacterData.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/CharacterData.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -17,7 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
-interface CharacterData : Node {
+[
+ OperationsNotDeletable
+] interface CharacterData : Node {
[TreatNullAs=NullString, SetterRaisesException] attribute DOMString data;
Modified: trunk/Source/WebCore/dom/ChildNode.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/ChildNode.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/ChildNode.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,7 +20,8 @@
// DOM 4
[
- NoInterfaceObject
+ NoInterfaceObject,
+ OperationsNotDeletable
] interface ChildNode {
// readonly attribute Element? previousElementSibling;
// readonly attribute Element? nextElementSibling;
Modified: trunk/Source/WebCore/dom/ClientRectList.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/ClientRectList.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/ClientRectList.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -25,7 +25,8 @@
*/
[
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface ClientRectList {
readonly attribute unsigned long length;
getter ClientRect item([IsIndex, Default=Undefined] optional unsigned long index);
Modified: trunk/Source/WebCore/dom/Clipboard.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Clipboard.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Clipboard.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -27,7 +27,8 @@
*/
[
- SkipVTableValidation
+ SkipVTableValidation,
+ OperationsNotDeletable
] interface Clipboard {
attribute DOMString dropEffect;
attribute DOMString effectAllowed;
Modified: trunk/Source/WebCore/dom/CompositionEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/CompositionEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/CompositionEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -25,7 +25,8 @@
[
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface CompositionEvent : UIEvent {
[InitializedByEventConstructor] readonly attribute DOMString data;
Modified: trunk/Source/WebCore/dom/CustomEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/CustomEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/CustomEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -26,7 +26,8 @@
#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
// Introduced in DOM Level 3:
[
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface CustomEvent : Event {
[InitializedByEventConstructor] readonly attribute any detail;
Modified: trunk/Source/WebCore/dom/DOMCoreException.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DOMCoreException.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DOMCoreException.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -30,7 +30,8 @@
JSNoStaticTables,
DoNotCheckConstants,
InterfaceName=DOMException,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] exception DOMCoreException {
readonly attribute unsigned short code;
Modified: trunk/Source/WebCore/dom/DOMImplementation.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DOMImplementation.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DOMImplementation.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,7 +20,8 @@
[
GenerateIsReachable=ImplDocument,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface DOMImplementation {
// DOM Level 1
Modified: trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DOMNamedFlowCollection.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -32,7 +32,8 @@
Conditional=CSS_REGIONS,
InterfaceName=WebKitNamedFlowCollection,
JSGenerateToJSObject,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface DOMNamedFlowCollection {
readonly attribute unsigned long length;
getter WebKitNamedFlow item(unsigned long index);
Modified: trunk/Source/WebCore/dom/DOMStringList.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DOMStringList.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DOMStringList.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -26,7 +26,8 @@
[
JSCustomToNativeObject,
JSNoStaticTables,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface DOMStringList {
readonly attribute unsigned long length;
[TreatReturnedNullStringAs=Null] getter DOMString item([Default=Undefined] optional unsigned long index);
Modified: trunk/Source/WebCore/dom/DOMStringMap.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DOMStringMap.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DOMStringMap.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -28,7 +28,8 @@
CustomDeleteProperty,
CustomEnumerateProperty,
CustomNamedSetter,
- SkipVTableValidation
+ SkipVTableValidation,
+ OperationsNotDeletable
] interface DOMStringMap {
getter DOMString (DOMString name);
};
Modified: trunk/Source/WebCore/dom/DataTransferItem.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DataTransferItem.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DataTransferItem.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -31,7 +31,8 @@
[
NoInterfaceObject,
Conditional=DATA_TRANSFER_ITEMS,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface DataTransferItem {
readonly attribute DOMString kind;
readonly attribute DOMString type;
Modified: trunk/Source/WebCore/dom/DataTransferItemList.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DataTransferItemList.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DataTransferItemList.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -32,7 +32,8 @@
NoInterfaceObject,
Conditional=DATA_TRANSFER_ITEMS,
JSGenerateToNativeObject,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface DataTransferItemList {
readonly attribute long length;
getter DataTransferItem item([Default=Undefined] optional unsigned long index);
Modified: trunk/Source/WebCore/dom/DeviceMotionEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DeviceMotionEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DeviceMotionEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -25,6 +25,7 @@
[
Conditional=DEVICE_ORIENTATION,
+ OperationsNotDeletable
] interface DeviceMotionEvent : Event {
[Custom] readonly attribute Acceleration acceleration;
[Custom] readonly attribute Acceleration accelerationIncludingGravity;
Modified: trunk/Source/WebCore/dom/DeviceOrientationEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DeviceOrientationEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DeviceOrientationEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -25,6 +25,7 @@
[
Conditional=DEVICE_ORIENTATION,
+ OperationsNotDeletable
] interface DeviceOrientationEvent : Event {
[Custom] readonly attribute double alpha;
[Custom] readonly attribute double beta;
Modified: trunk/Source/WebCore/dom/Document.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Document.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Document.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -21,7 +21,8 @@
[
CustomToJSObject,
JSGenerateToNativeObject,
- JSInlineGetOwnPropertySlot
+ JSInlineGetOwnPropertySlot,
+ OperationsNotDeletable
] interface Document : Node {
// DOM Level 1 Core
Modified: trunk/Source/WebCore/dom/DocumentFragment.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DocumentFragment.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DocumentFragment.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -17,7 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
-interface DocumentFragment : Node {
+[
+ OperationsNotDeletable
+] interface DocumentFragment : Node {
// NodeSelector - Selector API
[RaisesException] Element querySelector(DOMString selectors);
[RaisesException] NodeList querySelectorAll(DOMString selectors);
Modified: trunk/Source/WebCore/dom/DocumentType.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/DocumentType.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/DocumentType.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -18,7 +18,8 @@
*/
[
- JSGenerateToNativeObject
+ JSGenerateToNativeObject,
+ OperationsNotDeletable
] interface DocumentType : Node {
// DOM Level 1
Modified: trunk/Source/WebCore/dom/Element.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Element.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Element.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -21,6 +21,7 @@
[
JSGenerateToNativeObject,
JSInlineGetOwnPropertySlot,
+ OperationsNotDeletable
] interface Element : Node {
// DOM Level 1 Core
Modified: trunk/Source/WebCore/dom/Event.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Event.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Event.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -24,6 +24,7 @@
ConstructorTemplate=Event,
JSNoStaticTables,
ObjCPolymorphic,
+ OperationsNotDeletable
] interface Event {
// DOM PhaseType
Modified: trunk/Source/WebCore/dom/EventException.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/EventException.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/EventException.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -31,6 +31,7 @@
JSNoStaticTables,
DoNotCheckConstants,
ImplementationLacksVTable,
+ OperationsNotDeletable
] exception EventException {
readonly attribute unsigned short code;
Modified: trunk/Source/WebCore/dom/EventListener.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/EventListener.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/EventListener.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -24,6 +24,7 @@
JSNoStaticTables,
ObjCProtocol,
CPPPureInterface,
+ OperationsNotDeletable
] interface EventListener {
void handleEvent(Event evt);
};
Modified: trunk/Source/WebCore/dom/EventTarget.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/EventTarget.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/EventTarget.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -25,7 +25,8 @@
CPPPureInterface,
CustomToJSObject,
JSCustomToNativeObject,
- EventTarget
+ EventTarget,
+ OperationsNotDeletable
] interface EventTarget {
[ObjCLegacyUnnamedParameters] void addEventListener(DOMString type,
EventListener listener,
Modified: trunk/Source/WebCore/dom/HashChangeEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/HashChangeEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/HashChangeEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -19,7 +19,8 @@
// Introduced in http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-hashchange
[
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface HashChangeEvent : Event {
void initHashChangeEvent([Default=Undefined] optional DOMString type,
[Default=Undefined] optional boolean canBubble,
Modified: trunk/Source/WebCore/dom/KeyboardEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/KeyboardEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/KeyboardEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,7 +20,8 @@
[
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface KeyboardEvent : UIEvent {
#if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT
Modified: trunk/Source/WebCore/dom/MessageEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/MessageEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/MessageEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -28,7 +28,8 @@
[
GlobalContext=DOMWindow&WorkerGlobalScope,
JSNoStaticTables,
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface MessageEvent : Event {
[InitializedByEventConstructor] readonly attribute DOMString origin;
[InitializedByEventConstructor] readonly attribute DOMString lastEventId;
Modified: trunk/Source/WebCore/dom/MessagePort.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/MessagePort.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/MessagePort.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -30,7 +30,8 @@
GenerateIsReachable=Impl,
ActiveDOMObject,
EventTarget,
- JSNoStaticTables
+ JSNoStaticTables,
+ OperationsNotDeletable
] interface MessagePort {
// We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
// but we don't want to actually expose the API while it is in flux.
Modified: trunk/Source/WebCore/dom/MouseEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/MouseEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/MouseEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,6 +20,7 @@
[
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface MouseEvent : UIEvent {
[InitializedByEventConstructor] readonly attribute long screenX;
[InitializedByEventConstructor] readonly attribute long screenY;
Modified: trunk/Source/WebCore/dom/MutationEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/MutationEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/MutationEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -18,7 +18,9 @@
*/
// Introduced in DOM Level 2:
-interface MutationEvent : Event {
+[
+ OperationsNotDeletable
+] interface MutationEvent : Event {
// attrChangeType
const unsigned short MODIFICATION = 1;
Modified: trunk/Source/WebCore/dom/MutationObserver.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/MutationObserver.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/MutationObserver.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -31,7 +31,8 @@
[
CustomConstructor(MutationCallback callback),
CustomIsReachable,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface MutationObserver {
[RaisesException] void observe(Node target, Dictionary options);
sequence<MutationRecord> takeRecords();
Modified: trunk/Source/WebCore/dom/NamedNodeMap.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/NamedNodeMap.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/NamedNodeMap.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,7 +20,8 @@
[
GenerateIsReachable=ImplElementRoot,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface NamedNodeMap {
getter Node getNamedItem([Default=Undefined] optional DOMString name);
Modified: trunk/Source/WebCore/dom/Node.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Node.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Node.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -29,6 +29,7 @@
JSGenerateToNativeObject,
JSInlineGetOwnPropertySlot,
ObjCPolymorphic,
+ OperationsNotDeletable
] interface Node
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
: Object, EventTarget
Modified: trunk/Source/WebCore/dom/NodeFilter.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/NodeFilter.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/NodeFilter.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -24,7 +24,8 @@
JSCustomToNativeObject,
ObjCProtocol,
CPPPureInterface,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface NodeFilter {
// Constants returned by acceptNode
const short FILTER_ACCEPT = 1;
Modified: trunk/Source/WebCore/dom/NodeIterator.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/NodeIterator.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/NodeIterator.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -21,7 +21,8 @@
// Introduced in DOM Level 2:
[
JSCustomMarkFunction,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface NodeIterator {
readonly attribute Node root;
readonly attribute unsigned long whatToShow;
Modified: trunk/Source/WebCore/dom/NodeList.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/NodeList.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/NodeList.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,7 +20,8 @@
[
CustomIsReachable,
- SkipVTableValidation
+ SkipVTableValidation,
+ OperationsNotDeletable
] interface NodeList {
getter Node item(unsigned long index);
Modified: trunk/Source/WebCore/dom/Range.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Range.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Range.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -20,7 +20,8 @@
// Introduced in DOM Level 2:
[
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface Range {
[GetterRaisesException] readonly attribute Node startContainer;
Modified: trunk/Source/WebCore/dom/RangeException.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/RangeException.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/RangeException.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -19,7 +19,8 @@
[
DoNotCheckConstants,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] exception RangeException {
readonly attribute unsigned short code;
Modified: trunk/Source/WebCore/dom/ShadowRoot.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/ShadowRoot.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/ShadowRoot.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -27,7 +27,8 @@
[
Conditional=SHADOW_DOM,
JSGenerateToJSObject,
- InterfaceName=WebKitShadowRoot
+ InterfaceName=WebKitShadowRoot,
+ OperationsNotDeletable
] interface ShadowRoot : DocumentFragment {
readonly attribute Element activeElement;
attribute boolean applyAuthorStyles;
Modified: trunk/Source/WebCore/dom/Text.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/Text.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/Text.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -17,7 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
-interface Text : CharacterData {
+[
+ OperationsNotDeletable
+] interface Text : CharacterData {
// DOM Level 1
Modified: trunk/Source/WebCore/dom/TextEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/TextEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/TextEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -24,7 +24,9 @@
*/
// Introduced in DOM Level 3:
-interface TextEvent : UIEvent {
+[
+ OperationsNotDeletable
+] interface TextEvent : UIEvent {
readonly attribute DOMString data;
Modified: trunk/Source/WebCore/dom/TouchEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/TouchEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/TouchEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -24,7 +24,8 @@
*/
[
- Conditional=TOUCH_EVENTS
+ Conditional=TOUCH_EVENTS,
+ OperationsNotDeletable
] interface TouchEvent : UIEvent {
readonly attribute TouchList touches;
readonly attribute TouchList targetTouches;
Modified: trunk/Source/WebCore/dom/TouchList.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/TouchList.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/TouchList.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -25,7 +25,8 @@
[
Conditional=TOUCH_EVENTS,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface TouchList {
readonly attribute unsigned long length;
Modified: trunk/Source/WebCore/dom/TreeWalker.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/TreeWalker.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/TreeWalker.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -21,7 +21,8 @@
// Introduced in DOM Level 2:
[
JSCustomMarkFunction,
- ImplementationLacksVTable
+ ImplementationLacksVTable,
+ OperationsNotDeletable
] interface TreeWalker {
readonly attribute Node root;
readonly attribute unsigned long whatToShow;
Modified: trunk/Source/WebCore/dom/UIEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/UIEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/UIEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -19,7 +19,8 @@
[
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface UIEvent : Event {
[InitializedByEventConstructor] readonly attribute DOMWindow view;
[InitializedByEventConstructor] readonly attribute long detail;
Modified: trunk/Source/WebCore/dom/WebKitNamedFlow.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/WebKitNamedFlow.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/WebKitNamedFlow.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -31,7 +31,8 @@
NoInterfaceObject,
EventTarget,
JSGenerateToJSObject,
- GenerateIsReachable=ImplOwnerNodeRoot
+ GenerateIsReachable=ImplOwnerNodeRoot,
+ OperationsNotDeletable
] interface WebKitNamedFlow {
readonly attribute DOMString name;
readonly attribute boolean overset;
Modified: trunk/Source/WebCore/dom/WheelEvent.idl (156907 => 156908)
--- trunk/Source/WebCore/dom/WheelEvent.idl 2013-10-04 20:22:34 UTC (rev 156907)
+++ trunk/Source/WebCore/dom/WheelEvent.idl 2013-10-04 20:31:17 UTC (rev 156908)
@@ -22,7 +22,8 @@
// Introduced in DOM Level 3:
[
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
- ConstructorTemplate=Event
+ ConstructorTemplate=Event,
+ OperationsNotDeletable
] interface WheelEvent : MouseEvent {
// DeltaModeCode
const unsigned long DOM_DELTA_PIXEL = 0x00;