| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 option
al NodeFilter? filter = null); | 76 option
al NodeFilter? filter = null); |
| 77 | 77 |
| 78 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 | 78 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 |
| 79 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection(DOMString data); | 79 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection(DOMString data); |
| 80 | 80 |
| 81 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp
ec. | 81 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp
ec. |
| 82 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; | 82 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; |
| 83 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; | 83 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; |
| 84 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; | 84 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; |
| 85 | 85 |
| 86 // https://dom.spec.whatwg.org/#interface-nonelementparentnode | |
| 87 | |
| 88 [PerWorldBindings] Element? getElementById(DOMString elementId); | |
| 89 | |
| 90 // https://html.spec.whatwg.org/#the-document-object | 86 // https://html.spec.whatwg.org/#the-document-object |
| 91 | 87 |
| 92 // resource metadata management | 88 // resource metadata management |
| 93 [PutForwards=href, Unforgeable] readonly attribute Location? location; | 89 [PutForwards=href, Unforgeable] readonly attribute Location? location; |
| 94 // FIXME: domain should not have [TreatNullAs=NullString]. | 90 // FIXME: domain should not have [TreatNullAs=NullString]. |
| 95 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString domain; | 91 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString domain; |
| 96 readonly attribute DOMString referrer; | 92 readonly attribute DOMString referrer; |
| 97 // FIXME: cookie should not have [TreatNullAs=NullString]. | 93 // FIXME: cookie should not have [TreatNullAs=NullString]. |
| 98 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; | 94 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; |
| 99 readonly attribute DOMString lastModified; | 95 readonly attribute DOMString lastModified; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 attribute EventHandler onpaste; | 217 attribute EventHandler onpaste; |
| 222 attribute EventHandler onsearch; | 218 attribute EventHandler onsearch; |
| 223 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 224 attribute EventHandler onselectionchange; | 220 attribute EventHandler onselectionchange; |
| 225 attribute EventHandler onselectstart; | 221 attribute EventHandler onselectstart; |
| 226 attribute EventHandler onwheel; | 222 attribute EventHandler onwheel; |
| 227 }; | 223 }; |
| 228 | 224 |
| 229 Document implements GlobalEventHandlers; | 225 Document implements GlobalEventHandlers; |
| 230 Document implements ParentNode; | 226 Document implements ParentNode; |
| 227 Document implements NonElementParentNode; |
| OLD | NEW |