OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp
ec. | 74 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp
ec. |
75 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; | 75 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; |
76 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; | 76 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; |
77 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; | 77 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; |
78 | 78 |
79 // HTML | 79 // HTML |
80 // https://html.spec.whatwg.org/#the-document-object | 80 // https://html.spec.whatwg.org/#the-document-object |
81 | 81 |
82 // resource metadata management | 82 // resource metadata management |
83 | |
84 // Inheritance of [Unforgeable] attributes is not supported. So we have to | |
85 // define the same unforgeable attributes in derived interfaces as well. | |
86 // See that HTMLDocument and XMLDocument redefine 'location' attribute. | |
87 // Keep all the definitions consistent. | |
88 // TODO(yukishiino): Support inheritance of attributes defined on instance. | |
89 [PutForwards=href, Unforgeable] readonly attribute Location? location; | 83 [PutForwards=href, Unforgeable] readonly attribute Location? location; |
90 [RaisesException=Setter] attribute DOMString domain; | 84 [RaisesException=Setter] attribute DOMString domain; |
91 readonly attribute DOMString referrer; | 85 readonly attribute DOMString referrer; |
92 // FIXME: cookie should not have [TreatNullAs=NullString]. | 86 // FIXME: cookie should not have [TreatNullAs=NullString]. |
93 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; | 87 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; |
94 readonly attribute DOMString lastModified; | 88 readonly attribute DOMString lastModified; |
95 readonly attribute DocumentReadyState readyState; | 89 readonly attribute DocumentReadyState readyState; |
96 | 90 |
97 // DOM tree accessors | 91 // DOM tree accessors |
98 // FIXME: title and dir should not have [TreatNullAs=NullString]. | 92 // FIXME: title and dir should not have [TreatNullAs=NullString]. |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 attribute EventHandler onsearch; | 217 attribute EventHandler onsearch; |
224 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
225 attribute EventHandler onselectionchange; | 219 attribute EventHandler onselectionchange; |
226 attribute EventHandler onselectstart; | 220 attribute EventHandler onselectstart; |
227 attribute EventHandler onwheel; | 221 attribute EventHandler onwheel; |
228 }; | 222 }; |
229 | 223 |
230 Document implements GlobalEventHandlers; | 224 Document implements GlobalEventHandlers; |
231 Document implements ParentNode; | 225 Document implements ParentNode; |
232 Document implements NonElementParentNode; | 226 Document implements NonElementParentNode; |
OLD | NEW |