/* This file is part of the WebKit open source project. This file has been generated by generate-bindings.pl. DO NOT MODIFY! This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "JSDOMWindow.h" #include "BarInfo.h" #include "CSSMutableStyleDeclaration.h" #include "CSSRuleList.h" #include "CSSStyleDeclaration.h" #include "Console.h" #include "DOMApplicationCache.h" #include "DOMSelection.h" #include "DOMWindow.h" #include "Database.h" #include "Document.h" #include "Element.h" #include "Event.h" #include "EventListener.h" #include "JSAttr.h" #include "JSBarInfo.h" #include "JSBeforeLoadEvent.h" #include "JSBlob.h" #include "JSCDATASection.h" #include "JSCSSCharsetRule.h" #include "JSCSSFontFaceRule.h" #include "JSCSSImportRule.h" #include "JSCSSMediaRule.h" #include "JSCSSPageRule.h" #include "JSCSSPrimitiveValue.h" #include "JSCSSRule.h" #include "JSCSSRuleList.h" #include "JSCSSStyleDeclaration.h" #include "JSCSSStyleRule.h" #include "JSCSSStyleSheet.h" #include "JSCSSValue.h" #include "JSCSSValueList.h" #include "JSCSSVariablesDeclaration.h" #include "JSCSSVariablesRule.h" #include "JSCanvasRenderingContext2D.h" #include "JSCharacterData.h" #include "JSClientRect.h" #include "JSClientRectList.h" #include "JSClipboard.h" #include "JSComment.h" #include "JSConsole.h" #include "JSCounter.h" #include "JSDOMApplicationCache.h" #include "JSDOMBinding.h" #include "JSDOMCoreException.h" #include "JSDOMFormData.h" #include "JSDOMImplementation.h" #include "JSDOMParser.h" #include "JSDOMSelection.h" #include "JSDOMWindow.h" #include "JSDOMWindowCustom.h" #include "JSDOMWindowShell.h" #include "JSDocument.h" #include "JSDocumentFragment.h" #include "JSDocumentType.h" #include "JSElement.h" #include "JSEntity.h" #include "JSEntityReference.h" #include "JSEvent.h" #include "JSEventException.h" #include "JSEventListener.h" #include "JSEventSource.h" #include "JSFile.h" #include "JSFileList.h" #include "JSHTMLAllCollection.h" #include "JSHTMLAnchorElement.h" #include "JSHTMLAppletElement.h" #include "JSHTMLAreaElement.h" #include "JSHTMLAudioElement.h" #include "JSHTMLBRElement.h" #include "JSHTMLBaseElement.h" #include "JSHTMLBaseFontElement.h" #include "JSHTMLBlockquoteElement.h" #include "JSHTMLBodyElement.h" #include "JSHTMLButtonElement.h" #include "JSHTMLCanvasElement.h" #include "JSHTMLCollection.h" #include "JSHTMLDListElement.h" #include "JSHTMLDataGridCellElement.h" #include "JSHTMLDataGridColElement.h" #include "JSHTMLDataGridElement.h" #include "JSHTMLDirectoryElement.h" #include "JSHTMLDivElement.h" #include "JSHTMLDocument.h" #include "JSHTMLElement.h" #include "JSHTMLEmbedElement.h" #include "JSHTMLFieldSetElement.h" #include "JSHTMLFontElement.h" #include "JSHTMLFormElement.h" #include "JSHTMLFrameElement.h" #include "JSHTMLFrameSetElement.h" #include "JSHTMLHRElement.h" #include "JSHTMLHeadElement.h" #include "JSHTMLHeadingElement.h" #include "JSHTMLHtmlElement.h" #include "JSHTMLIFrameElement.h" #include "JSHTMLImageElement.h" #include "JSHTMLInputElement.h" #include "JSHTMLIsIndexElement.h" #include "JSHTMLLIElement.h" #include "JSHTMLLabelElement.h" #include "JSHTMLLegendElement.h" #include "JSHTMLLinkElement.h" #include "JSHTMLMapElement.h" #include "JSHTMLMarqueeElement.h" #include "JSHTMLMediaElement.h" #include "JSHTMLMenuElement.h" #include "JSHTMLMetaElement.h" #include "JSHTMLModElement.h" #include "JSHTMLOListElement.h" #include "JSHTMLObjectElement.h" #include "JSHTMLOptGroupElement.h" #include "JSHTMLOptionElement.h" #include "JSHTMLParagraphElement.h" #include "JSHTMLParamElement.h" #include "JSHTMLPreElement.h" #include "JSHTMLQuoteElement.h" #include "JSHTMLScriptElement.h" #include "JSHTMLSelectElement.h" #include "JSHTMLStyleElement.h" #include "JSHTMLTableCaptionElement.h" #include "JSHTMLTableCellElement.h" #include "JSHTMLTableColElement.h" #include "JSHTMLTableElement.h" #include "JSHTMLTableRowElement.h" #include "JSHTMLTableSectionElement.h" #include "JSHTMLTextAreaElement.h" #include "JSHTMLTitleElement.h" #include "JSHTMLUListElement.h" #include "JSHTMLVideoElement.h" #include "JSImageData.h" #include "JSKeyboardEvent.h" #include "JSMediaError.h" #include "JSMediaList.h" #include "JSMessageChannel.h" #include "JSMessageEvent.h" #include "JSMessagePort.h" #include "JSMimeType.h" #include "JSMimeTypeArray.h" #include "JSMouseEvent.h" #include "JSMutationEvent.h" #include "JSNamedNodeMap.h" #include "JSNavigator.h" #include "JSNode.h" #include "JSNodeFilter.h" #include "JSNodeList.h" #include "JSNotation.h" #include "JSOverflowEvent.h" #include "JSPageTransitionEvent.h" #include "JSPlugin.h" #include "JSPluginArray.h" #include "JSProcessingInstruction.h" #include "JSProgressEvent.h" #include "JSRGBColor.h" #include "JSRange.h" #include "JSRangeException.h" #include "JSRect.h" #include "JSSVGAElement.h" #include "JSSVGAngle.h" #include "JSSVGAnimatedAngle.h" #include "JSSVGAnimatedBoolean.h" #include "JSSVGAnimatedEnumeration.h" #include "JSSVGAnimatedInteger.h" #include "JSSVGAnimatedLength.h" #include "JSSVGAnimatedLengthList.h" #include "JSSVGAnimatedNumber.h" #include "JSSVGAnimatedNumberList.h" #include "JSSVGAnimatedPreserveAspectRatio.h" #include "JSSVGAnimatedRect.h" #include "JSSVGAnimatedString.h" #include "JSSVGAnimatedTransformList.h" #include "JSSVGCircleElement.h" #include "JSSVGClipPathElement.h" #include "JSSVGColor.h" #include "JSSVGComponentTransferFunctionElement.h" #include "JSSVGCursorElement.h" #include "JSSVGDefsElement.h" #include "JSSVGDescElement.h" #include "JSSVGDocument.h" #include "JSSVGElement.h" #include "JSSVGElementInstance.h" #include "JSSVGElementInstanceList.h" #include "JSSVGEllipseElement.h" #include "JSSVGException.h" #include "JSSVGFEBlendElement.h" #include "JSSVGFEColorMatrixElement.h" #include "JSSVGFEComponentTransferElement.h" #include "JSSVGFECompositeElement.h" #include "JSSVGFEDiffuseLightingElement.h" #include "JSSVGFEDisplacementMapElement.h" #include "JSSVGFEDistantLightElement.h" #include "JSSVGFEFloodElement.h" #include "JSSVGFEFuncAElement.h" #include "JSSVGFEFuncBElement.h" #include "JSSVGFEFuncGElement.h" #include "JSSVGFEFuncRElement.h" #include "JSSVGFEGaussianBlurElement.h" #include "JSSVGFEImageElement.h" #include "JSSVGFEMergeElement.h" #include "JSSVGFEMergeNodeElement.h" #include "JSSVGFEMorphologyElement.h" #include "JSSVGFEOffsetElement.h" #include "JSSVGFEPointLightElement.h" #include "JSSVGFESpecularLightingElement.h" #include "JSSVGFESpotLightElement.h" #include "JSSVGFETileElement.h" #include "JSSVGFETurbulenceElement.h" #include "JSSVGFilterElement.h" #include "JSSVGGElement.h" #include "JSSVGGradientElement.h" #include "JSSVGImageElement.h" #include "JSSVGLength.h" #include "JSSVGLengthList.h" #include "JSSVGLineElement.h" #include "JSSVGLinearGradientElement.h" #include "JSSVGMarkerElement.h" #include "JSSVGMaskElement.h" #include "JSSVGMatrix.h" #include "JSSVGMetadataElement.h" #include "JSSVGNumber.h" #include "JSSVGNumberList.h" #include "JSSVGPaint.h" #include "JSSVGPathElement.h" #include "JSSVGPathSeg.h" #include "JSSVGPathSegArcAbs.h" #include "JSSVGPathSegArcRel.h" #include "JSSVGPathSegClosePath.h" #include "JSSVGPathSegCurvetoCubicAbs.h" #include "JSSVGPathSegCurvetoCubicRel.h" #include "JSSVGPathSegCurvetoCubicSmoothAbs.h" #include "JSSVGPathSegCurvetoCubicSmoothRel.h" #include "JSSVGPathSegCurvetoQuadraticAbs.h" #include "JSSVGPathSegCurvetoQuadraticRel.h" #include "JSSVGPathSegCurvetoQuadraticSmoothAbs.h" #include "JSSVGPathSegCurvetoQuadraticSmoothRel.h" #include "JSSVGPathSegLinetoAbs.h" #include "JSSVGPathSegLinetoHorizontalAbs.h" #include "JSSVGPathSegLinetoHorizontalRel.h" #include "JSSVGPathSegLinetoRel.h" #include "JSSVGPathSegLinetoVerticalAbs.h" #include "JSSVGPathSegLinetoVerticalRel.h" #include "JSSVGPathSegList.h" #include "JSSVGPathSegMovetoAbs.h" #include "JSSVGPathSegMovetoRel.h" #include "JSSVGPatternElement.h" #include "JSSVGPoint.h" #include "JSSVGPointList.h" #include "JSSVGPolygonElement.h" #include "JSSVGPolylineElement.h" #include "JSSVGPreserveAspectRatio.h" #include "JSSVGRadialGradientElement.h" #include "JSSVGRect.h" #include "JSSVGRectElement.h" #include "JSSVGRenderingIntent.h" #include "JSSVGSVGElement.h" #include "JSSVGScriptElement.h" #include "JSSVGStopElement.h" #include "JSSVGStringList.h" #include "JSSVGStyleElement.h" #include "JSSVGSwitchElement.h" #include "JSSVGSymbolElement.h" #include "JSSVGTRefElement.h" #include "JSSVGTSpanElement.h" #include "JSSVGTextContentElement.h" #include "JSSVGTextElement.h" #include "JSSVGTextPathElement.h" #include "JSSVGTextPositioningElement.h" #include "JSSVGTitleElement.h" #include "JSSVGTransform.h" #include "JSSVGTransformList.h" #include "JSSVGUnitTypes.h" #include "JSSVGUseElement.h" #include "JSSVGViewElement.h" #include "JSSVGZoomEvent.h" #include "JSScreen.h" #include "JSSharedWorker.h" #include "JSStorage.h" #include "JSStorageEvent.h" #include "JSStyleMedia.h" #include "JSStyleSheet.h" #include "JSStyleSheetList.h" #include "JSText.h" #include "JSTextEvent.h" #include "JSTextMetrics.h" #include "JSTouchEvent.h" #include "JSUIEvent.h" #include "JSWebGLArrayBuffer.h" #include "JSWebGLByteArray.h" #include "JSWebGLFloatArray.h" #include "JSWebGLIntArray.h" #include "JSWebGLRenderingContext.h" #include "JSWebGLShortArray.h" #include "JSWebGLUnsignedByteArray.h" #include "JSWebGLUnsignedIntArray.h" #include "JSWebGLUnsignedShortArray.h" #include "JSWebKitAnimationEvent.h" #include "JSWebKitCSSKeyframeRule.h" #include "JSWebKitCSSKeyframesRule.h" #include "JSWebKitCSSMatrix.h" #include "JSWebKitCSSTransformValue.h" #include "JSWebKitPoint.h" #include "JSWebKitTransitionEvent.h" #include "JSWebSocket.h" #include "JSWheelEvent.h" #include "JSWorker.h" #include "JSXMLHttpRequest.h" #include "JSXMLHttpRequestException.h" #include "JSXMLHttpRequestUpload.h" #include "JSXMLSerializer.h" #include "JSXPathEvaluator.h" #include "JSXPathException.h" #include "JSXPathResult.h" #include "JSXSLTProcessor.h" #include "KURL.h" #include "Navigator.h" #include "RegisteredEventListener.h" #include "Screen.h" #include "Storage.h" #include "StyleMedia.h" #include "WebKitPoint.h" #include #include #include #include using namespace JSC; namespace WebCore { ASSERT_CLASS_FITS_IN_CELL(JSDOMWindow); /* Hash table */ static const HashTableValue JSDOMWindowTableValues[409] = { { "screen", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowScreen), (intptr_t)0 }, { "history", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowHistory), (intptr_t)0 }, { "locationbar", DontDelete, (intptr_t)static_cast(jsDOMWindowLocationbar), (intptr_t)setJSDOMWindowLocationbar }, { "menubar", DontDelete, (intptr_t)static_cast(jsDOMWindowMenubar), (intptr_t)setJSDOMWindowMenubar }, { "personalbar", DontDelete, (intptr_t)static_cast(jsDOMWindowPersonalbar), (intptr_t)setJSDOMWindowPersonalbar }, { "scrollbars", DontDelete, (intptr_t)static_cast(jsDOMWindowScrollbars), (intptr_t)setJSDOMWindowScrollbars }, { "statusbar", DontDelete, (intptr_t)static_cast(jsDOMWindowStatusbar), (intptr_t)setJSDOMWindowStatusbar }, { "toolbar", DontDelete, (intptr_t)static_cast(jsDOMWindowToolbar), (intptr_t)setJSDOMWindowToolbar }, { "navigator", DontDelete, (intptr_t)static_cast(jsDOMWindowNavigator), (intptr_t)setJSDOMWindowNavigator }, { "clientInformation", DontDelete, (intptr_t)static_cast(jsDOMWindowClientInformation), (intptr_t)setJSDOMWindowClientInformation }, { "location", DontDelete, (intptr_t)static_cast(jsDOMWindowLocation), (intptr_t)setJSDOMWindowLocation }, { "event", DontDelete, (intptr_t)static_cast(jsDOMWindowEvent), (intptr_t)setJSDOMWindowEvent }, { "crypto", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowCrypto), (intptr_t)0 }, { "frameElement", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowFrameElement), (intptr_t)0 }, { "offscreenBuffering", DontDelete, (intptr_t)static_cast(jsDOMWindowOffscreenBuffering), (intptr_t)setJSDOMWindowOffscreenBuffering }, { "outerHeight", DontDelete, (intptr_t)static_cast(jsDOMWindowOuterHeight), (intptr_t)setJSDOMWindowOuterHeight }, { "outerWidth", DontDelete, (intptr_t)static_cast(jsDOMWindowOuterWidth), (intptr_t)setJSDOMWindowOuterWidth }, { "innerHeight", DontDelete, (intptr_t)static_cast(jsDOMWindowInnerHeight), (intptr_t)setJSDOMWindowInnerHeight }, { "innerWidth", DontDelete, (intptr_t)static_cast(jsDOMWindowInnerWidth), (intptr_t)setJSDOMWindowInnerWidth }, { "screenX", DontDelete, (intptr_t)static_cast(jsDOMWindowScreenX), (intptr_t)setJSDOMWindowScreenX }, { "screenY", DontDelete, (intptr_t)static_cast(jsDOMWindowScreenY), (intptr_t)setJSDOMWindowScreenY }, { "screenLeft", DontDelete, (intptr_t)static_cast(jsDOMWindowScreenLeft), (intptr_t)setJSDOMWindowScreenLeft }, { "screenTop", DontDelete, (intptr_t)static_cast(jsDOMWindowScreenTop), (intptr_t)setJSDOMWindowScreenTop }, { "scrollX", DontDelete, (intptr_t)static_cast(jsDOMWindowScrollX), (intptr_t)setJSDOMWindowScrollX }, { "scrollY", DontDelete, (intptr_t)static_cast(jsDOMWindowScrollY), (intptr_t)setJSDOMWindowScrollY }, { "pageXOffset", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowPageXOffset), (intptr_t)0 }, { "pageYOffset", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowPageYOffset), (intptr_t)0 }, { "closed", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowClosed), (intptr_t)0 }, { "length", DontDelete, (intptr_t)static_cast(jsDOMWindowLength), (intptr_t)setJSDOMWindowLength }, { "name", DontDelete, (intptr_t)static_cast(jsDOMWindowName), (intptr_t)setJSDOMWindowName }, { "status", DontDelete, (intptr_t)static_cast(jsDOMWindowStatus), (intptr_t)setJSDOMWindowStatus }, { "defaultStatus", DontDelete, (intptr_t)static_cast(jsDOMWindowDefaultStatus), (intptr_t)setJSDOMWindowDefaultStatus }, { "defaultstatus", DontDelete, (intptr_t)static_cast(jsDOMWindowDefaultstatus), (intptr_t)setJSDOMWindowDefaultstatus }, { "self", DontDelete, (intptr_t)static_cast(jsDOMWindowSelf), (intptr_t)setJSDOMWindowSelf }, { "window", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowWindow), (intptr_t)0 }, { "frames", DontDelete, (intptr_t)static_cast(jsDOMWindowFrames), (intptr_t)setJSDOMWindowFrames }, { "opener", DontDelete, (intptr_t)static_cast(jsDOMWindowOpener), (intptr_t)setJSDOMWindowOpener }, { "parent", DontDelete, (intptr_t)static_cast(jsDOMWindowParent), (intptr_t)setJSDOMWindowParent }, { "top", DontDelete, (intptr_t)static_cast(jsDOMWindowTop), (intptr_t)setJSDOMWindowTop }, { "document", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowDocument), (intptr_t)0 }, { "styleMedia", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowStyleMedia), (intptr_t)0 }, { "devicePixelRatio", DontDelete, (intptr_t)static_cast(jsDOMWindowDevicePixelRatio), (intptr_t)setJSDOMWindowDevicePixelRatio }, { "applicationCache", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowApplicationCache), (intptr_t)0 }, { "sessionStorage", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowSessionStorage), (intptr_t)0 }, { "localStorage", DontDelete|ReadOnly, (intptr_t)static_cast(jsDOMWindowLocalStorage), (intptr_t)0 }, { "console", DontDelete, (intptr_t)static_cast(jsDOMWindowConsole), (intptr_t)setJSDOMWindowConsole }, { "onabort", DontDelete, (intptr_t)static_cast(jsDOMWindowOnabort), (intptr_t)setJSDOMWindowOnabort }, { "onbeforeunload", DontDelete, (intptr_t)static_cast(jsDOMWindowOnbeforeunload), (intptr_t)setJSDOMWindowOnbeforeunload }, { "onblur", DontDelete, (intptr_t)static_cast(jsDOMWindowOnblur), (intptr_t)setJSDOMWindowOnblur }, { "oncanplay", DontDelete, (intptr_t)static_cast(jsDOMWindowOncanplay), (intptr_t)setJSDOMWindowOncanplay }, { "oncanplaythrough", DontDelete, (intptr_t)static_cast(jsDOMWindowOncanplaythrough), (intptr_t)setJSDOMWindowOncanplaythrough }, { "onchange", DontDelete, (intptr_t)static_cast(jsDOMWindowOnchange), (intptr_t)setJSDOMWindowOnchange }, { "onclick", DontDelete, (intptr_t)static_cast(jsDOMWindowOnclick), (intptr_t)setJSDOMWindowOnclick }, { "oncontextmenu", DontDelete, (intptr_t)static_cast(jsDOMWindowOncontextmenu), (intptr_t)setJSDOMWindowOncontextmenu }, { "ondblclick", DontDelete, (intptr_t)static_cast(jsDOMWindowOndblclick), (intptr_t)setJSDOMWindowOndblclick }, { "ondrag", DontDelete, (intptr_t)static_cast(jsDOMWindowOndrag), (intptr_t)setJSDOMWindowOndrag }, { "ondragend", DontDelete, (intptr_t)static_cast(jsDOMWindowOndragend), (intptr_t)setJSDOMWindowOndragend }, { "ondragenter", DontDelete, (intptr_t)static_cast(jsDOMWindowOndragenter), (intptr_t)setJSDOMWindowOndragenter }, { "ondragleave", DontDelete, (intptr_t)static_cast(jsDOMWindowOndragleave), (intptr_t)setJSDOMWindowOndragleave }, { "ondragover", DontDelete, (intptr_t)static_cast(jsDOMWindowOndragover), (intptr_t)setJSDOMWindowOndragover }, { "ondragstart", DontDelete, (intptr_t)static_cast(jsDOMWindowOndragstart), (intptr_t)setJSDOMWindowOndragstart }, { "ondrop", DontDelete, (intptr_t)static_cast(jsDOMWindowOndrop), (intptr_t)setJSDOMWindowOndrop }, { "ondurationchange", DontDelete, (intptr_t)static_cast(jsDOMWindowOndurationchange), (intptr_t)setJSDOMWindowOndurationchange }, { "onemptied", DontDelete, (intptr_t)static_cast(jsDOMWindowOnemptied), (intptr_t)setJSDOMWindowOnemptied }, { "onended", DontDelete, (intptr_t)static_cast(jsDOMWindowOnended), (intptr_t)setJSDOMWindowOnended }, { "onerror", DontDelete, (intptr_t)static_cast(jsDOMWindowOnerror), (intptr_t)setJSDOMWindowOnerror }, { "onfocus", DontDelete, (intptr_t)static_cast(jsDOMWindowOnfocus), (intptr_t)setJSDOMWindowOnfocus }, { "onhashchange", DontDelete, (intptr_t)static_cast(jsDOMWindowOnhashchange), (intptr_t)setJSDOMWindowOnhashchange }, { "oninput", DontDelete, (intptr_t)static_cast(jsDOMWindowOninput), (intptr_t)setJSDOMWindowOninput }, { "oninvalid", DontDelete, (intptr_t)static_cast(jsDOMWindowOninvalid), (intptr_t)setJSDOMWindowOninvalid }, { "onkeydown", DontDelete, (intptr_t)static_cast(jsDOMWindowOnkeydown), (intptr_t)setJSDOMWindowOnkeydown }, { "onkeypress", DontDelete, (intptr_t)static_cast(jsDOMWindowOnkeypress), (intptr_t)setJSDOMWindowOnkeypress }, { "onkeyup", DontDelete, (intptr_t)static_cast(jsDOMWindowOnkeyup), (intptr_t)setJSDOMWindowOnkeyup }, { "onload", DontDelete, (intptr_t)static_cast(jsDOMWindowOnload), (intptr_t)setJSDOMWindowOnload }, { "onloadeddata", DontDelete, (intptr_t)static_cast(jsDOMWindowOnloadeddata), (intptr_t)setJSDOMWindowOnloadeddata }, { "onloadedmetadata", DontDelete, (intptr_t)static_cast(jsDOMWindowOnloadedmetadata), (intptr_t)setJSDOMWindowOnloadedmetadata }, { "onloadstart", DontDelete, (intptr_t)static_cast(jsDOMWindowOnloadstart), (intptr_t)setJSDOMWindowOnloadstart }, { "onmessage", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmessage), (intptr_t)setJSDOMWindowOnmessage }, { "onmousedown", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmousedown), (intptr_t)setJSDOMWindowOnmousedown }, { "onmousemove", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmousemove), (intptr_t)setJSDOMWindowOnmousemove }, { "onmouseout", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmouseout), (intptr_t)setJSDOMWindowOnmouseout }, { "onmouseover", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmouseover), (intptr_t)setJSDOMWindowOnmouseover }, { "onmouseup", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmouseup), (intptr_t)setJSDOMWindowOnmouseup }, { "onmousewheel", DontDelete, (intptr_t)static_cast(jsDOMWindowOnmousewheel), (intptr_t)setJSDOMWindowOnmousewheel }, { "onoffline", DontDelete, (intptr_t)static_cast(jsDOMWindowOnoffline), (intptr_t)setJSDOMWindowOnoffline }, { "ononline", DontDelete, (intptr_t)static_cast(jsDOMWindowOnonline), (intptr_t)setJSDOMWindowOnonline }, { "onpagehide", DontDelete, (intptr_t)static_cast(jsDOMWindowOnpagehide), (intptr_t)setJSDOMWindowOnpagehide }, { "onpageshow", DontDelete, (intptr_t)static_cast(jsDOMWindowOnpageshow), (intptr_t)setJSDOMWindowOnpageshow }, { "onpause", DontDelete, (intptr_t)static_cast(jsDOMWindowOnpause), (intptr_t)setJSDOMWindowOnpause }, { "onplay", DontDelete, (intptr_t)static_cast(jsDOMWindowOnplay), (intptr_t)setJSDOMWindowOnplay }, { "onplaying", DontDelete, (intptr_t)static_cast(jsDOMWindowOnplaying), (intptr_t)setJSDOMWindowOnplaying }, { "onpopstate", DontDelete, (intptr_t)static_cast(jsDOMWindowOnpopstate), (intptr_t)setJSDOMWindowOnpopstate }, { "onprogress", DontDelete, (intptr_t)static_cast(jsDOMWindowOnprogress), (intptr_t)setJSDOMWindowOnprogress }, { "onratechange", DontDelete, (intptr_t)static_cast(jsDOMWindowOnratechange), (intptr_t)setJSDOMWindowOnratechange }, { "onresize", DontDelete, (intptr_t)static_cast(jsDOMWindowOnresize), (intptr_t)setJSDOMWindowOnresize }, { "onscroll", DontDelete, (intptr_t)static_cast(jsDOMWindowOnscroll), (intptr_t)setJSDOMWindowOnscroll }, { "onseeked", DontDelete, (intptr_t)static_cast(jsDOMWindowOnseeked), (intptr_t)setJSDOMWindowOnseeked }, { "onseeking", DontDelete, (intptr_t)static_cast(jsDOMWindowOnseeking), (intptr_t)setJSDOMWindowOnseeking }, { "onselect", DontDelete, (intptr_t)static_cast(jsDOMWindowOnselect), (intptr_t)setJSDOMWindowOnselect }, { "onstalled", DontDelete, (intptr_t)static_cast(jsDOMWindowOnstalled), (intptr_t)setJSDOMWindowOnstalled }, { "onstorage", DontDelete, (intptr_t)static_cast(jsDOMWindowOnstorage), (intptr_t)setJSDOMWindowOnstorage }, { "onsubmit", DontDelete, (intptr_t)static_cast(jsDOMWindowOnsubmit), (intptr_t)setJSDOMWindowOnsubmit }, { "onsuspend", DontDelete, (intptr_t)static_cast(jsDOMWindowOnsuspend), (intptr_t)setJSDOMWindowOnsuspend }, { "ontimeupdate", DontDelete, (intptr_t)static_cast(jsDOMWindowOntimeupdate), (intptr_t)setJSDOMWindowOntimeupdate }, { "onunload", DontDelete, (intptr_t)static_cast(jsDOMWindowOnunload), (intptr_t)setJSDOMWindowOnunload }, { "onvolumechange", DontDelete, (intptr_t)static_cast(jsDOMWindowOnvolumechange), (intptr_t)setJSDOMWindowOnvolumechange }, { "onwaiting", DontDelete, (intptr_t)static_cast(jsDOMWindowOnwaiting), (intptr_t)setJSDOMWindowOnwaiting }, { "onreset", DontDelete, (intptr_t)static_cast(jsDOMWindowOnreset), (intptr_t)setJSDOMWindowOnreset }, { "onsearch", DontDelete, (intptr_t)static_cast(jsDOMWindowOnsearch), (intptr_t)setJSDOMWindowOnsearch }, { "onwebkitanimationend", DontDelete, (intptr_t)static_cast(jsDOMWindowOnwebkitanimationend), (intptr_t)setJSDOMWindowOnwebkitanimationend }, { "onwebkitanimationiteration", DontDelete, (intptr_t)static_cast(jsDOMWindowOnwebkitanimationiteration), (intptr_t)setJSDOMWindowOnwebkitanimationiteration }, { "onwebkitanimationstart", DontDelete, (intptr_t)static_cast(jsDOMWindowOnwebkitanimationstart), (intptr_t)setJSDOMWindowOnwebkitanimationstart }, { "onwebkittransitionend", DontDelete, (intptr_t)static_cast(jsDOMWindowOnwebkittransitionend), (intptr_t)setJSDOMWindowOnwebkittransitionend }, #if ENABLE(TOUCH_EVENTS) { "ontouchstart", DontDelete|DontEnum, (intptr_t)static_cast(jsDOMWindowOntouchstart), (intptr_t)setJSDOMWindowOntouchstart }, #endif #if ENABLE(TOUCH_EVENTS) { "ontouchmove", DontDelete|DontEnum, (intptr_t)static_cast(jsDOMWindowOntouchmove), (intptr_t)setJSDOMWindowOntouchmove }, #endif #if ENABLE(TOUCH_EVENTS) { "ontouchend", DontDelete|DontEnum, (intptr_t)static_cast(jsDOMWindowOntouchend), (intptr_t)setJSDOMWindowOntouchend }, #endif #if ENABLE(TOUCH_EVENTS) { "ontouchcancel", DontDelete|DontEnum, (intptr_t)static_cast(jsDOMWindowOntouchcancel), (intptr_t)setJSDOMWindowOntouchcancel }, #endif { "StyleSheet", DontDelete, (intptr_t)static_cast(jsDOMWindowStyleSheetConstructor), (intptr_t)setJSDOMWindowStyleSheetConstructor }, { "CSSStyleSheet", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSStyleSheetConstructor), (intptr_t)setJSDOMWindowCSSStyleSheetConstructor }, { "CSSValue", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSValueConstructor), (intptr_t)setJSDOMWindowCSSValueConstructor }, { "CSSPrimitiveValue", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSPrimitiveValueConstructor), (intptr_t)setJSDOMWindowCSSPrimitiveValueConstructor }, { "CSSValueList", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSValueListConstructor), (intptr_t)setJSDOMWindowCSSValueListConstructor }, { "WebKitCSSTransformValue", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitCSSTransformValueConstructor), (intptr_t)setJSDOMWindowWebKitCSSTransformValueConstructor }, { "CSSRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSRuleConstructor), (intptr_t)setJSDOMWindowCSSRuleConstructor }, { "CSSCharsetRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSCharsetRuleConstructor), (intptr_t)setJSDOMWindowCSSCharsetRuleConstructor }, { "CSSFontFaceRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSFontFaceRuleConstructor), (intptr_t)setJSDOMWindowCSSFontFaceRuleConstructor }, { "CSSImportRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSImportRuleConstructor), (intptr_t)setJSDOMWindowCSSImportRuleConstructor }, { "CSSMediaRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSMediaRuleConstructor), (intptr_t)setJSDOMWindowCSSMediaRuleConstructor }, { "CSSPageRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSPageRuleConstructor), (intptr_t)setJSDOMWindowCSSPageRuleConstructor }, { "CSSStyleRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSStyleRuleConstructor), (intptr_t)setJSDOMWindowCSSStyleRuleConstructor }, { "CSSVariablesRule", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSVariablesRuleConstructor), (intptr_t)setJSDOMWindowCSSVariablesRuleConstructor }, { "CSSVariablesDeclaration", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSVariablesDeclarationConstructor), (intptr_t)setJSDOMWindowCSSVariablesDeclarationConstructor }, { "CSSStyleDeclaration", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSStyleDeclarationConstructor), (intptr_t)setJSDOMWindowCSSStyleDeclarationConstructor }, { "MediaList", DontDelete, (intptr_t)static_cast(jsDOMWindowMediaListConstructor), (intptr_t)setJSDOMWindowMediaListConstructor }, { "Counter", DontDelete, (intptr_t)static_cast(jsDOMWindowCounterConstructor), (intptr_t)setJSDOMWindowCounterConstructor }, { "CSSRuleList", DontDelete, (intptr_t)static_cast(jsDOMWindowCSSRuleListConstructor), (intptr_t)setJSDOMWindowCSSRuleListConstructor }, { "Rect", DontDelete, (intptr_t)static_cast(jsDOMWindowRectConstructor), (intptr_t)setJSDOMWindowRectConstructor }, { "RGBColor", DontDelete, (intptr_t)static_cast(jsDOMWindowRGBColorConstructor), (intptr_t)setJSDOMWindowRGBColorConstructor }, { "StyleSheetList", DontDelete, (intptr_t)static_cast(jsDOMWindowStyleSheetListConstructor), (intptr_t)setJSDOMWindowStyleSheetListConstructor }, { "DOMException", DontDelete, (intptr_t)static_cast(jsDOMWindowDOMExceptionConstructor), (intptr_t)setJSDOMWindowDOMExceptionConstructor }, { "DOMImplementation", DontDelete, (intptr_t)static_cast(jsDOMWindowDOMImplementationConstructor), (intptr_t)setJSDOMWindowDOMImplementationConstructor }, { "DocumentFragment", DontDelete, (intptr_t)static_cast(jsDOMWindowDocumentFragmentConstructor), (intptr_t)setJSDOMWindowDocumentFragmentConstructor }, { "Document", DontDelete, (intptr_t)static_cast(jsDOMWindowDocumentConstructor), (intptr_t)setJSDOMWindowDocumentConstructor }, { "Node", DontDelete, (intptr_t)static_cast(jsDOMWindowNodeConstructor), (intptr_t)setJSDOMWindowNodeConstructor }, { "NodeList", DontDelete, (intptr_t)static_cast(jsDOMWindowNodeListConstructor), (intptr_t)setJSDOMWindowNodeListConstructor }, { "NamedNodeMap", DontDelete, (intptr_t)static_cast(jsDOMWindowNamedNodeMapConstructor), (intptr_t)setJSDOMWindowNamedNodeMapConstructor }, { "CharacterData", DontDelete, (intptr_t)static_cast(jsDOMWindowCharacterDataConstructor), (intptr_t)setJSDOMWindowCharacterDataConstructor }, { "Attr", DontDelete, (intptr_t)static_cast(jsDOMWindowAttrConstructor), (intptr_t)setJSDOMWindowAttrConstructor }, { "Element", DontDelete, (intptr_t)static_cast(jsDOMWindowElementConstructor), (intptr_t)setJSDOMWindowElementConstructor }, { "Text", DontDelete, (intptr_t)static_cast(jsDOMWindowTextConstructor), (intptr_t)setJSDOMWindowTextConstructor }, { "Comment", DontDelete, (intptr_t)static_cast(jsDOMWindowCommentConstructor), (intptr_t)setJSDOMWindowCommentConstructor }, { "CDATASection", DontDelete, (intptr_t)static_cast(jsDOMWindowCDATASectionConstructor), (intptr_t)setJSDOMWindowCDATASectionConstructor }, { "DocumentType", DontDelete, (intptr_t)static_cast(jsDOMWindowDocumentTypeConstructor), (intptr_t)setJSDOMWindowDocumentTypeConstructor }, { "Notation", DontDelete, (intptr_t)static_cast(jsDOMWindowNotationConstructor), (intptr_t)setJSDOMWindowNotationConstructor }, { "Entity", DontDelete, (intptr_t)static_cast(jsDOMWindowEntityConstructor), (intptr_t)setJSDOMWindowEntityConstructor }, { "EntityReference", DontDelete, (intptr_t)static_cast(jsDOMWindowEntityReferenceConstructor), (intptr_t)setJSDOMWindowEntityReferenceConstructor }, { "ProcessingInstruction", DontDelete, (intptr_t)static_cast(jsDOMWindowProcessingInstructionConstructor), (intptr_t)setJSDOMWindowProcessingInstructionConstructor }, { "HTMLDocument", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDocumentConstructor), (intptr_t)setJSDOMWindowHTMLDocumentConstructor }, { "HTMLElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLElementConstructor), (intptr_t)setJSDOMWindowHTMLElementConstructor }, { "HTMLAnchorElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLAnchorElementConstructor), (intptr_t)setJSDOMWindowHTMLAnchorElementConstructor }, { "HTMLAppletElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLAppletElementConstructor), (intptr_t)setJSDOMWindowHTMLAppletElementConstructor }, { "HTMLAreaElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLAreaElementConstructor), (intptr_t)setJSDOMWindowHTMLAreaElementConstructor }, { "HTMLBRElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLBRElementConstructor), (intptr_t)setJSDOMWindowHTMLBRElementConstructor }, { "HTMLBaseElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLBaseElementConstructor), (intptr_t)setJSDOMWindowHTMLBaseElementConstructor }, { "HTMLBaseFontElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLBaseFontElementConstructor), (intptr_t)setJSDOMWindowHTMLBaseFontElementConstructor }, { "HTMLBlockquoteElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLBlockquoteElementConstructor), (intptr_t)setJSDOMWindowHTMLBlockquoteElementConstructor }, { "HTMLBodyElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLBodyElementConstructor), (intptr_t)setJSDOMWindowHTMLBodyElementConstructor }, { "HTMLButtonElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLButtonElementConstructor), (intptr_t)setJSDOMWindowHTMLButtonElementConstructor }, { "HTMLCanvasElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLCanvasElementConstructor), (intptr_t)setJSDOMWindowHTMLCanvasElementConstructor }, #if ENABLE(DATAGRID) { "HTMLDataGridElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDataGridElementConstructor), (intptr_t)setJSDOMWindowHTMLDataGridElementConstructor }, #endif #if ENABLE(DATAGRID) { "HTMLDataGridCellElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDataGridCellElementConstructor), (intptr_t)setJSDOMWindowHTMLDataGridCellElementConstructor }, #endif #if ENABLE(DATAGRID) { "HTMLDataGridColElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDataGridColElementConstructor), (intptr_t)setJSDOMWindowHTMLDataGridColElementConstructor }, #endif { "HTMLDListElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDListElementConstructor), (intptr_t)setJSDOMWindowHTMLDListElementConstructor }, { "HTMLDirectoryElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDirectoryElementConstructor), (intptr_t)setJSDOMWindowHTMLDirectoryElementConstructor }, { "HTMLDivElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLDivElementConstructor), (intptr_t)setJSDOMWindowHTMLDivElementConstructor }, { "HTMLEmbedElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLEmbedElementConstructor), (intptr_t)setJSDOMWindowHTMLEmbedElementConstructor }, { "HTMLFieldSetElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLFieldSetElementConstructor), (intptr_t)setJSDOMWindowHTMLFieldSetElementConstructor }, { "HTMLFontElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLFontElementConstructor), (intptr_t)setJSDOMWindowHTMLFontElementConstructor }, { "HTMLFormElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLFormElementConstructor), (intptr_t)setJSDOMWindowHTMLFormElementConstructor }, { "HTMLFrameElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLFrameElementConstructor), (intptr_t)setJSDOMWindowHTMLFrameElementConstructor }, { "HTMLFrameSetElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLFrameSetElementConstructor), (intptr_t)setJSDOMWindowHTMLFrameSetElementConstructor }, { "HTMLHRElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLHRElementConstructor), (intptr_t)setJSDOMWindowHTMLHRElementConstructor }, { "HTMLHeadElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLHeadElementConstructor), (intptr_t)setJSDOMWindowHTMLHeadElementConstructor }, { "HTMLHeadingElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLHeadingElementConstructor), (intptr_t)setJSDOMWindowHTMLHeadingElementConstructor }, { "HTMLHtmlElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLHtmlElementConstructor), (intptr_t)setJSDOMWindowHTMLHtmlElementConstructor }, { "HTMLIFrameElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLIFrameElementConstructor), (intptr_t)setJSDOMWindowHTMLIFrameElementConstructor }, { "HTMLImageElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLImageElementConstructor), (intptr_t)setJSDOMWindowHTMLImageElementConstructor }, { "HTMLInputElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLInputElementConstructor), (intptr_t)setJSDOMWindowHTMLInputElementConstructor }, { "HTMLIsIndexElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLIsIndexElementConstructor), (intptr_t)setJSDOMWindowHTMLIsIndexElementConstructor }, { "HTMLLIElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLLIElementConstructor), (intptr_t)setJSDOMWindowHTMLLIElementConstructor }, { "HTMLLabelElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLLabelElementConstructor), (intptr_t)setJSDOMWindowHTMLLabelElementConstructor }, { "HTMLLegendElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLLegendElementConstructor), (intptr_t)setJSDOMWindowHTMLLegendElementConstructor }, { "HTMLLinkElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLLinkElementConstructor), (intptr_t)setJSDOMWindowHTMLLinkElementConstructor }, { "HTMLMapElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLMapElementConstructor), (intptr_t)setJSDOMWindowHTMLMapElementConstructor }, { "HTMLMarqueeElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLMarqueeElementConstructor), (intptr_t)setJSDOMWindowHTMLMarqueeElementConstructor }, { "HTMLMenuElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLMenuElementConstructor), (intptr_t)setJSDOMWindowHTMLMenuElementConstructor }, { "HTMLMetaElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLMetaElementConstructor), (intptr_t)setJSDOMWindowHTMLMetaElementConstructor }, { "HTMLModElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLModElementConstructor), (intptr_t)setJSDOMWindowHTMLModElementConstructor }, { "HTMLOListElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLOListElementConstructor), (intptr_t)setJSDOMWindowHTMLOListElementConstructor }, { "HTMLObjectElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLObjectElementConstructor), (intptr_t)setJSDOMWindowHTMLObjectElementConstructor }, { "HTMLOptGroupElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLOptGroupElementConstructor), (intptr_t)setJSDOMWindowHTMLOptGroupElementConstructor }, { "HTMLOptionElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLOptionElementConstructor), (intptr_t)setJSDOMWindowHTMLOptionElementConstructor }, { "HTMLParagraphElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLParagraphElementConstructor), (intptr_t)setJSDOMWindowHTMLParagraphElementConstructor }, { "HTMLParamElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLParamElementConstructor), (intptr_t)setJSDOMWindowHTMLParamElementConstructor }, { "HTMLPreElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLPreElementConstructor), (intptr_t)setJSDOMWindowHTMLPreElementConstructor }, { "HTMLQuoteElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLQuoteElementConstructor), (intptr_t)setJSDOMWindowHTMLQuoteElementConstructor }, { "HTMLScriptElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLScriptElementConstructor), (intptr_t)setJSDOMWindowHTMLScriptElementConstructor }, { "HTMLSelectElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLSelectElementConstructor), (intptr_t)setJSDOMWindowHTMLSelectElementConstructor }, { "HTMLStyleElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLStyleElementConstructor), (intptr_t)setJSDOMWindowHTMLStyleElementConstructor }, { "HTMLTableCaptionElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTableCaptionElementConstructor), (intptr_t)setJSDOMWindowHTMLTableCaptionElementConstructor }, { "HTMLTableCellElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTableCellElementConstructor), (intptr_t)setJSDOMWindowHTMLTableCellElementConstructor }, { "HTMLTableColElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTableColElementConstructor), (intptr_t)setJSDOMWindowHTMLTableColElementConstructor }, { "HTMLTableElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTableElementConstructor), (intptr_t)setJSDOMWindowHTMLTableElementConstructor }, { "HTMLTableRowElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTableRowElementConstructor), (intptr_t)setJSDOMWindowHTMLTableRowElementConstructor }, { "HTMLTableSectionElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTableSectionElementConstructor), (intptr_t)setJSDOMWindowHTMLTableSectionElementConstructor }, { "HTMLTextAreaElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTextAreaElementConstructor), (intptr_t)setJSDOMWindowHTMLTextAreaElementConstructor }, { "HTMLTitleElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLTitleElementConstructor), (intptr_t)setJSDOMWindowHTMLTitleElementConstructor }, { "HTMLUListElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLUListElementConstructor), (intptr_t)setJSDOMWindowHTMLUListElementConstructor }, { "HTMLCollection", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLCollectionConstructor), (intptr_t)setJSDOMWindowHTMLCollectionConstructor }, { "HTMLAllCollection", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLAllCollectionConstructor), (intptr_t)setJSDOMWindowHTMLAllCollectionConstructor }, { "Image", DontDelete, (intptr_t)static_cast(jsDOMWindowImageConstructor), (intptr_t)setJSDOMWindowImageConstructor }, { "Option", DontDelete, (intptr_t)static_cast(jsDOMWindowOptionConstructor), (intptr_t)setJSDOMWindowOptionConstructor }, { "CanvasRenderingContext2D", DontDelete, (intptr_t)static_cast(jsDOMWindowCanvasRenderingContext2DConstructor), (intptr_t)setJSDOMWindowCanvasRenderingContext2DConstructor }, { "ImageData", DontDelete, (intptr_t)static_cast(jsDOMWindowImageDataConstructor), (intptr_t)setJSDOMWindowImageDataConstructor }, #if ENABLE(3D_CANVAS) { "WebGLRenderingContext", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLRenderingContextConstructor), (intptr_t)setJSDOMWindowWebGLRenderingContextConstructor }, #endif { "TextMetrics", DontDelete, (intptr_t)static_cast(jsDOMWindowTextMetricsConstructor), (intptr_t)setJSDOMWindowTextMetricsConstructor }, #if ENABLE(3D_CANVAS) { "WebGLArrayBuffer", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLArrayBufferConstructor), (intptr_t)setJSDOMWindowWebGLArrayBufferConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLByteArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLByteArrayConstructor), (intptr_t)setJSDOMWindowWebGLByteArrayConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLUnsignedByteArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLUnsignedByteArrayConstructor), (intptr_t)setJSDOMWindowWebGLUnsignedByteArrayConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLShortArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLShortArrayConstructor), (intptr_t)setJSDOMWindowWebGLShortArrayConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLUnsignedShortArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLUnsignedShortArrayConstructor), (intptr_t)setJSDOMWindowWebGLUnsignedShortArrayConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLIntArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLIntArrayConstructor), (intptr_t)setJSDOMWindowWebGLIntArrayConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLUnsignedIntArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLUnsignedIntArrayConstructor), (intptr_t)setJSDOMWindowWebGLUnsignedIntArrayConstructor }, #endif #if ENABLE(3D_CANVAS) { "WebGLFloatArray", DontDelete, (intptr_t)static_cast(jsDOMWindowWebGLFloatArrayConstructor), (intptr_t)setJSDOMWindowWebGLFloatArrayConstructor }, #endif { "Event", DontDelete, (intptr_t)static_cast(jsDOMWindowEventConstructor), (intptr_t)setJSDOMWindowEventConstructor }, { "BeforeLoadEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowBeforeLoadEventConstructor), (intptr_t)setJSDOMWindowBeforeLoadEventConstructor }, { "KeyboardEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowKeyboardEventConstructor), (intptr_t)setJSDOMWindowKeyboardEventConstructor }, { "MouseEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowMouseEventConstructor), (intptr_t)setJSDOMWindowMouseEventConstructor }, { "MutationEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowMutationEventConstructor), (intptr_t)setJSDOMWindowMutationEventConstructor }, { "OverflowEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowOverflowEventConstructor), (intptr_t)setJSDOMWindowOverflowEventConstructor }, { "PageTransitionEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowPageTransitionEventConstructor), (intptr_t)setJSDOMWindowPageTransitionEventConstructor }, { "ProgressEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowProgressEventConstructor), (intptr_t)setJSDOMWindowProgressEventConstructor }, { "TextEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowTextEventConstructor), (intptr_t)setJSDOMWindowTextEventConstructor }, { "UIEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowUIEventConstructor), (intptr_t)setJSDOMWindowUIEventConstructor }, { "WebKitAnimationEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitAnimationEventConstructor), (intptr_t)setJSDOMWindowWebKitAnimationEventConstructor }, { "WebKitTransitionEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitTransitionEventConstructor), (intptr_t)setJSDOMWindowWebKitTransitionEventConstructor }, { "WheelEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowWheelEventConstructor), (intptr_t)setJSDOMWindowWheelEventConstructor }, { "MessageEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowMessageEventConstructor), (intptr_t)setJSDOMWindowMessageEventConstructor }, { "EventException", DontDelete, (intptr_t)static_cast(jsDOMWindowEventExceptionConstructor), (intptr_t)setJSDOMWindowEventExceptionConstructor }, { "WebKitCSSKeyframeRule", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitCSSKeyframeRuleConstructor), (intptr_t)setJSDOMWindowWebKitCSSKeyframeRuleConstructor }, { "WebKitCSSKeyframesRule", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitCSSKeyframesRuleConstructor), (intptr_t)setJSDOMWindowWebKitCSSKeyframesRuleConstructor }, { "WebKitCSSMatrix", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitCSSMatrixConstructor), (intptr_t)setJSDOMWindowWebKitCSSMatrixConstructor }, { "WebKitPoint", DontDelete, (intptr_t)static_cast(jsDOMWindowWebKitPointConstructor), (intptr_t)setJSDOMWindowWebKitPointConstructor }, { "Clipboard", DontDelete, (intptr_t)static_cast(jsDOMWindowClipboardConstructor), (intptr_t)setJSDOMWindowClipboardConstructor }, { "File", DontDelete, (intptr_t)static_cast(jsDOMWindowFileConstructor), (intptr_t)setJSDOMWindowFileConstructor }, { "FileList", DontDelete, (intptr_t)static_cast(jsDOMWindowFileListConstructor), (intptr_t)setJSDOMWindowFileListConstructor }, { "Blob", DontDelete, (intptr_t)static_cast(jsDOMWindowBlobConstructor), (intptr_t)setJSDOMWindowBlobConstructor }, { "NodeFilter", DontDelete, (intptr_t)static_cast(jsDOMWindowNodeFilterConstructor), (intptr_t)setJSDOMWindowNodeFilterConstructor }, { "Range", DontDelete, (intptr_t)static_cast(jsDOMWindowRangeConstructor), (intptr_t)setJSDOMWindowRangeConstructor }, { "RangeException", DontDelete, (intptr_t)static_cast(jsDOMWindowRangeExceptionConstructor), (intptr_t)setJSDOMWindowRangeExceptionConstructor }, { "EventSource", DontDelete, (intptr_t)static_cast(jsDOMWindowEventSourceConstructor), (intptr_t)setJSDOMWindowEventSourceConstructor }, { "XMLDocument", DontDelete, (intptr_t)static_cast(jsDOMWindowXMLDocumentConstructor), (intptr_t)setJSDOMWindowXMLDocumentConstructor }, { "DOMParser", DontDelete, (intptr_t)static_cast(jsDOMWindowDOMParserConstructor), (intptr_t)setJSDOMWindowDOMParserConstructor }, { "XMLSerializer", DontDelete, (intptr_t)static_cast(jsDOMWindowXMLSerializerConstructor), (intptr_t)setJSDOMWindowXMLSerializerConstructor }, { "XMLHttpRequest", DontDelete, (intptr_t)static_cast(jsDOMWindowXMLHttpRequestConstructor), (intptr_t)setJSDOMWindowXMLHttpRequestConstructor }, { "XMLHttpRequestUpload", DontDelete, (intptr_t)static_cast(jsDOMWindowXMLHttpRequestUploadConstructor), (intptr_t)setJSDOMWindowXMLHttpRequestUploadConstructor }, { "XMLHttpRequestException", DontDelete, (intptr_t)static_cast(jsDOMWindowXMLHttpRequestExceptionConstructor), (intptr_t)setJSDOMWindowXMLHttpRequestExceptionConstructor }, #if ENABLE(XSLT) { "XSLTProcessor", DontDelete, (intptr_t)static_cast(jsDOMWindowXSLTProcessorConstructor), (intptr_t)setJSDOMWindowXSLTProcessorConstructor }, #endif { "MessagePort", DontDelete, (intptr_t)static_cast(jsDOMWindowMessagePortConstructor), (intptr_t)setJSDOMWindowMessagePortConstructor }, { "MessageChannel", DontDelete, (intptr_t)static_cast(jsDOMWindowMessageChannelConstructor), (intptr_t)setJSDOMWindowMessageChannelConstructor }, { "Worker", DontDelete, (intptr_t)static_cast(jsDOMWindowWorkerConstructor), (intptr_t)setJSDOMWindowWorkerConstructor }, { "SharedWorker", DontDelete, (intptr_t)static_cast(jsDOMWindowSharedWorkerConstructor), (intptr_t)setJSDOMWindowSharedWorkerConstructor }, { "WebSocket", DontDelete, (intptr_t)static_cast(jsDOMWindowWebSocketConstructor), (intptr_t)setJSDOMWindowWebSocketConstructor }, { "Plugin", DontDelete, (intptr_t)static_cast(jsDOMWindowPluginConstructor), (intptr_t)setJSDOMWindowPluginConstructor }, { "PluginArray", DontDelete, (intptr_t)static_cast(jsDOMWindowPluginArrayConstructor), (intptr_t)setJSDOMWindowPluginArrayConstructor }, { "MimeType", DontDelete, (intptr_t)static_cast(jsDOMWindowMimeTypeConstructor), (intptr_t)setJSDOMWindowMimeTypeConstructor }, { "MimeTypeArray", DontDelete, (intptr_t)static_cast(jsDOMWindowMimeTypeArrayConstructor), (intptr_t)setJSDOMWindowMimeTypeArrayConstructor }, { "ClientRect", DontDelete, (intptr_t)static_cast(jsDOMWindowClientRectConstructor), (intptr_t)setJSDOMWindowClientRectConstructor }, { "ClientRectList", DontDelete, (intptr_t)static_cast(jsDOMWindowClientRectListConstructor), (intptr_t)setJSDOMWindowClientRectListConstructor }, { "Storage", DontDelete, (intptr_t)static_cast(jsDOMWindowStorageConstructor), (intptr_t)setJSDOMWindowStorageConstructor }, { "StorageEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowStorageEventConstructor), (intptr_t)setJSDOMWindowStorageEventConstructor }, #if ENABLE(VIDEO) { "Audio", DontDelete, (intptr_t)static_cast(jsDOMWindowAudioConstructor), (intptr_t)setJSDOMWindowAudioConstructor }, #endif #if ENABLE(VIDEO) { "HTMLAudioElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLAudioElementConstructor), (intptr_t)setJSDOMWindowHTMLAudioElementConstructor }, #endif #if ENABLE(VIDEO) { "HTMLMediaElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLMediaElementConstructor), (intptr_t)setJSDOMWindowHTMLMediaElementConstructor }, #endif #if ENABLE(VIDEO) { "HTMLVideoElement", DontDelete, (intptr_t)static_cast(jsDOMWindowHTMLVideoElementConstructor), (intptr_t)setJSDOMWindowHTMLVideoElementConstructor }, #endif #if ENABLE(VIDEO) { "MediaError", DontDelete, (intptr_t)static_cast(jsDOMWindowMediaErrorConstructor), (intptr_t)setJSDOMWindowMediaErrorConstructor }, #endif { "XPathEvaluator", DontDelete, (intptr_t)static_cast(jsDOMWindowXPathEvaluatorConstructor), (intptr_t)setJSDOMWindowXPathEvaluatorConstructor }, { "XPathResult", DontDelete, (intptr_t)static_cast(jsDOMWindowXPathResultConstructor), (intptr_t)setJSDOMWindowXPathResultConstructor }, { "XPathException", DontDelete, (intptr_t)static_cast(jsDOMWindowXPathExceptionConstructor), (intptr_t)setJSDOMWindowXPathExceptionConstructor }, { "SVGAElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAElementConstructor), (intptr_t)setJSDOMWindowSVGAElementConstructor }, { "SVGAngle", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAngleConstructor), (intptr_t)setJSDOMWindowSVGAngleConstructor }, { "SVGAnimatedAngle", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedAngleConstructor), (intptr_t)setJSDOMWindowSVGAnimatedAngleConstructor }, { "SVGAnimatedBoolean", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedBooleanConstructor), (intptr_t)setJSDOMWindowSVGAnimatedBooleanConstructor }, { "SVGAnimatedEnumeration", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedEnumerationConstructor), (intptr_t)setJSDOMWindowSVGAnimatedEnumerationConstructor }, { "SVGAnimatedInteger", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedIntegerConstructor), (intptr_t)setJSDOMWindowSVGAnimatedIntegerConstructor }, { "SVGAnimatedLength", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedLengthConstructor), (intptr_t)setJSDOMWindowSVGAnimatedLengthConstructor }, { "SVGAnimatedLengthList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedLengthListConstructor), (intptr_t)setJSDOMWindowSVGAnimatedLengthListConstructor }, { "SVGAnimatedNumber", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedNumberConstructor), (intptr_t)setJSDOMWindowSVGAnimatedNumberConstructor }, { "SVGAnimatedNumberList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedNumberListConstructor), (intptr_t)setJSDOMWindowSVGAnimatedNumberListConstructor }, { "SVGAnimatedPreserveAspectRatio", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedPreserveAspectRatioConstructor), (intptr_t)setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructor }, { "SVGAnimatedRect", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedRectConstructor), (intptr_t)setJSDOMWindowSVGAnimatedRectConstructor }, { "SVGAnimatedString", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedStringConstructor), (intptr_t)setJSDOMWindowSVGAnimatedStringConstructor }, { "SVGAnimatedTransformList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGAnimatedTransformListConstructor), (intptr_t)setJSDOMWindowSVGAnimatedTransformListConstructor }, { "SVGCircleElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGCircleElementConstructor), (intptr_t)setJSDOMWindowSVGCircleElementConstructor }, { "SVGClipPathElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGClipPathElementConstructor), (intptr_t)setJSDOMWindowSVGClipPathElementConstructor }, { "SVGColor", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGColorConstructor), (intptr_t)setJSDOMWindowSVGColorConstructor }, { "SVGCursorElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGCursorElementConstructor), (intptr_t)setJSDOMWindowSVGCursorElementConstructor }, { "SVGDefsElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGDefsElementConstructor), (intptr_t)setJSDOMWindowSVGDefsElementConstructor }, { "SVGDescElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGDescElementConstructor), (intptr_t)setJSDOMWindowSVGDescElementConstructor }, { "SVGDocument", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGDocumentConstructor), (intptr_t)setJSDOMWindowSVGDocumentConstructor }, { "SVGElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGElementConstructor), (intptr_t)setJSDOMWindowSVGElementConstructor }, { "SVGElementInstance", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGElementInstanceConstructor), (intptr_t)setJSDOMWindowSVGElementInstanceConstructor }, { "SVGElementInstanceList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGElementInstanceListConstructor), (intptr_t)setJSDOMWindowSVGElementInstanceListConstructor }, { "SVGEllipseElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGEllipseElementConstructor), (intptr_t)setJSDOMWindowSVGEllipseElementConstructor }, { "SVGException", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGExceptionConstructor), (intptr_t)setJSDOMWindowSVGExceptionConstructor }, { "SVGGElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGGElementConstructor), (intptr_t)setJSDOMWindowSVGGElementConstructor }, { "SVGGradientElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGGradientElementConstructor), (intptr_t)setJSDOMWindowSVGGradientElementConstructor }, { "SVGImageElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGImageElementConstructor), (intptr_t)setJSDOMWindowSVGImageElementConstructor }, { "SVGLength", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGLengthConstructor), (intptr_t)setJSDOMWindowSVGLengthConstructor }, { "SVGLengthList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGLengthListConstructor), (intptr_t)setJSDOMWindowSVGLengthListConstructor }, { "SVGLinearGradientElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGLinearGradientElementConstructor), (intptr_t)setJSDOMWindowSVGLinearGradientElementConstructor }, { "SVGLineElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGLineElementConstructor), (intptr_t)setJSDOMWindowSVGLineElementConstructor }, { "SVGMarkerElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGMarkerElementConstructor), (intptr_t)setJSDOMWindowSVGMarkerElementConstructor }, { "SVGMaskElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGMaskElementConstructor), (intptr_t)setJSDOMWindowSVGMaskElementConstructor }, { "SVGMatrix", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGMatrixConstructor), (intptr_t)setJSDOMWindowSVGMatrixConstructor }, { "SVGMetadataElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGMetadataElementConstructor), (intptr_t)setJSDOMWindowSVGMetadataElementConstructor }, { "SVGNumber", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGNumberConstructor), (intptr_t)setJSDOMWindowSVGNumberConstructor }, { "SVGNumberList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGNumberListConstructor), (intptr_t)setJSDOMWindowSVGNumberListConstructor }, { "SVGPaint", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPaintConstructor), (intptr_t)setJSDOMWindowSVGPaintConstructor }, { "SVGPathElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathElementConstructor), (intptr_t)setJSDOMWindowSVGPathElementConstructor }, { "SVGPathSeg", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegConstructor), (intptr_t)setJSDOMWindowSVGPathSegConstructor }, { "SVGPathSegArcAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegArcAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegArcAbsConstructor }, { "SVGPathSegArcRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegArcRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegArcRelConstructor }, { "SVGPathSegClosePath", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegClosePathConstructor), (intptr_t)setJSDOMWindowSVGPathSegClosePathConstructor }, { "SVGPathSegCurvetoCubicAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoCubicAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructor }, { "SVGPathSegCurvetoCubicRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoCubicRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoCubicRelConstructor }, { "SVGPathSegCurvetoCubicSmoothAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor }, { "SVGPathSegCurvetoCubicSmoothRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor }, { "SVGPathSegCurvetoQuadraticAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor }, { "SVGPathSegCurvetoQuadraticRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructor }, { "SVGPathSegCurvetoQuadraticSmoothAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor }, { "SVGPathSegCurvetoQuadraticSmoothRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor }, { "SVGPathSegLinetoAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegLinetoAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegLinetoAbsConstructor }, { "SVGPathSegLinetoHorizontalAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructor }, { "SVGPathSegLinetoHorizontalRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegLinetoHorizontalRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructor }, { "SVGPathSegLinetoRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegLinetoRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegLinetoRelConstructor }, { "SVGPathSegLinetoVerticalAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegLinetoVerticalAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructor }, { "SVGPathSegLinetoVerticalRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegLinetoVerticalRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegLinetoVerticalRelConstructor }, { "SVGPathSegList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegListConstructor), (intptr_t)setJSDOMWindowSVGPathSegListConstructor }, { "SVGPathSegMovetoAbs", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegMovetoAbsConstructor), (intptr_t)setJSDOMWindowSVGPathSegMovetoAbsConstructor }, { "SVGPathSegMovetoRel", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPathSegMovetoRelConstructor), (intptr_t)setJSDOMWindowSVGPathSegMovetoRelConstructor }, { "SVGPatternElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPatternElementConstructor), (intptr_t)setJSDOMWindowSVGPatternElementConstructor }, { "SVGPoint", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPointConstructor), (intptr_t)setJSDOMWindowSVGPointConstructor }, { "SVGPointList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPointListConstructor), (intptr_t)setJSDOMWindowSVGPointListConstructor }, { "SVGPolygonElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPolygonElementConstructor), (intptr_t)setJSDOMWindowSVGPolygonElementConstructor }, { "SVGPolylineElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPolylineElementConstructor), (intptr_t)setJSDOMWindowSVGPolylineElementConstructor }, { "SVGPreserveAspectRatio", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGPreserveAspectRatioConstructor), (intptr_t)setJSDOMWindowSVGPreserveAspectRatioConstructor }, { "SVGRadialGradientElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGRadialGradientElementConstructor), (intptr_t)setJSDOMWindowSVGRadialGradientElementConstructor }, { "SVGRect", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGRectConstructor), (intptr_t)setJSDOMWindowSVGRectConstructor }, { "SVGRectElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGRectElementConstructor), (intptr_t)setJSDOMWindowSVGRectElementConstructor }, { "SVGRenderingIntent", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGRenderingIntentConstructor), (intptr_t)setJSDOMWindowSVGRenderingIntentConstructor }, { "SVGScriptElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGScriptElementConstructor), (intptr_t)setJSDOMWindowSVGScriptElementConstructor }, { "SVGStopElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGStopElementConstructor), (intptr_t)setJSDOMWindowSVGStopElementConstructor }, { "SVGStringList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGStringListConstructor), (intptr_t)setJSDOMWindowSVGStringListConstructor }, { "SVGStyleElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGStyleElementConstructor), (intptr_t)setJSDOMWindowSVGStyleElementConstructor }, { "SVGSVGElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGSVGElementConstructor), (intptr_t)setJSDOMWindowSVGSVGElementConstructor }, { "SVGSwitchElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGSwitchElementConstructor), (intptr_t)setJSDOMWindowSVGSwitchElementConstructor }, { "SVGSymbolElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGSymbolElementConstructor), (intptr_t)setJSDOMWindowSVGSymbolElementConstructor }, { "SVGTextContentElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTextContentElementConstructor), (intptr_t)setJSDOMWindowSVGTextContentElementConstructor }, { "SVGTextElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTextElementConstructor), (intptr_t)setJSDOMWindowSVGTextElementConstructor }, { "SVGTextPathElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTextPathElementConstructor), (intptr_t)setJSDOMWindowSVGTextPathElementConstructor }, { "SVGTextPositioningElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTextPositioningElementConstructor), (intptr_t)setJSDOMWindowSVGTextPositioningElementConstructor }, { "SVGTitleElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTitleElementConstructor), (intptr_t)setJSDOMWindowSVGTitleElementConstructor }, { "SVGTransform", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTransformConstructor), (intptr_t)setJSDOMWindowSVGTransformConstructor }, { "SVGTransformList", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTransformListConstructor), (intptr_t)setJSDOMWindowSVGTransformListConstructor }, { "SVGTRefElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTRefElementConstructor), (intptr_t)setJSDOMWindowSVGTRefElementConstructor }, { "SVGTSpanElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGTSpanElementConstructor), (intptr_t)setJSDOMWindowSVGTSpanElementConstructor }, { "SVGUnitTypes", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGUnitTypesConstructor), (intptr_t)setJSDOMWindowSVGUnitTypesConstructor }, { "SVGUseElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGUseElementConstructor), (intptr_t)setJSDOMWindowSVGUseElementConstructor }, { "SVGViewElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGViewElementConstructor), (intptr_t)setJSDOMWindowSVGViewElementConstructor }, { "SVGZoomEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGZoomEventConstructor), (intptr_t)setJSDOMWindowSVGZoomEventConstructor }, { "SVGComponentTransferFunctionElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGComponentTransferFunctionElementConstructor), (intptr_t)setJSDOMWindowSVGComponentTransferFunctionElementConstructor }, { "SVGFEBlendElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEBlendElementConstructor), (intptr_t)setJSDOMWindowSVGFEBlendElementConstructor }, { "SVGFEColorMatrixElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEColorMatrixElementConstructor), (intptr_t)setJSDOMWindowSVGFEColorMatrixElementConstructor }, { "SVGFEComponentTransferElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEComponentTransferElementConstructor), (intptr_t)setJSDOMWindowSVGFEComponentTransferElementConstructor }, { "SVGFECompositeElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFECompositeElementConstructor), (intptr_t)setJSDOMWindowSVGFECompositeElementConstructor }, { "SVGFEDiffuseLightingElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEDiffuseLightingElementConstructor), (intptr_t)setJSDOMWindowSVGFEDiffuseLightingElementConstructor }, { "SVGFEDisplacementMapElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEDisplacementMapElementConstructor), (intptr_t)setJSDOMWindowSVGFEDisplacementMapElementConstructor }, { "SVGFEDistantLightElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEDistantLightElementConstructor), (intptr_t)setJSDOMWindowSVGFEDistantLightElementConstructor }, { "SVGFEFloodElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEFloodElementConstructor), (intptr_t)setJSDOMWindowSVGFEFloodElementConstructor }, { "SVGFEFuncAElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEFuncAElementConstructor), (intptr_t)setJSDOMWindowSVGFEFuncAElementConstructor }, { "SVGFEFuncBElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEFuncBElementConstructor), (intptr_t)setJSDOMWindowSVGFEFuncBElementConstructor }, { "SVGFEFuncGElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEFuncGElementConstructor), (intptr_t)setJSDOMWindowSVGFEFuncGElementConstructor }, { "SVGFEFuncRElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEFuncRElementConstructor), (intptr_t)setJSDOMWindowSVGFEFuncRElementConstructor }, { "SVGFEGaussianBlurElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEGaussianBlurElementConstructor), (intptr_t)setJSDOMWindowSVGFEGaussianBlurElementConstructor }, { "SVGFEImageElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEImageElementConstructor), (intptr_t)setJSDOMWindowSVGFEImageElementConstructor }, { "SVGFEMergeElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEMergeElementConstructor), (intptr_t)setJSDOMWindowSVGFEMergeElementConstructor }, { "SVGFEMergeNodeElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEMergeNodeElementConstructor), (intptr_t)setJSDOMWindowSVGFEMergeNodeElementConstructor }, { "SVGFEMorphologyElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEMorphologyElementConstructor), (intptr_t)setJSDOMWindowSVGFEMorphologyElementConstructor }, { "SVGFEOffsetElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEOffsetElementConstructor), (intptr_t)setJSDOMWindowSVGFEOffsetElementConstructor }, { "SVGFEPointLightElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFEPointLightElementConstructor), (intptr_t)setJSDOMWindowSVGFEPointLightElementConstructor }, { "SVGFESpecularLightingElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFESpecularLightingElementConstructor), (intptr_t)setJSDOMWindowSVGFESpecularLightingElementConstructor }, { "SVGFESpotLightElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFESpotLightElementConstructor), (intptr_t)setJSDOMWindowSVGFESpotLightElementConstructor }, { "SVGFETileElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFETileElementConstructor), (intptr_t)setJSDOMWindowSVGFETileElementConstructor }, { "SVGFETurbulenceElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFETurbulenceElementConstructor), (intptr_t)setJSDOMWindowSVGFETurbulenceElementConstructor }, { "SVGFilterElement", DontDelete, (intptr_t)static_cast(jsDOMWindowSVGFilterElementConstructor), (intptr_t)setJSDOMWindowSVGFilterElementConstructor }, #if ENABLE(TOUCH_EVENTS) { "TouchEvent", DontDelete, (intptr_t)static_cast(jsDOMWindowTouchEventConstructor), (intptr_t)setJSDOMWindowTouchEventConstructor }, #endif { "FormData", DontDelete, (intptr_t)static_cast(jsDOMWindowFormDataConstructor), (intptr_t)setJSDOMWindowFormDataConstructor }, { 0, 0, 0, 0 } }; static JSC_CONST_HASHTABLE HashTable JSDOMWindowTable = #if ENABLE(PERFECT_HASH_SIZE) { 2097151, JSDOMWindowTableValues, 0 }; #else { 1110, 1023, JSDOMWindowTableValues, 0 }; #endif /* Hash table for prototype */ static const HashTableValue JSDOMWindowPrototypeTableValues[37] = { { "getSelection", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionGetSelection), (intptr_t)0 }, { "focus", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionFocus), (intptr_t)0 }, { "blur", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionBlur), (intptr_t)0 }, { "close", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionClose), (intptr_t)0 }, { "print", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionPrint), (intptr_t)0 }, { "stop", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionStop), (intptr_t)0 }, { "open", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionOpen), (intptr_t)3 }, { "showModalDialog", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionShowModalDialog), (intptr_t)3 }, { "alert", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionAlert), (intptr_t)1 }, { "confirm", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionConfirm), (intptr_t)1 }, { "prompt", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionPrompt), (intptr_t)2 }, { "find", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionFind), (intptr_t)7 }, { "scrollBy", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionScrollBy), (intptr_t)2 }, { "scrollTo", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionScrollTo), (intptr_t)2 }, { "scroll", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionScroll), (intptr_t)2 }, { "moveBy", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionMoveBy), (intptr_t)2 }, { "moveTo", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionMoveTo), (intptr_t)2 }, { "resizeBy", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionResizeBy), (intptr_t)2 }, { "resizeTo", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionResizeTo), (intptr_t)2 }, { "getComputedStyle", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionGetComputedStyle), (intptr_t)2 }, { "getMatchedCSSRules", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionGetMatchedCSSRules), (intptr_t)3 }, { "webkitConvertPointFromPageToNode", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionWebkitConvertPointFromPageToNode), (intptr_t)2 }, { "webkitConvertPointFromNodeToPage", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionWebkitConvertPointFromNodeToPage), (intptr_t)2 }, { "openDatabase", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionOpenDatabase), (intptr_t)5 }, { "postMessage", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionPostMessage), (intptr_t)3 }, { "setTimeout", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionSetTimeout), (intptr_t)2 }, { "clearTimeout", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionClearTimeout), (intptr_t)1 }, { "setInterval", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionSetInterval), (intptr_t)2 }, { "clearInterval", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionClearInterval), (intptr_t)1 }, { "atob", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionAtob), (intptr_t)1 }, { "btoa", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionBtoa), (intptr_t)1 }, { "addEventListener", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionAddEventListener), (intptr_t)3 }, { "removeEventListener", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionRemoveEventListener), (intptr_t)3 }, { "dispatchEvent", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionDispatchEvent), (intptr_t)1 }, { "captureEvents", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionCaptureEvents), (intptr_t)0 }, { "releaseEvents", DontDelete|Function, (intptr_t)static_cast(jsDOMWindowPrototypeFunctionReleaseEvents), (intptr_t)0 }, { 0, 0, 0, 0 } }; static JSC_CONST_HASHTABLE HashTable JSDOMWindowPrototypeTable = #if ENABLE(PERFECT_HASH_SIZE) { 1023, JSDOMWindowPrototypeTableValues, 0 }; #else { 134, 127, JSDOMWindowPrototypeTableValues, 0 }; #endif const ClassInfo JSDOMWindowPrototype::s_info = { "DOMWindowPrototype", 0, &JSDOMWindowPrototypeTable, 0 }; void* JSDOMWindowPrototype::operator new(size_t size) { return JSDOMWindow::commonJSGlobalData()->heap.allocate(size); } bool JSDOMWindowPrototype::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) { return getStaticFunctionSlot(exec, &JSDOMWindowPrototypeTable, this, propertyName, slot); } bool JSDOMWindowPrototype::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) { return getStaticFunctionDescriptor(exec, &JSDOMWindowPrototypeTable, this, propertyName, descriptor); } const ClassInfo JSDOMWindow::s_info = { "DOMWindow", &JSDOMWindowBase::s_info, &JSDOMWindowTable, 0 }; JSDOMWindow::JSDOMWindow(NonNullPassRefPtr structure, PassRefPtr impl, JSDOMWindowShell* shell) : JSDOMWindowBase(structure, impl, shell) { } JSDOMWindow::~JSDOMWindow() { impl()->invalidateJSEventListeners(this); } JSValue jsDOMWindowScreen(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->screen())); return result; } JSValue jsDOMWindowHistory(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); return castedThis->history(exec); } JSValue jsDOMWindowLocationbar(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->locationbar())); return result; } JSValue jsDOMWindowMenubar(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->menubar())); return result; } JSValue jsDOMWindowPersonalbar(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->personalbar())); return result; } JSValue jsDOMWindowScrollbars(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->scrollbars())); return result; } JSValue jsDOMWindowStatusbar(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->statusbar())); return result; } JSValue jsDOMWindowToolbar(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->toolbar())); return result; } JSValue jsDOMWindowNavigator(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->navigator())); return result; } JSValue jsDOMWindowClientInformation(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->clientInformation())); return result; } JSValue jsDOMWindowLocation(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); return castedThis->location(exec); } JSValue jsDOMWindowEvent(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->event(exec); } JSValue jsDOMWindowCrypto(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->crypto(exec); } JSValue jsDOMWindowFrameElement(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThis->impl()); return checkNodeSecurity(exec, imp->frameElement()) ? toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->frameElement())) : jsUndefined(); } JSValue jsDOMWindowOffscreenBuffering(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsBoolean(imp->offscreenBuffering()); return result; } JSValue jsDOMWindowOuterHeight(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->outerHeight()); return result; } JSValue jsDOMWindowOuterWidth(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->outerWidth()); return result; } JSValue jsDOMWindowInnerHeight(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->innerHeight()); return result; } JSValue jsDOMWindowInnerWidth(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->innerWidth()); return result; } JSValue jsDOMWindowScreenX(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->screenX()); return result; } JSValue jsDOMWindowScreenY(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->screenY()); return result; } JSValue jsDOMWindowScreenLeft(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->screenLeft()); return result; } JSValue jsDOMWindowScreenTop(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->screenTop()); return result; } JSValue jsDOMWindowScrollX(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->scrollX()); return result; } JSValue jsDOMWindowScrollY(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->scrollY()); return result; } JSValue jsDOMWindowPageXOffset(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->pageXOffset()); return result; } JSValue jsDOMWindowPageYOffset(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->pageYOffset()); return result; } JSValue jsDOMWindowClosed(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsBoolean(imp->closed()); return result; } JSValue jsDOMWindowLength(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->length()); return result; } JSValue jsDOMWindowName(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsString(exec, imp->name()); return result; } JSValue jsDOMWindowStatus(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsString(exec, imp->status()); return result; } JSValue jsDOMWindowDefaultStatus(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsString(exec, imp->defaultStatus()); return result; } JSValue jsDOMWindowDefaultstatus(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsString(exec, imp->defaultstatus()); return result; } JSValue jsDOMWindowSelf(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->self())); return result; } JSValue jsDOMWindowWindow(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->window())); return result; } JSValue jsDOMWindowFrames(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->frames())); return result; } JSValue jsDOMWindowOpener(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->opener())); return result; } JSValue jsDOMWindowParent(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->parent())); return result; } JSValue jsDOMWindowTop(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->top())); return result; } JSValue jsDOMWindowDocument(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->document())); return result; } JSValue jsDOMWindowStyleMedia(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->styleMedia())); return result; } JSValue jsDOMWindowDevicePixelRatio(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = jsNumber(exec, imp->devicePixelRatio()); return result; } JSValue jsDOMWindowApplicationCache(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->applicationCache())); return result; } JSValue jsDOMWindowSessionStorage(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->sessionStorage())); return result; } JSValue jsDOMWindowLocalStorage(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); ExceptionCode ec = 0; DOMWindow* imp = static_cast(castedThis->impl()); JSC::JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->localStorage(ec))); setDOMException(exec, ec); return result; } JSValue jsDOMWindowConsole(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->console())); return result; } JSValue jsDOMWindowOnabort(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onabort()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnbeforeunload(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onbeforeunload()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnblur(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onblur()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOncanplay(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->oncanplay()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOncanplaythrough(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->oncanplaythrough()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnchange(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onchange()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnclick(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onclick()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOncontextmenu(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->oncontextmenu()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndblclick(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondblclick()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndrag(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondrag()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndragend(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondragend()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndragenter(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondragenter()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndragleave(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondragleave()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndragover(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondragover()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndragstart(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondragstart()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndrop(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondrop()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOndurationchange(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ondurationchange()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnemptied(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onemptied()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnended(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onended()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnerror(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onerror()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnfocus(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onfocus()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnhashchange(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onhashchange()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOninput(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->oninput()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOninvalid(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->oninvalid()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnkeydown(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onkeydown()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnkeypress(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onkeypress()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnkeyup(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onkeyup()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnload(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onload()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnloadeddata(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onloadeddata()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnloadedmetadata(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onloadedmetadata()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnloadstart(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onloadstart()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmessage(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmessage()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmousedown(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmousedown()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmousemove(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmousemove()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmouseout(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmouseout()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmouseover(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmouseover()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmouseup(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmouseup()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnmousewheel(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onmousewheel()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnoffline(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onoffline()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnonline(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ononline()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnpagehide(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onpagehide()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnpageshow(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onpageshow()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnpause(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onpause()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnplay(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onplay()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnplaying(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onplaying()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnpopstate(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onpopstate()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnprogress(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onprogress()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnratechange(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onratechange()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnresize(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onresize()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnscroll(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onscroll()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnseeked(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onseeked()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnseeking(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onseeking()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnselect(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onselect()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnstalled(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onstalled()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnstorage(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onstorage()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnsubmit(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onsubmit()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnsuspend(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onsuspend()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOntimeupdate(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ontimeupdate()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnunload(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onunload()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnvolumechange(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onvolumechange()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnwaiting(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onwaiting()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnreset(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onreset()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnsearch(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onsearch()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnwebkitanimationend(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onwebkitanimationend()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnwebkitanimationiteration(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onwebkitanimationiteration()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnwebkitanimationstart(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onwebkitanimationstart()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } JSValue jsDOMWindowOnwebkittransitionend(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->onwebkittransitionend()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } #if ENABLE(TOUCH_EVENTS) JSValue jsDOMWindowOntouchstart(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ontouchstart()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } #endif #if ENABLE(TOUCH_EVENTS) JSValue jsDOMWindowOntouchmove(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ontouchmove()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } #endif #if ENABLE(TOUCH_EVENTS) JSValue jsDOMWindowOntouchend(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ontouchend()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } #endif #if ENABLE(TOUCH_EVENTS) JSValue jsDOMWindowOntouchcancel(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); UNUSED_PARAM(exec); DOMWindow* imp = static_cast(castedThis->impl()); if (EventListener* listener = imp->ontouchcancel()) { if (const JSEventListener* jsListener = JSEventListener::cast(listener)) { if (JSObject* jsFunction = jsListener->jsFunction(imp->scriptExecutionContext())) return jsFunction; } } return jsNull(); } #endif JSValue jsDOMWindowStyleSheetConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSStyleSheet::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSStyleSheetConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSStyleSheet::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSValueConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSValue::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSPrimitiveValueConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSPrimitiveValue::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSValueListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSValueList::getConstructor(exec, castedThis); } JSValue jsDOMWindowWebKitCSSTransformValueConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWebKitCSSTransformValue::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSCharsetRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSCharsetRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSFontFaceRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSFontFaceRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSImportRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSImportRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSMediaRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSMediaRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSPageRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSPageRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSStyleRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSStyleRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSVariablesRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSVariablesRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSVariablesDeclarationConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSVariablesDeclaration::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSStyleDeclarationConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSStyleDeclaration::getConstructor(exec, castedThis); } JSValue jsDOMWindowMediaListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMediaList::getConstructor(exec, castedThis); } JSValue jsDOMWindowCounterConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCounter::getConstructor(exec, castedThis); } JSValue jsDOMWindowCSSRuleListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCSSRuleList::getConstructor(exec, castedThis); } JSValue jsDOMWindowRectConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSRect::getConstructor(exec, castedThis); } JSValue jsDOMWindowRGBColorConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSRGBColor::getConstructor(exec, castedThis); } JSValue jsDOMWindowStyleSheetListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSStyleSheetList::getConstructor(exec, castedThis); } JSValue jsDOMWindowDOMExceptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDOMCoreException::getConstructor(exec, castedThis); } JSValue jsDOMWindowDOMImplementationConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDOMImplementation::getConstructor(exec, castedThis); } JSValue jsDOMWindowDocumentFragmentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDocumentFragment::getConstructor(exec, castedThis); } JSValue jsDOMWindowDocumentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDocument::getConstructor(exec, castedThis); } JSValue jsDOMWindowNodeConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSNode::getConstructor(exec, castedThis); } JSValue jsDOMWindowNodeListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSNodeList::getConstructor(exec, castedThis); } JSValue jsDOMWindowNamedNodeMapConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSNamedNodeMap::getConstructor(exec, castedThis); } JSValue jsDOMWindowCharacterDataConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCharacterData::getConstructor(exec, castedThis); } JSValue jsDOMWindowAttrConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSAttr::getConstructor(exec, castedThis); } JSValue jsDOMWindowElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowTextConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSText::getConstructor(exec, castedThis); } JSValue jsDOMWindowCommentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSComment::getConstructor(exec, castedThis); } JSValue jsDOMWindowCDATASectionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCDATASection::getConstructor(exec, castedThis); } JSValue jsDOMWindowDocumentTypeConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDocumentType::getConstructor(exec, castedThis); } JSValue jsDOMWindowNotationConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSNotation::getConstructor(exec, castedThis); } JSValue jsDOMWindowEntityConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSEntity::getConstructor(exec, castedThis); } JSValue jsDOMWindowEntityReferenceConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSEntityReference::getConstructor(exec, castedThis); } JSValue jsDOMWindowProcessingInstructionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSProcessingInstruction::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLDocumentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDocument::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLAnchorElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLAnchorElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLAppletElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLAppletElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLAreaElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLAreaElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLBRElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLBRElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLBaseElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLBaseElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLBaseFontElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLBaseFontElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLBlockquoteElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLBlockquoteElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLBodyElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLBodyElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLButtonElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLButtonElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLCanvasElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLCanvasElement::getConstructor(exec, castedThis); } #if ENABLE(DATAGRID) JSValue jsDOMWindowHTMLDataGridElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDataGridElement::getConstructor(exec, castedThis); } #endif #if ENABLE(DATAGRID) JSValue jsDOMWindowHTMLDataGridCellElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDataGridCellElement::getConstructor(exec, castedThis); } #endif #if ENABLE(DATAGRID) JSValue jsDOMWindowHTMLDataGridColElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDataGridColElement::getConstructor(exec, castedThis); } #endif JSValue jsDOMWindowHTMLDListElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDListElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLDirectoryElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDirectoryElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLDivElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLDivElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLEmbedElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLEmbedElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLFieldSetElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLFieldSetElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLFontElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLFontElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLFormElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLFormElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLFrameElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLFrameElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLFrameSetElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLFrameSetElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLHRElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLHRElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLHeadElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLHeadElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLHeadingElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLHeadingElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLHtmlElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLHtmlElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLIFrameElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLIFrameElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLImageElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLImageElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLInputElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLInputElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLIsIndexElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLIsIndexElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLLIElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLLIElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLLabelElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLLabelElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLLegendElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLLegendElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLLinkElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLLinkElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLMapElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLMapElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLMarqueeElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLMarqueeElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLMenuElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLMenuElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLMetaElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLMetaElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLModElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLModElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLOListElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLOListElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLObjectElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLObjectElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLOptGroupElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLOptGroupElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLOptionElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLOptionElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLParagraphElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLParagraphElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLParamElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLParamElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLPreElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLPreElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLQuoteElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLQuoteElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLScriptElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLScriptElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLSelectElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLSelectElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLStyleElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLStyleElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTableCaptionElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTableCaptionElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTableCellElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTableCellElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTableColElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTableColElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTableElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTableElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTableRowElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTableRowElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTableSectionElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTableSectionElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTextAreaElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTextAreaElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLTitleElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLTitleElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLUListElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLUListElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLCollectionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLCollection::getConstructor(exec, castedThis); } JSValue jsDOMWindowHTMLAllCollectionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLAllCollection::getConstructor(exec, castedThis); } JSValue jsDOMWindowImageConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->image(exec); } JSValue jsDOMWindowOptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->option(exec); } JSValue jsDOMWindowCanvasRenderingContext2DConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSCanvasRenderingContext2D::getConstructor(exec, castedThis); } JSValue jsDOMWindowImageDataConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSImageData::getConstructor(exec, castedThis); } #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLRenderingContextConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWebGLRenderingContext::getConstructor(exec, castedThis); } #endif JSValue jsDOMWindowTextMetricsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSTextMetrics::getConstructor(exec, castedThis); } #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLArrayBufferConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLArrayBuffer(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLByteArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLByteArray(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLUnsignedByteArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLUnsignedByteArray(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLShortArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLShortArray(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLUnsignedShortArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLUnsignedShortArray(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLIntArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLIntArray(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLUnsignedIntArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLUnsignedIntArray(exec); } #endif #if ENABLE(3D_CANVAS) JSValue jsDOMWindowWebGLFloatArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webGLFloatArray(exec); } #endif JSValue jsDOMWindowEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowBeforeLoadEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSBeforeLoadEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowKeyboardEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSKeyboardEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowMouseEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMouseEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowMutationEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMutationEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowOverflowEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSOverflowEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowPageTransitionEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSPageTransitionEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowProgressEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSProgressEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowTextEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSTextEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowUIEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSUIEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowWebKitAnimationEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWebKitAnimationEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowWebKitTransitionEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWebKitTransitionEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowWheelEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWheelEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowMessageEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMessageEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowEventExceptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSEventException::getConstructor(exec, castedThis); } JSValue jsDOMWindowWebKitCSSKeyframeRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWebKitCSSKeyframeRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowWebKitCSSKeyframesRuleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSWebKitCSSKeyframesRule::getConstructor(exec, castedThis); } JSValue jsDOMWindowWebKitCSSMatrixConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webKitCSSMatrix(exec); } JSValue jsDOMWindowWebKitPointConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webKitPoint(exec); } JSValue jsDOMWindowClipboardConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSClipboard::getConstructor(exec, castedThis); } JSValue jsDOMWindowFileConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSFile::getConstructor(exec, castedThis); } JSValue jsDOMWindowFileListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSFileList::getConstructor(exec, castedThis); } JSValue jsDOMWindowBlobConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSBlob::getConstructor(exec, castedThis); } JSValue jsDOMWindowNodeFilterConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSNodeFilter::getConstructor(exec, castedThis); } JSValue jsDOMWindowRangeConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSRange::getConstructor(exec, castedThis); } JSValue jsDOMWindowRangeExceptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSRangeException::getConstructor(exec, castedThis); } JSValue jsDOMWindowEventSourceConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->eventSource(exec); } JSValue jsDOMWindowXMLDocumentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDocument::getConstructor(exec, castedThis); } JSValue jsDOMWindowDOMParserConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDOMParser::getConstructor(exec, castedThis); } JSValue jsDOMWindowXMLSerializerConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSXMLSerializer::getConstructor(exec, castedThis); } JSValue jsDOMWindowXMLHttpRequestConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->xmlHttpRequest(exec); } JSValue jsDOMWindowXMLHttpRequestUploadConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSXMLHttpRequestUpload::getConstructor(exec, castedThis); } JSValue jsDOMWindowXMLHttpRequestExceptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSXMLHttpRequestException::getConstructor(exec, castedThis); } #if ENABLE(XSLT) JSValue jsDOMWindowXSLTProcessorConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->xsltProcessor(exec); } #endif JSValue jsDOMWindowMessagePortConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMessagePort::getConstructor(exec, castedThis); } JSValue jsDOMWindowMessageChannelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->messageChannel(exec); } JSValue jsDOMWindowWorkerConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->worker(exec); } JSValue jsDOMWindowSharedWorkerConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->sharedWorker(exec); } JSValue jsDOMWindowWebSocketConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->webSocket(exec); } JSValue jsDOMWindowPluginConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSPlugin::getConstructor(exec, castedThis); } JSValue jsDOMWindowPluginArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSPluginArray::getConstructor(exec, castedThis); } JSValue jsDOMWindowMimeTypeConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMimeType::getConstructor(exec, castedThis); } JSValue jsDOMWindowMimeTypeArrayConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMimeTypeArray::getConstructor(exec, castedThis); } JSValue jsDOMWindowClientRectConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSClientRect::getConstructor(exec, castedThis); } JSValue jsDOMWindowClientRectListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSClientRectList::getConstructor(exec, castedThis); } JSValue jsDOMWindowStorageConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSStorage::getConstructor(exec, castedThis); } JSValue jsDOMWindowStorageEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSStorageEvent::getConstructor(exec, castedThis); } #if ENABLE(VIDEO) JSValue jsDOMWindowAudioConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return castedThis->audio(exec); } #endif #if ENABLE(VIDEO) JSValue jsDOMWindowHTMLAudioElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLAudioElement::getConstructor(exec, castedThis); } #endif #if ENABLE(VIDEO) JSValue jsDOMWindowHTMLMediaElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLMediaElement::getConstructor(exec, castedThis); } #endif #if ENABLE(VIDEO) JSValue jsDOMWindowHTMLVideoElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSHTMLVideoElement::getConstructor(exec, castedThis); } #endif #if ENABLE(VIDEO) JSValue jsDOMWindowMediaErrorConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSMediaError::getConstructor(exec, castedThis); } #endif JSValue jsDOMWindowXPathEvaluatorConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSXPathEvaluator::getConstructor(exec, castedThis); } JSValue jsDOMWindowXPathResultConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSXPathResult::getConstructor(exec, castedThis); } JSValue jsDOMWindowXPathExceptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSXPathException::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAngleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAngle::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedAngleConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedAngle::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedBooleanConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedBoolean::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedEnumerationConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedEnumeration::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedIntegerConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedInteger::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedLengthConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedLength::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedLengthListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedLengthList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedNumberConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedNumber::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedNumberListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedNumberList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedPreserveAspectRatioConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedPreserveAspectRatio::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedRectConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedRect::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedStringConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedString::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGAnimatedTransformListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGAnimatedTransformList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGCircleElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGCircleElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGClipPathElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGClipPathElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGColorConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGColor::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGCursorElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGCursorElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGDefsElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGDefsElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGDescElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGDescElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGDocumentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGDocument::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGElementInstanceConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGElementInstance::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGElementInstanceListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGElementInstanceList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGEllipseElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGEllipseElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGExceptionConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGException::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGGElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGGElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGGradientElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGGradientElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGImageElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGImageElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGLengthConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGLength::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGLengthListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGLengthList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGLinearGradientElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGLinearGradientElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGLineElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGLineElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGMarkerElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGMarkerElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGMaskElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGMaskElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGMatrixConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGMatrix::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGMetadataElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGMetadataElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGNumberConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGNumber::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGNumberListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGNumberList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPaintConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPaint::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSeg::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegArcAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegArcAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegArcRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegArcRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegClosePathConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegClosePath::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoCubicAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoCubicAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoCubicRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoCubicRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoCubicSmoothAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoCubicSmoothRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoQuadraticAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoQuadraticRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoQuadraticSmoothAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegCurvetoQuadraticSmoothRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegLinetoAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegLinetoAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegLinetoHorizontalAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegLinetoHorizontalRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegLinetoHorizontalRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegLinetoRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegLinetoRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegLinetoVerticalAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegLinetoVerticalAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegLinetoVerticalRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegLinetoVerticalRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegMovetoAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegMovetoAbs::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPathSegMovetoRelConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPathSegMovetoRel::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPatternElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPatternElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPointConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPoint::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPointListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPointList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPolygonElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPolygonElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPolylineElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPolylineElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGPreserveAspectRatioConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGPreserveAspectRatio::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGRadialGradientElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGRadialGradientElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGRectConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGRect::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGRectElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGRectElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGRenderingIntentConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGRenderingIntent::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGScriptElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGScriptElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGStopElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGStopElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGStringListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGStringList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGStyleElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGStyleElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGSVGElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGSVGElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGSwitchElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGSwitchElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGSymbolElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGSymbolElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTextContentElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTextContentElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTextElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTextElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTextPathElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTextPathElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTextPositioningElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTextPositioningElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTitleElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTitleElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTransformConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTransform::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTransformListConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTransformList::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTRefElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTRefElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGTSpanElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGTSpanElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGUnitTypesConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGUnitTypes::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGUseElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGUseElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGViewElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGViewElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGZoomEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGZoomEvent::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGComponentTransferFunctionElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGComponentTransferFunctionElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEBlendElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEBlendElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEColorMatrixElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEColorMatrixElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEComponentTransferElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEComponentTransferElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFECompositeElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFECompositeElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEDiffuseLightingElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEDiffuseLightingElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEDisplacementMapElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEDisplacementMapElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEDistantLightElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEDistantLightElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEFloodElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEFloodElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEFuncAElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEFuncAElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEFuncBElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEFuncBElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEFuncGElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEFuncGElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEFuncRElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEFuncRElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEGaussianBlurElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEGaussianBlurElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEImageElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEImageElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEMergeElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEMergeElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEMergeNodeElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEMergeNodeElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEMorphologyElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEMorphologyElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEOffsetElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEOffsetElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFEPointLightElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFEPointLightElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFESpecularLightingElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFESpecularLightingElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFESpotLightElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFESpotLightElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFETileElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFETileElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFETurbulenceElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFETurbulenceElement::getConstructor(exec, castedThis); } JSValue jsDOMWindowSVGFilterElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSSVGFilterElement::getConstructor(exec, castedThis); } #if ENABLE(TOUCH_EVENTS) JSValue jsDOMWindowTouchEventConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSTouchEvent::getConstructor(exec, castedThis); } #endif JSValue jsDOMWindowFormDataConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSDOMWindow* castedThis = static_cast(asObject(slotBase)); if (!castedThis->allowsAccessFrom(exec)) return jsUndefined(); return JSDOMFormData::getConstructor(exec, castedThis); } void setJSDOMWindowLocationbar(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "locationbar"), value); } void setJSDOMWindowMenubar(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "menubar"), value); } void setJSDOMWindowPersonalbar(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "personalbar"), value); } void setJSDOMWindowScrollbars(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "scrollbars"), value); } void setJSDOMWindowStatusbar(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "statusbar"), value); } void setJSDOMWindowToolbar(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "toolbar"), value); } void setJSDOMWindowNavigator(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "navigator"), value); } void setJSDOMWindowClientInformation(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "clientInformation"), value); } void setJSDOMWindowLocation(ExecState* exec, JSObject* thisObject, JSValue value) { static_cast(thisObject)->setLocation(exec, value); } void setJSDOMWindowEvent(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "event"), value); } void setJSDOMWindowOffscreenBuffering(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "offscreenBuffering"), value); } void setJSDOMWindowOuterHeight(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "outerHeight"), value); } void setJSDOMWindowOuterWidth(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "outerWidth"), value); } void setJSDOMWindowInnerHeight(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "innerHeight"), value); } void setJSDOMWindowInnerWidth(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "innerWidth"), value); } void setJSDOMWindowScreenX(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "screenX"), value); } void setJSDOMWindowScreenY(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "screenY"), value); } void setJSDOMWindowScreenLeft(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "screenLeft"), value); } void setJSDOMWindowScreenTop(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "screenTop"), value); } void setJSDOMWindowScrollX(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "scrollX"), value); } void setJSDOMWindowScrollY(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "scrollY"), value); } void setJSDOMWindowLength(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "length"), value); } void setJSDOMWindowName(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; JSDOMWindow* castedThisObj = static_cast(thisObject); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->setName(value.toString(exec)); } void setJSDOMWindowStatus(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; JSDOMWindow* castedThisObj = static_cast(thisObject); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->setStatus(value.toString(exec)); } void setJSDOMWindowDefaultStatus(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; JSDOMWindow* castedThisObj = static_cast(thisObject); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->setDefaultStatus(value.toString(exec)); } void setJSDOMWindowDefaultstatus(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; JSDOMWindow* castedThisObj = static_cast(thisObject); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->setDefaultstatus(value.toString(exec)); } void setJSDOMWindowSelf(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "self"), value); } void setJSDOMWindowFrames(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "frames"), value); } void setJSDOMWindowOpener(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "opener"), value); } void setJSDOMWindowParent(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "parent"), value); } void setJSDOMWindowTop(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "top"), value); } void setJSDOMWindowDevicePixelRatio(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "devicePixelRatio"), value); } void setJSDOMWindowConsole(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in object static_cast(thisObject)->putDirect(Identifier(exec, "console"), value); } void setJSDOMWindowOnabort(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnabort(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnbeforeunload(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnbeforeunload(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnblur(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnblur(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOncanplay(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOncanplay(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOncanplaythrough(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOncanplaythrough(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnchange(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnchange(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnclick(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnclick(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOncontextmenu(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOncontextmenu(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndblclick(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndblclick(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndrag(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndrag(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndragend(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndragend(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndragenter(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndragenter(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndragleave(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndragleave(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndragover(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndragover(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndragstart(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndragstart(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndrop(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndrop(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOndurationchange(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOndurationchange(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnemptied(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnemptied(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnended(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnended(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnerror(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnerror(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnfocus(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnfocus(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnhashchange(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnhashchange(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOninput(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOninput(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOninvalid(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOninvalid(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnkeydown(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnkeydown(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnkeypress(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnkeypress(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnkeyup(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnkeyup(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnload(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnload(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnloadeddata(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnloadeddata(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnloadedmetadata(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnloadedmetadata(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnloadstart(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnloadstart(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmessage(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmessage(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmousedown(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmousedown(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmousemove(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmousemove(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmouseout(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmouseout(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmouseover(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmouseover(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmouseup(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmouseup(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnmousewheel(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnmousewheel(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnoffline(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnoffline(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnonline(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnonline(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnpagehide(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnpagehide(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnpageshow(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnpageshow(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnpause(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnpause(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnplay(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnplay(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnplaying(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnplaying(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnpopstate(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnpopstate(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnprogress(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnprogress(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnratechange(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnratechange(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnresize(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnresize(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnscroll(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnscroll(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnseeked(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnseeked(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnseeking(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnseeking(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnselect(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnselect(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnstalled(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnstalled(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnstorage(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnstorage(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnsubmit(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnsubmit(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnsuspend(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnsuspend(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOntimeupdate(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOntimeupdate(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnunload(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnunload(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnvolumechange(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnvolumechange(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnwaiting(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnwaiting(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnreset(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnreset(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnsearch(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnsearch(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnwebkitanimationend(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnwebkitanimationend(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnwebkitanimationiteration(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnwebkitanimationiteration(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnwebkitanimationstart(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnwebkitanimationstart(createJSAttributeEventListener(exec, value, thisObject)); } void setJSDOMWindowOnwebkittransitionend(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOnwebkittransitionend(createJSAttributeEventListener(exec, value, thisObject)); } #if ENABLE(TOUCH_EVENTS) void setJSDOMWindowOntouchstart(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOntouchstart(createJSAttributeEventListener(exec, value, thisObject)); } #endif #if ENABLE(TOUCH_EVENTS) void setJSDOMWindowOntouchmove(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOntouchmove(createJSAttributeEventListener(exec, value, thisObject)); } #endif #if ENABLE(TOUCH_EVENTS) void setJSDOMWindowOntouchend(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOntouchend(createJSAttributeEventListener(exec, value, thisObject)); } #endif #if ENABLE(TOUCH_EVENTS) void setJSDOMWindowOntouchcancel(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; UNUSED_PARAM(exec); DOMWindow* imp = static_cast(static_cast(thisObject)->impl()); imp->setOntouchcancel(createJSAttributeEventListener(exec, value, thisObject)); } #endif void setJSDOMWindowStyleSheetConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "StyleSheet"), value); } void setJSDOMWindowCSSStyleSheetConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSStyleSheet"), value); } void setJSDOMWindowCSSValueConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSValue"), value); } void setJSDOMWindowCSSPrimitiveValueConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSPrimitiveValue"), value); } void setJSDOMWindowCSSValueListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSValueList"), value); } void setJSDOMWindowWebKitCSSTransformValueConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitCSSTransformValue"), value); } void setJSDOMWindowCSSRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSRule"), value); } void setJSDOMWindowCSSCharsetRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSCharsetRule"), value); } void setJSDOMWindowCSSFontFaceRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSFontFaceRule"), value); } void setJSDOMWindowCSSImportRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSImportRule"), value); } void setJSDOMWindowCSSMediaRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSMediaRule"), value); } void setJSDOMWindowCSSPageRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSPageRule"), value); } void setJSDOMWindowCSSStyleRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSStyleRule"), value); } void setJSDOMWindowCSSVariablesRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSVariablesRule"), value); } void setJSDOMWindowCSSVariablesDeclarationConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSVariablesDeclaration"), value); } void setJSDOMWindowCSSStyleDeclarationConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSStyleDeclaration"), value); } void setJSDOMWindowMediaListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MediaList"), value); } void setJSDOMWindowCounterConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Counter"), value); } void setJSDOMWindowCSSRuleListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CSSRuleList"), value); } void setJSDOMWindowRectConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Rect"), value); } void setJSDOMWindowRGBColorConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "RGBColor"), value); } void setJSDOMWindowStyleSheetListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "StyleSheetList"), value); } void setJSDOMWindowDOMExceptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "DOMException"), value); } void setJSDOMWindowDOMImplementationConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "DOMImplementation"), value); } void setJSDOMWindowDocumentFragmentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "DocumentFragment"), value); } void setJSDOMWindowDocumentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Document"), value); } void setJSDOMWindowNodeConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Node"), value); } void setJSDOMWindowNodeListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "NodeList"), value); } void setJSDOMWindowNamedNodeMapConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "NamedNodeMap"), value); } void setJSDOMWindowCharacterDataConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CharacterData"), value); } void setJSDOMWindowAttrConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Attr"), value); } void setJSDOMWindowElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Element"), value); } void setJSDOMWindowTextConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Text"), value); } void setJSDOMWindowCommentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Comment"), value); } void setJSDOMWindowCDATASectionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CDATASection"), value); } void setJSDOMWindowDocumentTypeConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "DocumentType"), value); } void setJSDOMWindowNotationConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Notation"), value); } void setJSDOMWindowEntityConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Entity"), value); } void setJSDOMWindowEntityReferenceConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "EntityReference"), value); } void setJSDOMWindowProcessingInstructionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "ProcessingInstruction"), value); } void setJSDOMWindowHTMLDocumentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDocument"), value); } void setJSDOMWindowHTMLElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLElement"), value); } void setJSDOMWindowHTMLAnchorElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLAnchorElement"), value); } void setJSDOMWindowHTMLAppletElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLAppletElement"), value); } void setJSDOMWindowHTMLAreaElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLAreaElement"), value); } void setJSDOMWindowHTMLBRElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLBRElement"), value); } void setJSDOMWindowHTMLBaseElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLBaseElement"), value); } void setJSDOMWindowHTMLBaseFontElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLBaseFontElement"), value); } void setJSDOMWindowHTMLBlockquoteElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLBlockquoteElement"), value); } void setJSDOMWindowHTMLBodyElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLBodyElement"), value); } void setJSDOMWindowHTMLButtonElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLButtonElement"), value); } void setJSDOMWindowHTMLCanvasElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLCanvasElement"), value); } #if ENABLE(DATAGRID) void setJSDOMWindowHTMLDataGridElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDataGridElement"), value); } #endif #if ENABLE(DATAGRID) void setJSDOMWindowHTMLDataGridCellElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDataGridCellElement"), value); } #endif #if ENABLE(DATAGRID) void setJSDOMWindowHTMLDataGridColElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDataGridColElement"), value); } #endif void setJSDOMWindowHTMLDListElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDListElement"), value); } void setJSDOMWindowHTMLDirectoryElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDirectoryElement"), value); } void setJSDOMWindowHTMLDivElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLDivElement"), value); } void setJSDOMWindowHTMLEmbedElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLEmbedElement"), value); } void setJSDOMWindowHTMLFieldSetElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLFieldSetElement"), value); } void setJSDOMWindowHTMLFontElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLFontElement"), value); } void setJSDOMWindowHTMLFormElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLFormElement"), value); } void setJSDOMWindowHTMLFrameElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLFrameElement"), value); } void setJSDOMWindowHTMLFrameSetElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLFrameSetElement"), value); } void setJSDOMWindowHTMLHRElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLHRElement"), value); } void setJSDOMWindowHTMLHeadElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLHeadElement"), value); } void setJSDOMWindowHTMLHeadingElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLHeadingElement"), value); } void setJSDOMWindowHTMLHtmlElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLHtmlElement"), value); } void setJSDOMWindowHTMLIFrameElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLIFrameElement"), value); } void setJSDOMWindowHTMLImageElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLImageElement"), value); } void setJSDOMWindowHTMLInputElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLInputElement"), value); } void setJSDOMWindowHTMLIsIndexElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLIsIndexElement"), value); } void setJSDOMWindowHTMLLIElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLLIElement"), value); } void setJSDOMWindowHTMLLabelElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLLabelElement"), value); } void setJSDOMWindowHTMLLegendElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLLegendElement"), value); } void setJSDOMWindowHTMLLinkElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLLinkElement"), value); } void setJSDOMWindowHTMLMapElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLMapElement"), value); } void setJSDOMWindowHTMLMarqueeElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLMarqueeElement"), value); } void setJSDOMWindowHTMLMenuElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLMenuElement"), value); } void setJSDOMWindowHTMLMetaElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLMetaElement"), value); } void setJSDOMWindowHTMLModElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLModElement"), value); } void setJSDOMWindowHTMLOListElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLOListElement"), value); } void setJSDOMWindowHTMLObjectElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLObjectElement"), value); } void setJSDOMWindowHTMLOptGroupElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLOptGroupElement"), value); } void setJSDOMWindowHTMLOptionElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLOptionElement"), value); } void setJSDOMWindowHTMLParagraphElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLParagraphElement"), value); } void setJSDOMWindowHTMLParamElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLParamElement"), value); } void setJSDOMWindowHTMLPreElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLPreElement"), value); } void setJSDOMWindowHTMLQuoteElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLQuoteElement"), value); } void setJSDOMWindowHTMLScriptElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLScriptElement"), value); } void setJSDOMWindowHTMLSelectElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLSelectElement"), value); } void setJSDOMWindowHTMLStyleElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLStyleElement"), value); } void setJSDOMWindowHTMLTableCaptionElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTableCaptionElement"), value); } void setJSDOMWindowHTMLTableCellElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTableCellElement"), value); } void setJSDOMWindowHTMLTableColElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTableColElement"), value); } void setJSDOMWindowHTMLTableElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTableElement"), value); } void setJSDOMWindowHTMLTableRowElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTableRowElement"), value); } void setJSDOMWindowHTMLTableSectionElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTableSectionElement"), value); } void setJSDOMWindowHTMLTextAreaElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTextAreaElement"), value); } void setJSDOMWindowHTMLTitleElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLTitleElement"), value); } void setJSDOMWindowHTMLUListElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLUListElement"), value); } void setJSDOMWindowHTMLCollectionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLCollection"), value); } void setJSDOMWindowHTMLAllCollectionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLAllCollection"), value); } void setJSDOMWindowImageConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Image"), value); } void setJSDOMWindowOptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Option"), value); } void setJSDOMWindowCanvasRenderingContext2DConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "CanvasRenderingContext2D"), value); } void setJSDOMWindowImageDataConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "ImageData"), value); } #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLRenderingContextConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLRenderingContext"), value); } #endif void setJSDOMWindowTextMetricsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "TextMetrics"), value); } #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLArrayBufferConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLArrayBuffer"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLByteArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLByteArray"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLUnsignedByteArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLUnsignedByteArray"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLShortArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLShortArray"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLUnsignedShortArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLUnsignedShortArray"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLIntArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLIntArray"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLUnsignedIntArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLUnsignedIntArray"), value); } #endif #if ENABLE(3D_CANVAS) void setJSDOMWindowWebGLFloatArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebGLFloatArray"), value); } #endif void setJSDOMWindowEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Event"), value); } void setJSDOMWindowBeforeLoadEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "BeforeLoadEvent"), value); } void setJSDOMWindowKeyboardEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "KeyboardEvent"), value); } void setJSDOMWindowMouseEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MouseEvent"), value); } void setJSDOMWindowMutationEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MutationEvent"), value); } void setJSDOMWindowOverflowEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "OverflowEvent"), value); } void setJSDOMWindowPageTransitionEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "PageTransitionEvent"), value); } void setJSDOMWindowProgressEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "ProgressEvent"), value); } void setJSDOMWindowTextEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "TextEvent"), value); } void setJSDOMWindowUIEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "UIEvent"), value); } void setJSDOMWindowWebKitAnimationEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitAnimationEvent"), value); } void setJSDOMWindowWebKitTransitionEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitTransitionEvent"), value); } void setJSDOMWindowWheelEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WheelEvent"), value); } void setJSDOMWindowMessageEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MessageEvent"), value); } void setJSDOMWindowEventExceptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "EventException"), value); } void setJSDOMWindowWebKitCSSKeyframeRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitCSSKeyframeRule"), value); } void setJSDOMWindowWebKitCSSKeyframesRuleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitCSSKeyframesRule"), value); } void setJSDOMWindowWebKitCSSMatrixConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitCSSMatrix"), value); } void setJSDOMWindowWebKitPointConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebKitPoint"), value); } void setJSDOMWindowClipboardConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Clipboard"), value); } void setJSDOMWindowFileConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "File"), value); } void setJSDOMWindowFileListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "FileList"), value); } void setJSDOMWindowBlobConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Blob"), value); } void setJSDOMWindowNodeFilterConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "NodeFilter"), value); } void setJSDOMWindowRangeConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Range"), value); } void setJSDOMWindowRangeExceptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "RangeException"), value); } void setJSDOMWindowEventSourceConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "EventSource"), value); } void setJSDOMWindowXMLDocumentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XMLDocument"), value); } void setJSDOMWindowDOMParserConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "DOMParser"), value); } void setJSDOMWindowXMLSerializerConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XMLSerializer"), value); } void setJSDOMWindowXMLHttpRequestConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XMLHttpRequest"), value); } void setJSDOMWindowXMLHttpRequestUploadConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XMLHttpRequestUpload"), value); } void setJSDOMWindowXMLHttpRequestExceptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XMLHttpRequestException"), value); } #if ENABLE(XSLT) void setJSDOMWindowXSLTProcessorConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XSLTProcessor"), value); } #endif void setJSDOMWindowMessagePortConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MessagePort"), value); } void setJSDOMWindowMessageChannelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MessageChannel"), value); } void setJSDOMWindowWorkerConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Worker"), value); } void setJSDOMWindowSharedWorkerConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SharedWorker"), value); } void setJSDOMWindowWebSocketConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "WebSocket"), value); } void setJSDOMWindowPluginConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Plugin"), value); } void setJSDOMWindowPluginArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "PluginArray"), value); } void setJSDOMWindowMimeTypeConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MimeType"), value); } void setJSDOMWindowMimeTypeArrayConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MimeTypeArray"), value); } void setJSDOMWindowClientRectConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "ClientRect"), value); } void setJSDOMWindowClientRectListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "ClientRectList"), value); } void setJSDOMWindowStorageConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Storage"), value); } void setJSDOMWindowStorageEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "StorageEvent"), value); } #if ENABLE(VIDEO) void setJSDOMWindowAudioConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "Audio"), value); } #endif #if ENABLE(VIDEO) void setJSDOMWindowHTMLAudioElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLAudioElement"), value); } #endif #if ENABLE(VIDEO) void setJSDOMWindowHTMLMediaElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLMediaElement"), value); } #endif #if ENABLE(VIDEO) void setJSDOMWindowHTMLVideoElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "HTMLVideoElement"), value); } #endif #if ENABLE(VIDEO) void setJSDOMWindowMediaErrorConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "MediaError"), value); } #endif void setJSDOMWindowXPathEvaluatorConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XPathEvaluator"), value); } void setJSDOMWindowXPathResultConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XPathResult"), value); } void setJSDOMWindowXPathExceptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "XPathException"), value); } void setJSDOMWindowSVGAElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAElement"), value); } void setJSDOMWindowSVGAngleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAngle"), value); } void setJSDOMWindowSVGAnimatedAngleConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedAngle"), value); } void setJSDOMWindowSVGAnimatedBooleanConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedBoolean"), value); } void setJSDOMWindowSVGAnimatedEnumerationConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedEnumeration"), value); } void setJSDOMWindowSVGAnimatedIntegerConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedInteger"), value); } void setJSDOMWindowSVGAnimatedLengthConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedLength"), value); } void setJSDOMWindowSVGAnimatedLengthListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedLengthList"), value); } void setJSDOMWindowSVGAnimatedNumberConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedNumber"), value); } void setJSDOMWindowSVGAnimatedNumberListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedNumberList"), value); } void setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedPreserveAspectRatio"), value); } void setJSDOMWindowSVGAnimatedRectConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedRect"), value); } void setJSDOMWindowSVGAnimatedStringConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedString"), value); } void setJSDOMWindowSVGAnimatedTransformListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGAnimatedTransformList"), value); } void setJSDOMWindowSVGCircleElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGCircleElement"), value); } void setJSDOMWindowSVGClipPathElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGClipPathElement"), value); } void setJSDOMWindowSVGColorConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGColor"), value); } void setJSDOMWindowSVGCursorElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGCursorElement"), value); } void setJSDOMWindowSVGDefsElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGDefsElement"), value); } void setJSDOMWindowSVGDescElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGDescElement"), value); } void setJSDOMWindowSVGDocumentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGDocument"), value); } void setJSDOMWindowSVGElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGElement"), value); } void setJSDOMWindowSVGElementInstanceConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGElementInstance"), value); } void setJSDOMWindowSVGElementInstanceListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGElementInstanceList"), value); } void setJSDOMWindowSVGEllipseElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGEllipseElement"), value); } void setJSDOMWindowSVGExceptionConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGException"), value); } void setJSDOMWindowSVGGElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGGElement"), value); } void setJSDOMWindowSVGGradientElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGGradientElement"), value); } void setJSDOMWindowSVGImageElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGImageElement"), value); } void setJSDOMWindowSVGLengthConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGLength"), value); } void setJSDOMWindowSVGLengthListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGLengthList"), value); } void setJSDOMWindowSVGLinearGradientElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGLinearGradientElement"), value); } void setJSDOMWindowSVGLineElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGLineElement"), value); } void setJSDOMWindowSVGMarkerElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGMarkerElement"), value); } void setJSDOMWindowSVGMaskElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGMaskElement"), value); } void setJSDOMWindowSVGMatrixConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGMatrix"), value); } void setJSDOMWindowSVGMetadataElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGMetadataElement"), value); } void setJSDOMWindowSVGNumberConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGNumber"), value); } void setJSDOMWindowSVGNumberListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGNumberList"), value); } void setJSDOMWindowSVGPaintConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPaint"), value); } void setJSDOMWindowSVGPathElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathElement"), value); } void setJSDOMWindowSVGPathSegConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSeg"), value); } void setJSDOMWindowSVGPathSegArcAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegArcAbs"), value); } void setJSDOMWindowSVGPathSegArcRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegArcRel"), value); } void setJSDOMWindowSVGPathSegClosePathConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegClosePath"), value); } void setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoCubicAbs"), value); } void setJSDOMWindowSVGPathSegCurvetoCubicRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoCubicRel"), value); } void setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoCubicSmoothAbs"), value); } void setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoCubicSmoothRel"), value); } void setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoQuadraticAbs"), value); } void setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoQuadraticRel"), value); } void setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoQuadraticSmoothAbs"), value); } void setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegCurvetoQuadraticSmoothRel"), value); } void setJSDOMWindowSVGPathSegLinetoAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegLinetoAbs"), value); } void setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegLinetoHorizontalAbs"), value); } void setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegLinetoHorizontalRel"), value); } void setJSDOMWindowSVGPathSegLinetoRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegLinetoRel"), value); } void setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegLinetoVerticalAbs"), value); } void setJSDOMWindowSVGPathSegLinetoVerticalRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegLinetoVerticalRel"), value); } void setJSDOMWindowSVGPathSegListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegList"), value); } void setJSDOMWindowSVGPathSegMovetoAbsConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegMovetoAbs"), value); } void setJSDOMWindowSVGPathSegMovetoRelConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPathSegMovetoRel"), value); } void setJSDOMWindowSVGPatternElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPatternElement"), value); } void setJSDOMWindowSVGPointConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPoint"), value); } void setJSDOMWindowSVGPointListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPointList"), value); } void setJSDOMWindowSVGPolygonElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPolygonElement"), value); } void setJSDOMWindowSVGPolylineElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPolylineElement"), value); } void setJSDOMWindowSVGPreserveAspectRatioConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGPreserveAspectRatio"), value); } void setJSDOMWindowSVGRadialGradientElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGRadialGradientElement"), value); } void setJSDOMWindowSVGRectConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGRect"), value); } void setJSDOMWindowSVGRectElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGRectElement"), value); } void setJSDOMWindowSVGRenderingIntentConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGRenderingIntent"), value); } void setJSDOMWindowSVGScriptElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGScriptElement"), value); } void setJSDOMWindowSVGStopElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGStopElement"), value); } void setJSDOMWindowSVGStringListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGStringList"), value); } void setJSDOMWindowSVGStyleElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGStyleElement"), value); } void setJSDOMWindowSVGSVGElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGSVGElement"), value); } void setJSDOMWindowSVGSwitchElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGSwitchElement"), value); } void setJSDOMWindowSVGSymbolElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGSymbolElement"), value); } void setJSDOMWindowSVGTextContentElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTextContentElement"), value); } void setJSDOMWindowSVGTextElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTextElement"), value); } void setJSDOMWindowSVGTextPathElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTextPathElement"), value); } void setJSDOMWindowSVGTextPositioningElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTextPositioningElement"), value); } void setJSDOMWindowSVGTitleElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTitleElement"), value); } void setJSDOMWindowSVGTransformConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTransform"), value); } void setJSDOMWindowSVGTransformListConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTransformList"), value); } void setJSDOMWindowSVGTRefElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTRefElement"), value); } void setJSDOMWindowSVGTSpanElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGTSpanElement"), value); } void setJSDOMWindowSVGUnitTypesConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGUnitTypes"), value); } void setJSDOMWindowSVGUseElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGUseElement"), value); } void setJSDOMWindowSVGViewElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGViewElement"), value); } void setJSDOMWindowSVGZoomEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGZoomEvent"), value); } void setJSDOMWindowSVGComponentTransferFunctionElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGComponentTransferFunctionElement"), value); } void setJSDOMWindowSVGFEBlendElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEBlendElement"), value); } void setJSDOMWindowSVGFEColorMatrixElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEColorMatrixElement"), value); } void setJSDOMWindowSVGFEComponentTransferElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEComponentTransferElement"), value); } void setJSDOMWindowSVGFECompositeElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFECompositeElement"), value); } void setJSDOMWindowSVGFEDiffuseLightingElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEDiffuseLightingElement"), value); } void setJSDOMWindowSVGFEDisplacementMapElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEDisplacementMapElement"), value); } void setJSDOMWindowSVGFEDistantLightElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEDistantLightElement"), value); } void setJSDOMWindowSVGFEFloodElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEFloodElement"), value); } void setJSDOMWindowSVGFEFuncAElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEFuncAElement"), value); } void setJSDOMWindowSVGFEFuncBElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEFuncBElement"), value); } void setJSDOMWindowSVGFEFuncGElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEFuncGElement"), value); } void setJSDOMWindowSVGFEFuncRElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEFuncRElement"), value); } void setJSDOMWindowSVGFEGaussianBlurElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEGaussianBlurElement"), value); } void setJSDOMWindowSVGFEImageElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEImageElement"), value); } void setJSDOMWindowSVGFEMergeElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEMergeElement"), value); } void setJSDOMWindowSVGFEMergeNodeElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEMergeNodeElement"), value); } void setJSDOMWindowSVGFEMorphologyElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEMorphologyElement"), value); } void setJSDOMWindowSVGFEOffsetElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEOffsetElement"), value); } void setJSDOMWindowSVGFEPointLightElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFEPointLightElement"), value); } void setJSDOMWindowSVGFESpecularLightingElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFESpecularLightingElement"), value); } void setJSDOMWindowSVGFESpotLightElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFESpotLightElement"), value); } void setJSDOMWindowSVGFETileElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFETileElement"), value); } void setJSDOMWindowSVGFETurbulenceElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFETurbulenceElement"), value); } void setJSDOMWindowSVGFilterElementConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "SVGFilterElement"), value); } #if ENABLE(TOUCH_EVENTS) void setJSDOMWindowTouchEventConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "TouchEvent"), value); } #endif void setJSDOMWindowFormDataConstructor(ExecState* exec, JSObject* thisObject, JSValue value) { if (!static_cast(thisObject)->allowsAccessFrom(exec)) return; // Shadowing a built-in constructor static_cast(thisObject)->putDirect(Identifier(exec, "FormData"), value); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionGetSelection(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->getSelection())); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionFocus(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->focus(); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionBlur(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->blur(); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionClose(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->close(); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionPrint(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->print(); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionStop(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->stop(); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionOpen(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->open(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionShowModalDialog(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->showModalDialog(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionAlert(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); const UString& message = args.at(0).toString(exec); imp->alert(message); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionConfirm(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); const UString& message = args.at(0).toString(exec); JSC::JSValue result = jsBoolean(imp->confirm(message)); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionPrompt(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); const UString& message = args.at(0).toString(exec); const UString& defaultValue = valueToStringWithUndefinedOrNullCheck(exec, args.at(1)); JSC::JSValue result = jsStringOrNull(exec, imp->prompt(message, defaultValue)); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionFind(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); const UString& string = args.at(0).toString(exec); bool caseSensitive = args.at(1).toBoolean(exec); bool backwards = args.at(2).toBoolean(exec); bool wrap = args.at(3).toBoolean(exec); bool wholeWord = args.at(4).toBoolean(exec); bool searchInFrames = args.at(5).toBoolean(exec); bool showDialog = args.at(6).toBoolean(exec); JSC::JSValue result = jsBoolean(imp->find(string, caseSensitive, backwards, wrap, wholeWord, searchInFrames, showDialog)); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionScrollBy(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); int x = args.at(0).toInt32(exec); int y = args.at(1).toInt32(exec); imp->scrollBy(x, y); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionScrollTo(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); int x = args.at(0).toInt32(exec); int y = args.at(1).toInt32(exec); imp->scrollTo(x, y); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionScroll(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); int x = args.at(0).toInt32(exec); int y = args.at(1).toInt32(exec); imp->scroll(x, y); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionMoveBy(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); float x = args.at(0).toFloat(exec); float y = args.at(1).toFloat(exec); imp->moveBy(x, y); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionMoveTo(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); float x = args.at(0).toFloat(exec); float y = args.at(1).toFloat(exec); imp->moveTo(x, y); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionResizeBy(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); float x = args.at(0).toFloat(exec); float y = args.at(1).toFloat(exec); imp->resizeBy(x, y); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionResizeTo(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); if (args.size() < 2) return jsUndefined(); float width = args.at(0).toFloat(exec); float height = args.at(1).toFloat(exec); imp->resizeTo(width, height); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionGetComputedStyle(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); Element* element = toElement(args.at(0)); const UString& pseudoElement = args.at(1).toString(exec); JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->getComputedStyle(element, pseudoElement))); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionGetMatchedCSSRules(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); Element* element = toElement(args.at(0)); const UString& pseudoElement = args.at(1).toString(exec); int argsCount = args.size(); if (argsCount < 3) { JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->getMatchedCSSRules(element, pseudoElement))); return result; } bool authorOnly = args.at(2).toBoolean(exec); JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->getMatchedCSSRules(element, pseudoElement, authorOnly))); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionWebkitConvertPointFromPageToNode(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); Node* node = toNode(args.at(0)); WebKitPoint* p = toWebKitPoint(args.at(1)); JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->webkitConvertPointFromPageToNode(node, p))); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionWebkitConvertPointFromNodeToPage(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); Node* node = toNode(args.at(0)); WebKitPoint* p = toWebKitPoint(args.at(1)); JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->webkitConvertPointFromNodeToPage(node, p))); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionOpenDatabase(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->openDatabase(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionPostMessage(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); return castedThisObj->postMessage(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionSetTimeout(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->setTimeout(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionClearTimeout(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); int handle = args.at(0).toInt32(exec); imp->clearTimeout(handle); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionSetInterval(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->setInterval(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionClearInterval(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); int handle = args.at(0).toInt32(exec); imp->clearInterval(handle); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionAtob(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); ExceptionCode ec = 0; const UString& string = valueToStringWithNullCheck(exec, args.at(0)); JSC::JSValue result = jsString(exec, imp->atob(string, ec)); setDOMException(exec, ec); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionBtoa(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); ExceptionCode ec = 0; const UString& string = valueToStringWithNullCheck(exec, args.at(0)); JSC::JSValue result = jsString(exec, imp->btoa(string, ec)); setDOMException(exec, ec); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionAddEventListener(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->addEventListener(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionRemoveEventListener(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); return castedThisObj->removeEventListener(exec, args); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionDispatchEvent(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); ExceptionCode ec = 0; Event* evt = toEvent(args.at(0)); JSC::JSValue result = jsBoolean(imp->dispatchEvent(evt, ec)); setDOMException(exec, ec); return result; } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionCaptureEvents(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->captureEvents(); return jsUndefined(); } JSValue JSC_HOST_CALL jsDOMWindowPrototypeFunctionReleaseEvents(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); JSDOMWindow* castedThisObj = toJSDOMWindow(thisValue.toThisObject(exec)); if (!castedThisObj) return throwError(exec, TypeError); if (!castedThisObj->allowsAccessFrom(exec)) return jsUndefined(); DOMWindow* imp = static_cast(castedThisObj->impl()); imp->releaseEvents(); return jsUndefined(); } }