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

Return to Bug 122271