From f9f093b4025a659946175121e211690594261c6b Mon Sep 17 00:00:00 2001 From: "haraken@chromium.org" Date: Sat, 3 Mar 2012 00:15:51 +0000 Subject: [PATCH] Revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl https://bugs.webkit.org/show_bug.cgi?id=80140 Reviewed by Adam Barth. Based on the discussion on webkit-dev@ (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results), we should revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl. No tests. No change in behavior. * CMakeLists.txt: * DerivedSources.make: * DerivedSources.pri: * GNUmakefile.list.am: * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * html/DOMWindowHTML.idl: Removed. * page/DOMWindow.idl: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109630 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/CMakeLists.txt | 1 - Source/WebCore/ChangeLog | 22 ++++ Source/WebCore/DerivedSources.make | 1 - Source/WebCore/DerivedSources.pri | 1 - Source/WebCore/GNUmakefile.list.am | 1 - Source/WebCore/WebCore.gypi | 1 - Source/WebCore/WebCore.xcodeproj/project.pbxproj | 2 - Source/WebCore/html/DOMWindowHTML.idl | 126 ----------------------- Source/WebCore/page/DOMWindow.idl | 91 +++++++++++++++- 9 files changed, 112 insertions(+), 134 deletions(-) delete mode 100644 Source/WebCore/html/DOMWindowHTML.idl diff --git a/Source/WebCore/CMakeLists.txt b/Source/WebCore/CMakeLists.txt index b567d6b..55a19a3 100644 --- a/Source/WebCore/CMakeLists.txt +++ b/Source/WebCore/CMakeLists.txt @@ -223,7 +223,6 @@ SET(WebCore_IDL_FILES html/DOMSettableTokenList.idl html/DOMTokenList.idl html/DOMURL.idl - html/DOMWindowHTML.idl html/HTMLAllCollection.idl html/HTMLAnchorElement.idl html/HTMLAppletElement.idl diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 72b1586..aa91ddd 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,5 +1,27 @@ 2012-03-02 Kentaro Hara + Revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl + https://bugs.webkit.org/show_bug.cgi?id=80140 + + Reviewed by Adam Barth. + + Based on the discussion on webkit-dev@ + (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results), + we should revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl. + + No tests. No change in behavior. + + * CMakeLists.txt: + * DerivedSources.make: + * DerivedSources.pri: + * GNUmakefile.list.am: + * WebCore.gypi: + * WebCore.xcodeproj/project.pbxproj: + * html/DOMWindowHTML.idl: Removed. + * page/DOMWindow.idl: + +2012-03-02 Kentaro Hara + Revert XML-related APIs from DOMWindowXML.idl back to DOMWindow.idl https://bugs.webkit.org/show_bug.cgi?id=80148 diff --git a/Source/WebCore/DerivedSources.make b/Source/WebCore/DerivedSources.make index dd7c467..1ed4eba 100644 --- a/Source/WebCore/DerivedSources.make +++ b/Source/WebCore/DerivedSources.make @@ -211,7 +211,6 @@ BINDING_IDLS = \ $(WebCore)/html/DOMSettableTokenList.idl \ $(WebCore)/html/DOMTokenList.idl \ $(WebCore)/html/DOMURL.idl \ - $(WebCore)/html/DOMWindowHTML.idl \ $(WebCore)/html/HTMLAllCollection.idl \ $(WebCore)/html/HTMLAnchorElement.idl \ $(WebCore)/html/HTMLAppletElement.idl \ diff --git a/Source/WebCore/DerivedSources.pri b/Source/WebCore/DerivedSources.pri index 2da0a28..34c37fa 100644 --- a/Source/WebCore/DerivedSources.pri +++ b/Source/WebCore/DerivedSources.pri @@ -271,7 +271,6 @@ IDL_BINDINGS += \ $$PWD/html/DOMSettableTokenList.idl \ $$PWD/html/DOMTokenList.idl \ $$PWD/html/DOMURL.idl \ - $$PWD/html/DOMWindowHTML.idl \ $$PWD/html/HTMLAllCollection.idl \ $$PWD/html/HTMLAudioElement.idl \ $$PWD/html/HTMLAnchorElement.idl \ diff --git a/Source/WebCore/GNUmakefile.list.am b/Source/WebCore/GNUmakefile.list.am index 7c5bd77..6dcf36d 100644 --- a/Source/WebCore/GNUmakefile.list.am +++ b/Source/WebCore/GNUmakefile.list.am @@ -770,7 +770,6 @@ dom_binding_idls += \ $(WebCore)/html/DOMSettableTokenList.idl \ $(WebCore)/html/DOMTokenList.idl \ $(WebCore)/html/DOMURL.idl \ - $(WebCore)/html/DOMWindowHTML.idl \ $(WebCore)/html/HTMLAllCollection.idl \ $(WebCore)/html/HTMLAnchorElement.idl \ $(WebCore)/html/HTMLAppletElement.idl \ diff --git a/Source/WebCore/WebCore.gypi b/Source/WebCore/WebCore.gypi index d5ae5f0..20d8c39 100644 --- a/Source/WebCore/WebCore.gypi +++ b/Source/WebCore/WebCore.gypi @@ -897,7 +897,6 @@ 'html/DOMSettableTokenList.idl', 'html/DOMTokenList.idl', 'html/DOMURL.idl', - 'html/DOMWindowHTML.idl', 'html/HTMLAllCollection.idl', 'html/HTMLAnchorElement.idl', 'html/HTMLAppletElement.idl', diff --git a/Source/WebCore/WebCore.xcodeproj/project.pbxproj b/Source/WebCore/WebCore.xcodeproj/project.pbxproj index ba3de27..f7e3ee7 100644 --- a/Source/WebCore/WebCore.xcodeproj/project.pbxproj +++ b/Source/WebCore/WebCore.xcodeproj/project.pbxproj @@ -10920,7 +10920,6 @@ A89AACD514F6C12700C1FA4A /* DOMWindowSVG.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = DOMWindowSVG.idl; sourceTree = ""; }; A89CCC500F44E98100B5DA10 /* ReplaceNodeWithSpanCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReplaceNodeWithSpanCommand.cpp; sourceTree = ""; }; A89CCC510F44E98100B5DA10 /* ReplaceNodeWithSpanCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReplaceNodeWithSpanCommand.h; sourceTree = ""; }; - A8A5205D14F6BD3C00FBA19E /* DOMWindowHTML.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMWindowHTML.idl; sourceTree = ""; }; A8BC04911214F69600B5F122 /* HTMLEntityTable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLEntityTable.cpp; sourceTree = ""; }; A8C2280D11D4A59700D5A7D3 /* DocumentParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DocumentParser.cpp; sourceTree = ""; }; A8C2289F11D5722E00D5A7D3 /* DecodedDataDocumentParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DecodedDataDocumentParser.h; sourceTree = ""; }; @@ -16741,7 +16740,6 @@ 2E37DFD712DBAFB800A6B233 /* DOMURL.cpp */, 2E37DFD812DBAFB800A6B233 /* DOMURL.h */, 2E37DFD912DBAFB800A6B233 /* DOMURL.idl */, - A8A5205D14F6BD3C00FBA19E /* DOMWindowHTML.idl */, F55B3D871251F12D003EF269 /* EmailInputType.cpp */, F55B3D881251F12D003EF269 /* EmailInputType.h */, F55B3D891251F12D003EF269 /* FileInputType.cpp */, diff --git a/Source/WebCore/html/DOMWindowHTML.idl b/Source/WebCore/html/DOMWindowHTML.idl deleted file mode 100644 index b955e64..0000000 --- a/Source/WebCore/html/DOMWindowHTML.idl +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. - * Copyright (C) 2011 Google Inc. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -module window { - - // FIXME: Most of this could/should be generated from make_names.pl/HTMLNames.in - // to reduce the chance that we forget a constructor when adding a new element. - interface [ - Supplemental=DOMWindow - ] DOMWindowHTML { - - attribute HTMLDocumentConstructor HTMLDocument; - attribute HTMLElementConstructor HTMLElement; - attribute HTMLAnchorElementConstructor HTMLAnchorElement; - attribute HTMLAppletElementConstructor HTMLAppletElement; - attribute HTMLAreaElementConstructor HTMLAreaElement; - attribute HTMLBRElementConstructor HTMLBRElement; - attribute HTMLBaseElementConstructor HTMLBaseElement; - attribute HTMLBaseFontElementConstructor HTMLBaseFontElement; - attribute HTMLBodyElementConstructor HTMLBodyElement; - attribute HTMLButtonElementConstructor HTMLButtonElement; - attribute HTMLCanvasElementConstructor HTMLCanvasElement; - attribute HTMLDListElementConstructor HTMLDListElement; - attribute HTMLDirectoryElementConstructor HTMLDirectoryElement; - attribute HTMLDivElementConstructor HTMLDivElement; - attribute HTMLEmbedElementConstructor HTMLEmbedElement; - attribute HTMLFieldSetElementConstructor HTMLFieldSetElement; - attribute HTMLFontElementConstructor HTMLFontElement; - attribute HTMLFormElementConstructor HTMLFormElement; - attribute HTMLFrameElementConstructor HTMLFrameElement; - attribute HTMLFrameSetElementConstructor HTMLFrameSetElement; - attribute HTMLHRElementConstructor HTMLHRElement; - attribute HTMLHeadElementConstructor HTMLHeadElement; - attribute HTMLHeadingElementConstructor HTMLHeadingElement; - attribute HTMLHtmlElementConstructor HTMLHtmlElement; - attribute HTMLIFrameElementConstructor HTMLIFrameElement; - attribute HTMLImageElementConstructor HTMLImageElement; - attribute HTMLInputElementConstructor HTMLInputElement; - attribute HTMLKeygenElementConstructor HTMLKeygenElement; - attribute HTMLLIElementConstructor HTMLLIElement; - attribute HTMLLabelElementConstructor HTMLLabelElement; - attribute HTMLLegendElementConstructor HTMLLegendElement; - attribute HTMLLinkElementConstructor HTMLLinkElement; - attribute HTMLMapElementConstructor HTMLMapElement; - attribute HTMLMarqueeElementConstructor HTMLMarqueeElement; - attribute HTMLMenuElementConstructor HTMLMenuElement; - attribute HTMLMetaElementConstructor HTMLMetaElement; -#if defined(ENABLE_METER_TAG) && ENABLE_METER_TAG - attribute HTMLMeterElementConstructor HTMLMeterElement; -#endif - attribute HTMLModElementConstructor HTMLModElement; - attribute HTMLOListElementConstructor HTMLOListElement; - attribute HTMLObjectElementConstructor HTMLObjectElement; - attribute HTMLOptGroupElementConstructor HTMLOptGroupElement; - attribute HTMLOptionElementConstructor HTMLOptionElement; - attribute HTMLOutputElementConstructor HTMLOutputElement; - attribute HTMLParagraphElementConstructor HTMLParagraphElement; - attribute HTMLParamElementConstructor HTMLParamElement; - attribute HTMLPreElementConstructor HTMLPreElement; -#if defined(ENABLE_PROGRESS_TAG) && ENABLE_PROGRESS_TAG - attribute HTMLProgressElementConstructor HTMLProgressElement; -#endif - attribute HTMLQuoteElementConstructor HTMLQuoteElement; - attribute HTMLScriptElementConstructor HTMLScriptElement; - attribute HTMLSelectElementConstructor HTMLSelectElement; - attribute HTMLSpanElementConstructor HTMLSpanElement; - attribute HTMLStyleElementConstructor HTMLStyleElement; - attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement; - attribute HTMLTableCellElementConstructor HTMLTableCellElement; - attribute HTMLTableColElementConstructor HTMLTableColElement; - attribute HTMLTableElementConstructor HTMLTableElement; - attribute HTMLTableRowElementConstructor HTMLTableRowElement; - attribute HTMLTableSectionElementConstructor HTMLTableSectionElement; - attribute HTMLTextAreaElementConstructor HTMLTextAreaElement; - attribute HTMLTitleElementConstructor HTMLTitleElement; - attribute HTMLUListElementConstructor HTMLUListElement; - - attribute HTMLCollectionConstructor HTMLCollection; - attribute HTMLAllCollectionConstructor HTMLAllCollection; - attribute [Conditional=MICRODATA] HTMLPropertiesCollectionConstructor HTMLPropertiesCollection; - attribute HTMLUnknownElementConstructor HTMLUnknownElement; - - attribute [JSCustomGetter, CustomConstructor] HTMLImageElementConstructorConstructor Image; // Usable with new operator - attribute [JSCustomGetter] HTMLOptionElementConstructorConstructor Option; // Usable with new operator - - attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement; - attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack; - attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator - attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList; - attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList; - attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent; - - attribute [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator - attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement; - attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement; - attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement; - attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError; - attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges; - attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement; - attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstructor MediaController; - }; - -} diff --git a/Source/WebCore/page/DOMWindow.idl b/Source/WebCore/page/DOMWindow.idl index e6c1de7..21eae171 100644 --- a/Source/WebCore/page/DOMWindow.idl +++ b/Source/WebCore/page/DOMWindow.idl @@ -396,7 +396,96 @@ module window { attribute DOMSelectionConstructor Selection; attribute DOMWindowConstructor Window; - // FIXME: Should these Canvas constructors move to html/DOMWindowHTML with the rest of canvas? + attribute HTMLDocumentConstructor HTMLDocument; + attribute HTMLElementConstructor HTMLElement; + attribute HTMLAnchorElementConstructor HTMLAnchorElement; + attribute HTMLAppletElementConstructor HTMLAppletElement; + attribute HTMLAreaElementConstructor HTMLAreaElement; + attribute HTMLBRElementConstructor HTMLBRElement; + attribute HTMLBaseElementConstructor HTMLBaseElement; + attribute HTMLBaseFontElementConstructor HTMLBaseFontElement; + attribute HTMLBodyElementConstructor HTMLBodyElement; + attribute HTMLButtonElementConstructor HTMLButtonElement; + attribute HTMLCanvasElementConstructor HTMLCanvasElement; + attribute HTMLDListElementConstructor HTMLDListElement; + attribute HTMLDirectoryElementConstructor HTMLDirectoryElement; + attribute HTMLDivElementConstructor HTMLDivElement; + attribute HTMLEmbedElementConstructor HTMLEmbedElement; + attribute HTMLFieldSetElementConstructor HTMLFieldSetElement; + attribute HTMLFontElementConstructor HTMLFontElement; + attribute HTMLFormElementConstructor HTMLFormElement; + attribute HTMLFrameElementConstructor HTMLFrameElement; + attribute HTMLFrameSetElementConstructor HTMLFrameSetElement; + attribute HTMLHRElementConstructor HTMLHRElement; + attribute HTMLHeadElementConstructor HTMLHeadElement; + attribute HTMLHeadingElementConstructor HTMLHeadingElement; + attribute HTMLHtmlElementConstructor HTMLHtmlElement; + attribute HTMLIFrameElementConstructor HTMLIFrameElement; + attribute HTMLImageElementConstructor HTMLImageElement; + attribute HTMLInputElementConstructor HTMLInputElement; + attribute HTMLKeygenElementConstructor HTMLKeygenElement; + attribute HTMLLIElementConstructor HTMLLIElement; + attribute HTMLLabelElementConstructor HTMLLabelElement; + attribute HTMLLegendElementConstructor HTMLLegendElement; + attribute HTMLLinkElementConstructor HTMLLinkElement; + attribute HTMLMapElementConstructor HTMLMapElement; + attribute HTMLMarqueeElementConstructor HTMLMarqueeElement; + attribute HTMLMenuElementConstructor HTMLMenuElement; + attribute HTMLMetaElementConstructor HTMLMetaElement; +#if defined(ENABLE_METER_TAG) && ENABLE_METER_TAG + attribute HTMLMeterElementConstructor HTMLMeterElement; +#endif + attribute HTMLModElementConstructor HTMLModElement; + attribute HTMLOListElementConstructor HTMLOListElement; + attribute HTMLObjectElementConstructor HTMLObjectElement; + attribute HTMLOptGroupElementConstructor HTMLOptGroupElement; + attribute HTMLOptionElementConstructor HTMLOptionElement; + attribute HTMLOutputElementConstructor HTMLOutputElement; + attribute HTMLParagraphElementConstructor HTMLParagraphElement; + attribute HTMLParamElementConstructor HTMLParamElement; + attribute HTMLPreElementConstructor HTMLPreElement; +#if defined(ENABLE_PROGRESS_TAG) && ENABLE_PROGRESS_TAG + attribute HTMLProgressElementConstructor HTMLProgressElement; +#endif + attribute HTMLQuoteElementConstructor HTMLQuoteElement; + attribute HTMLScriptElementConstructor HTMLScriptElement; + attribute HTMLSelectElementConstructor HTMLSelectElement; + attribute HTMLSpanElementConstructor HTMLSpanElement; + attribute HTMLStyleElementConstructor HTMLStyleElement; + attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement; + attribute HTMLTableCellElementConstructor HTMLTableCellElement; + attribute HTMLTableColElementConstructor HTMLTableColElement; + attribute HTMLTableElementConstructor HTMLTableElement; + attribute HTMLTableRowElementConstructor HTMLTableRowElement; + attribute HTMLTableSectionElementConstructor HTMLTableSectionElement; + attribute HTMLTextAreaElementConstructor HTMLTextAreaElement; + attribute HTMLTitleElementConstructor HTMLTitleElement; + attribute HTMLUListElementConstructor HTMLUListElement; + + attribute HTMLCollectionConstructor HTMLCollection; + attribute HTMLAllCollectionConstructor HTMLAllCollection; + attribute [Conditional=MICRODATA] HTMLPropertiesCollectionConstructor HTMLPropertiesCollection; + attribute HTMLUnknownElementConstructor HTMLUnknownElement; + + attribute [JSCustomGetter, CustomConstructor] HTMLImageElementConstructorConstructor Image; // Usable with new operator + attribute [JSCustomGetter] HTMLOptionElementConstructorConstructor Option; // Usable with new operator + + attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement; + attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack; + attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator + attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList; + attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList; + attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent; + + attribute [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator + attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement; + attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement; + attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement; + attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError; + attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges; + attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement; + attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstructor MediaController; + attribute CanvasPatternConstructor CanvasPattern; attribute CanvasGradientConstructor CanvasGradient; attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D; -- 1.8.3.1