OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 [PerWorldBindings] readonly attribute unsigned short nodeType; | 46 [PerWorldBindings] readonly attribute unsigned short nodeType; |
47 [PerWorldBindings] readonly attribute Node parentNode; | 47 [PerWorldBindings] readonly attribute Node parentNode; |
48 [PerWorldBindings] readonly attribute NodeList childNodes; | 48 [PerWorldBindings] readonly attribute NodeList childNodes; |
49 [PerWorldBindings] readonly attribute Node firstChild; | 49 [PerWorldBindings] readonly attribute Node firstChild; |
50 [PerWorldBindings] readonly attribute Node lastChild; | 50 [PerWorldBindings] readonly attribute Node lastChild; |
51 [PerWorldBindings] readonly attribute Node previousSibling; | 51 [PerWorldBindings] readonly attribute Node previousSibling; |
52 [PerWorldBindings] readonly attribute Node nextSibling; | 52 [PerWorldBindings] readonly attribute Node nextSibling; |
53 [PerWorldBindings] readonly attribute Document ownerDocument; | 53 [PerWorldBindings] readonly attribute Document ownerDocument; |
54 | 54 |
55 [Custom, PerWorldBindings, RaisesException] Node insertBefore(Node newChild,
Node refChild); | 55 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept
ion] Node insertBefore(Node newChild, Node refChild); |
56 [Custom, RaisesException] Node replaceChild(Node newChild, Node oldChild); | 56 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept
ion] Node replaceChild(Node newChild, Node oldChild); |
57 [Custom, PerWorldBindings, RaisesException] Node removeChild(Node oldChild); | 57 [Custom, PerWorldBindings, RaisesException] Node removeChild(Node oldChild); |
58 [Custom, PerWorldBindings, RaisesException] Node appendChild(Node newChild); | 58 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept
ion] Node appendChild(Node newChild); |
59 | 59 |
60 boolean hasChildNodes(); | 60 boolean hasChildNodes(); |
61 [DeliverCustomElementCallbacks, PerWorldBindings] | 61 [DeliverCustomElementCallbacks, PerWorldBindings] |
62 Node cloneNode([Optional=DefaultIsUndefined] boolean deep); | 62 Node cloneNode([Optional=DefaultIsUndefined] boolean deep); |
63 void normalize(); | 63 void normalize(); |
64 | 64 |
65 // Introduced in DOM Level 2: | 65 // Introduced in DOM Level 2: |
66 boolean isSupported([Optional=DefaultIsUndefined] DOMString feature, | 66 boolean isSupported([Optional=DefaultIsUndefined] DOMString feature, |
67 [TreatNullAs=NullString,Optional=DefaultI
sUndefined] DOMString version); | 67 [TreatNullAs=NullString,Optional=DefaultI
sUndefined] DOMString version); |
68 | 68 |
(...skipping 30 matching lines...) Expand all Loading... |
99 [PerWorldBindings] readonly attribute Element parentElement; | 99 [PerWorldBindings] readonly attribute Element parentElement; |
100 | 100 |
101 void addEventListener(DOMString type, | 101 void addEventListener(DOMString type, |
102 EventListener listener, | 102 EventListener listener, |
103 [Optional] boolean useCapture); | 103 [Optional] boolean useCapture); |
104 void removeEventListener(DOMString type, | 104 void removeEventListener(DOMString type, |
105 EventListener listener, | 105 EventListener listener, |
106 [Optional] boolean useCapture); | 106 [Optional] boolean useCapture); |
107 [RaisesException] boolean dispatchEvent(Event event); | 107 [RaisesException] boolean dispatchEvent(Event event); |
108 }; | 108 }; |
OLD | NEW |