| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; | 80 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString?
xmlVersion; |
| 81 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; | 81 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; |
| 82 | 82 |
| 83 // HTML | 83 // HTML |
| 84 // https://html.spec.whatwg.org/#the-document-object | 84 // https://html.spec.whatwg.org/#the-document-object |
| 85 | 85 |
| 86 // resource metadata management | 86 // resource metadata management |
| 87 [PutForwards=href, Unforgeable] readonly attribute Location? location; | 87 [PutForwards=href, Unforgeable] readonly attribute Location? location; |
| 88 [RaisesException=Setter] attribute DOMString domain; | 88 [RaisesException=Setter] attribute DOMString domain; |
| 89 readonly attribute DOMString referrer; | 89 readonly attribute DOMString referrer; |
| 90 // FIXME: cookie should not have [TreatNullAs=NullString]. | 90 [RaisesException] attribute DOMString cookie; |
| 91 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; | |
| 92 readonly attribute DOMString lastModified; | 91 readonly attribute DOMString lastModified; |
| 93 readonly attribute DocumentReadyState readyState; | 92 readonly attribute DocumentReadyState readyState; |
| 94 | 93 |
| 95 // DOM tree accessors | 94 // DOM tree accessors |
| 96 // FIXME: title and dir should not have [TreatNullAs=NullString]. | 95 // FIXME: title and dir should not have [TreatNullAs=NullString]. |
| 97 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString title; | 96 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString title; |
| 98 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; | 97 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; |
| 99 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeCheck
ing=Interface, ExposeJSAccessors] attribute HTMLElement? body; | 98 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeCheck
ing=Interface, ExposeJSAccessors] attribute HTMLElement? body; |
| 100 readonly attribute HTMLHeadElement? head; | 99 readonly attribute HTMLHeadElement? head; |
| 101 [SameObject] readonly attribute HTMLCollection images; | 100 [SameObject] readonly attribute HTMLCollection images; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 attribute EventHandler onsearch; | 217 attribute EventHandler onsearch; |
| 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 220 attribute EventHandler onselectionchange; | 219 attribute EventHandler onselectionchange; |
| 221 attribute EventHandler onselectstart; | 220 attribute EventHandler onselectstart; |
| 222 attribute EventHandler onwheel; | 221 attribute EventHandler onwheel; |
| 223 }; | 222 }; |
| 224 | 223 |
| 225 Document implements GlobalEventHandlers; | 224 Document implements GlobalEventHandlers; |
| 226 Document implements ParentNode; | 225 Document implements ParentNode; |
| 227 Document implements NonElementParentNode; | 226 Document implements NonElementParentNode; |
| OLD | NEW |