| 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. |
| 83 [PutForwards=href, Unforgeable] readonly attribute Location? location; | 89 [PutForwards=href, Unforgeable] readonly attribute Location? location; |
| 84 [RaisesException=Setter] attribute DOMString domain; | 90 [RaisesException=Setter] attribute DOMString domain; |
| 85 readonly attribute DOMString referrer; | 91 readonly attribute DOMString referrer; |
| 86 // FIXME: cookie should not have [TreatNullAs=NullString]. | 92 // FIXME: cookie should not have [TreatNullAs=NullString]. |
| 87 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; | 93 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; |
| 88 readonly attribute DOMString lastModified; | 94 readonly attribute DOMString lastModified; |
| 89 readonly attribute DocumentReadyState readyState; | 95 readonly attribute DocumentReadyState readyState; |
| 90 | 96 |
| 91 // DOM tree accessors | 97 // DOM tree accessors |
| 92 // FIXME: title and dir should not have [TreatNullAs=NullString]. | 98 // FIXME: title and dir should not have [TreatNullAs=NullString]. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 attribute EventHandler onsearch; | 223 attribute EventHandler onsearch; |
| 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 224 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 219 attribute EventHandler onselectionchange; | 225 attribute EventHandler onselectionchange; |
| 220 attribute EventHandler onselectstart; | 226 attribute EventHandler onselectstart; |
| 221 attribute EventHandler onwheel; | 227 attribute EventHandler onwheel; |
| 222 }; | 228 }; |
| 223 | 229 |
| 224 Document implements GlobalEventHandlers; | 230 Document implements GlobalEventHandlers; |
| 225 Document implements ParentNode; | 231 Document implements ParentNode; |
| 226 Document implements NonElementParentNode; | 232 Document implements NonElementParentNode; |
| OLD | NEW |