| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 // https://html.spec.whatwg.org/#htmliframeelement |
| 22 |
| 21 interface HTMLIFrameElement : HTMLElement { | 23 interface HTMLIFrameElement : HTMLElement { |
| 24 [Reflect, URL] attribute DOMString src; |
| 25 [Reflect] attribute DOMString srcdoc; |
| 26 [Reflect] attribute DOMString name; |
| 27 // FIXME: sandbox should be a DOMSettableTokenList. |
| 28 [Reflect, TreatNullAs=NullString] attribute DOMString sandbox; |
| 29 // Note: The seamless attribute was once supported, but was removed. |
| 30 [Reflect] attribute boolean allowFullscreen; |
| 31 [Reflect] attribute DOMString width; |
| 32 [Reflect] attribute DOMString height; |
| 33 [CheckSecurity=Node] readonly attribute Document? contentDocument; |
| 34 readonly attribute Window? contentWindow; |
| 35 [CheckSecurity=Node, RaisesException] Document? getSVGDocument(); |
| 36 |
| 37 // obsolete members |
| 38 // https://html.spec.whatwg.org/#HTMLIFrameElement-partial |
| 22 [Reflect] attribute DOMString align; | 39 [Reflect] attribute DOMString align; |
| 23 [Reflect] attribute boolean allowFullscreen; | 40 [Reflect] attribute DOMString scrolling; |
| 24 [Reflect] attribute DOMString frameBorder; | 41 [Reflect] attribute DOMString frameBorder; |
| 25 [Reflect] attribute DOMString height; | |
| 26 [Reflect, URL] attribute DOMString longDesc; | 42 [Reflect, URL] attribute DOMString longDesc; |
| 43 |
| 27 [Reflect, TreatNullAs=EmptyString] attribute DOMString marginHeight; | 44 [Reflect, TreatNullAs=EmptyString] attribute DOMString marginHeight; |
| 28 [Reflect, TreatNullAs=EmptyString] attribute DOMString marginWidth; | 45 [Reflect, TreatNullAs=EmptyString] attribute DOMString marginWidth; |
| 29 [Reflect] attribute DOMString name; | |
| 30 [Reflect, TreatNullAs=NullString] attribute DOMString sandbox; | |
| 31 [Reflect] attribute DOMString scrolling; | |
| 32 [Reflect, URL] attribute DOMString src; | |
| 33 [Reflect] attribute DOMString srcdoc; | |
| 34 [Reflect] attribute DOMString width; | |
| 35 | 46 |
| 36 // Introduced in DOM Level 2: | 47 // Subresource Integrity |
| 37 [CheckSecurity=Node] readonly attribute Document contentDocument; | 48 // https://w3c.github.io/webappsec/specs/subresourceintegrity/ |
| 38 | 49 // FIXME: The spec does not extend HTMLIFrameElement. |
| 39 // Extensions | |
| 40 readonly attribute Window contentWindow; | |
| 41 | |
| 42 [CheckSecurity=Node, RaisesException] Document getSVGDocument(); | |
| 43 | |
| 44 [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity
; | 50 [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity
; |
| 45 }; | 51 }; |
| OLD | NEW |