1 | /* |
2 | This file is part of the WebKit open source project. |
3 | This file has been generated by generate-bindings.pl. DO NOT MODIFY! |
4 | |
5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Library General Public |
7 | License as published by the Free Software Foundation; either |
8 | version 2 of the License, or (at your option) any later version. |
9 | |
10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. |
14 | |
15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | Boston, MA 02110-1301, USA. |
19 | */ |
20 | |
21 | #include "config.h" |
22 | #include "JSDOMWindow.h" |
23 | |
24 | #include "DOMWindow.h" |
25 | #include "DOMWindowCaches.h" |
26 | #include "DOMWindowFetch.h" |
27 | #include "DOMWindowWebDatabase.h" |
28 | #include "DOMWrapperWorld.h" |
29 | #include "Document.h" |
30 | #include "EventNames.h" |
31 | #include "JSAbortController.h" |
32 | #include "JSAbortSignal.h" |
33 | #include "JSAnimationEffect.h" |
34 | #include "JSAnimationEvent.h" |
35 | #include "JSAnimationPlaybackEvent.h" |
36 | #include "JSAnimationTimeline.h" |
37 | #include "JSAttr.h" |
38 | #include "JSBarProp.h" |
39 | #include "JSBeforeLoadEvent.h" |
40 | #include "JSBeforeUnloadEvent.h" |
41 | #include "JSBlob.h" |
42 | #include "JSCDATASection.h" |
43 | #include "JSCSSAnimation.h" |
44 | #include "JSCSSFontFaceRule.h" |
45 | #include "JSCSSImportRule.h" |
46 | #include "JSCSSKeyframeRule.h" |
47 | #include "JSCSSKeyframesRule.h" |
48 | #include "JSCSSMediaRule.h" |
49 | #include "JSCSSNamespaceRule.h" |
50 | #include "JSCSSPageRule.h" |
51 | #include "JSCSSRule.h" |
52 | #include "JSCSSRuleList.h" |
53 | #include "JSCSSStyleDeclaration.h" |
54 | #include "JSCSSStyleRule.h" |
55 | #include "JSCSSStyleSheet.h" |
56 | #include "JSCSSSupportsRule.h" |
57 | #include "JSCSSTransition.h" |
58 | #include "JSCanvasGradient.h" |
59 | #include "JSCanvasPattern.h" |
60 | #include "JSCanvasRenderingContext2D.h" |
61 | #include "JSCharacterData.h" |
62 | #include "JSClipboardEvent.h" |
63 | #include "JSCloseEvent.h" |
64 | #include "JSComment.h" |
65 | #include "JSCompositionEvent.h" |
66 | #include "JSCrypto.h" |
67 | #include "JSCustomElementRegistry.h" |
68 | #include "JSCustomEvent.h" |
69 | #include "JSDOMApplicationCache.h" |
70 | #include "JSDOMAttribute.h" |
71 | #include "JSDOMBinding.h" |
72 | #include "JSDOMBindingSecurity.h" |
73 | #include "JSDOMCSSNamespace.h" |
74 | #include "JSDOMCache.h" |
75 | #include "JSDOMCacheStorage.h" |
76 | #include "JSDOMConstructorNotConstructable.h" |
77 | #include "JSDOMConvertAny.h" |
78 | #include "JSDOMConvertBoolean.h" |
79 | #include "JSDOMConvertCallbacks.h" |
80 | #include "JSDOMConvertDictionary.h" |
81 | #include "JSDOMConvertInterface.h" |
82 | #include "JSDOMConvertNullable.h" |
83 | #include "JSDOMConvertNumbers.h" |
84 | #include "JSDOMConvertObject.h" |
85 | #include "JSDOMConvertScheduledAction.h" |
86 | #include "JSDOMConvertSequences.h" |
87 | #include "JSDOMConvertStrings.h" |
88 | #include "JSDOMConvertUnion.h" |
89 | #include "JSDOMConvertVariadic.h" |
90 | #include "JSDOMException.h" |
91 | #include "JSDOMExceptionHandling.h" |
92 | #include "JSDOMFileSystem.h" |
93 | #include "JSDOMFormData.h" |
94 | #include "JSDOMGlobalObject.h" |
95 | #include "JSDOMImplementation.h" |
96 | #include "JSDOMMatrix.h" |
97 | #include "JSDOMMatrixReadOnly.h" |
98 | #include "JSDOMMimeType.h" |
99 | #include "JSDOMMimeTypeArray.h" |
100 | #include "JSDOMOperation.h" |
101 | #include "JSDOMOperationReturningPromise.h" |
102 | #include "JSDOMParser.h" |
103 | #include "JSDOMPlugin.h" |
104 | #include "JSDOMPluginArray.h" |
105 | #include "JSDOMPoint.h" |
106 | #include "JSDOMPointReadOnly.h" |
107 | #include "JSDOMQuad.h" |
108 | #include "JSDOMRect.h" |
109 | #include "JSDOMRectList.h" |
110 | #include "JSDOMRectReadOnly.h" |
111 | #include "JSDOMSelection.h" |
112 | #include "JSDOMStringList.h" |
113 | #include "JSDOMStringMap.h" |
114 | #include "JSDOMTokenList.h" |
115 | #include "JSDOMURL.h" |
116 | #include "JSDOMWindow.h" |
117 | #include "JSDOMWrapperCache.h" |
118 | #include "JSDataTransfer.h" |
119 | #include "JSDataTransferItem.h" |
120 | #include "JSDataTransferItemList.h" |
121 | #include "JSDatabase.h" |
122 | #include "JSDatabaseCallback.h" |
123 | #include "JSDeprecatedCSSOMCounter.h" |
124 | #include "JSDeprecatedCSSOMPrimitiveValue.h" |
125 | #include "JSDeprecatedCSSOMRGBColor.h" |
126 | #include "JSDeprecatedCSSOMRect.h" |
127 | #include "JSDeprecatedCSSOMValue.h" |
128 | #include "JSDeprecatedCSSOMValueList.h" |
129 | #include "JSDocument.h" |
130 | #include "JSDocumentFragment.h" |
131 | #include "JSDocumentTimeline.h" |
132 | #include "JSDocumentType.h" |
133 | #include "JSElement.h" |
134 | #include "JSErrorEvent.h" |
135 | #include "JSErrorHandler.h" |
136 | #include "JSEvent.h" |
137 | #include "JSEventListener.h" |
138 | #include "JSEventSource.h" |
139 | #include "JSEventTarget.h" |
140 | #include "JSFetchHeaders.h" |
141 | #include "JSFetchRequest.h" |
142 | #include "JSFetchRequestInit.h" |
143 | #include "JSFetchResponse.h" |
144 | #include "JSFile.h" |
145 | #include "JSFileError.h" |
146 | #include "JSFileList.h" |
147 | #include "JSFileReader.h" |
148 | #include "JSFileSystemDirectoryEntry.h" |
149 | #include "JSFileSystemDirectoryReader.h" |
150 | #include "JSFileSystemEntry.h" |
151 | #include "JSFileSystemFileEntry.h" |
152 | #include "JSFocusEvent.h" |
153 | #include "JSFontFace.h" |
154 | #include "JSFontFaceSet.h" |
155 | #include "JSHTMLAllCollection.h" |
156 | #include "JSHTMLAnchorElement.h" |
157 | #include "JSHTMLAppletElement.h" |
158 | #include "JSHTMLAreaElement.h" |
159 | #include "JSHTMLBRElement.h" |
160 | #include "JSHTMLBaseElement.h" |
161 | #include "JSHTMLBodyElement.h" |
162 | #include "JSHTMLButtonElement.h" |
163 | #include "JSHTMLCanvasElement.h" |
164 | #include "JSHTMLCollection.h" |
165 | #include "JSHTMLDListElement.h" |
166 | #include "JSHTMLDataElement.h" |
167 | #include "JSHTMLDetailsElement.h" |
168 | #include "JSHTMLDirectoryElement.h" |
169 | #include "JSHTMLDivElement.h" |
170 | #include "JSHTMLDocument.h" |
171 | #include "JSHTMLElement.h" |
172 | #include "JSHTMLEmbedElement.h" |
173 | #include "JSHTMLFieldSetElement.h" |
174 | #include "JSHTMLFontElement.h" |
175 | #include "JSHTMLFormControlsCollection.h" |
176 | #include "JSHTMLFormElement.h" |
177 | #include "JSHTMLFrameElement.h" |
178 | #include "JSHTMLFrameSetElement.h" |
179 | #include "JSHTMLHRElement.h" |
180 | #include "JSHTMLHeadElement.h" |
181 | #include "JSHTMLHeadingElement.h" |
182 | #include "JSHTMLHtmlElement.h" |
183 | #include "JSHTMLIFrameElement.h" |
184 | #include "JSHTMLImageElement.h" |
185 | #include "JSHTMLInputElement.h" |
186 | #include "JSHTMLKeygenElement.h" |
187 | #include "JSHTMLLIElement.h" |
188 | #include "JSHTMLLabelElement.h" |
189 | #include "JSHTMLLegendElement.h" |
190 | #include "JSHTMLLinkElement.h" |
191 | #include "JSHTMLMapElement.h" |
192 | #include "JSHTMLMarqueeElement.h" |
193 | #include "JSHTMLMenuElement.h" |
194 | #include "JSHTMLMenuItemElement.h" |
195 | #include "JSHTMLMetaElement.h" |
196 | #include "JSHTMLModElement.h" |
197 | #include "JSHTMLOListElement.h" |
198 | #include "JSHTMLObjectElement.h" |
199 | #include "JSHTMLOptGroupElement.h" |
200 | #include "JSHTMLOptionElement.h" |
201 | #include "JSHTMLOptionsCollection.h" |
202 | #include "JSHTMLOutputElement.h" |
203 | #include "JSHTMLParagraphElement.h" |
204 | #include "JSHTMLParamElement.h" |
205 | #include "JSHTMLPictureElement.h" |
206 | #include "JSHTMLPreElement.h" |
207 | #include "JSHTMLProgressElement.h" |
208 | #include "JSHTMLQuoteElement.h" |
209 | #include "JSHTMLScriptElement.h" |
210 | #include "JSHTMLSelectElement.h" |
211 | #include "JSHTMLSlotElement.h" |
212 | #include "JSHTMLSourceElement.h" |
213 | #include "JSHTMLSpanElement.h" |
214 | #include "JSHTMLStyleElement.h" |
215 | #include "JSHTMLTableCaptionElement.h" |
216 | #include "JSHTMLTableCellElement.h" |
217 | #include "JSHTMLTableColElement.h" |
218 | #include "JSHTMLTableElement.h" |
219 | #include "JSHTMLTableRowElement.h" |
220 | #include "JSHTMLTableSectionElement.h" |
221 | #include "JSHTMLTemplateElement.h" |
222 | #include "JSHTMLTextAreaElement.h" |
223 | #include "JSHTMLTimeElement.h" |
224 | #include "JSHTMLTitleElement.h" |
225 | #include "JSHTMLUListElement.h" |
226 | #include "JSHTMLUnknownElement.h" |
227 | #include "JSHTMLVideoElement.h" |
228 | #include "JSHashChangeEvent.h" |
229 | #include "JSHistory.h" |
230 | #include "JSImageBitmap.h" |
231 | #include "JSImageBitmapOptions.h" |
232 | #include "JSImageBitmapRenderingContext.h" |
233 | #include "JSImageData.h" |
234 | #include "JSInputEvent.h" |
235 | #include "JSKeyboardEvent.h" |
236 | #include "JSKeyframeEffect.h" |
237 | #include "JSLocation.h" |
238 | #include "JSMediaCapabilities.h" |
239 | #include "JSMediaList.h" |
240 | #include "JSMediaQueryList.h" |
241 | #include "JSMessageEvent.h" |
242 | #include "JSMessagePort.h" |
243 | #include "JSMouseEvent.h" |
244 | #include "JSMutationEvent.h" |
245 | #include "JSMutationObserver.h" |
246 | #include "JSMutationRecord.h" |
247 | #include "JSNamedNodeMap.h" |
248 | #include "JSNavigator.h" |
249 | #include "JSNode.h" |
250 | #include "JSNodeFilter.h" |
251 | #include "JSNodeIterator.h" |
252 | #include "JSNodeList.h" |
253 | #include "JSOffscreenCanvas.h" |
254 | #include "JSOffscreenCanvasRenderingContext2D.h" |
255 | #include "JSOverflowEvent.h" |
256 | #include "JSPageTransitionEvent.h" |
257 | #include "JSPath2D.h" |
258 | #include "JSPerformance.h" |
259 | #include "JSPerformanceEntry.h" |
260 | #include "JSPerformanceMark.h" |
261 | #include "JSPerformanceMeasure.h" |
262 | #include "JSPerformanceNavigation.h" |
263 | #include "JSPerformanceObserver.h" |
264 | #include "JSPerformanceObserverEntryList.h" |
265 | #include "JSPerformanceResourceTiming.h" |
266 | #include "JSPerformanceServerTiming.h" |
267 | #include "JSPerformanceTiming.h" |
268 | #include "JSPopStateEvent.h" |
269 | #include "JSProcessingInstruction.h" |
270 | #include "JSProgressEvent.h" |
271 | #include "JSPromiseRejectionEvent.h" |
272 | #include "JSRadioNodeList.h" |
273 | #include "JSRange.h" |
274 | #include "JSRequestAnimationFrameCallback.h" |
275 | #include "JSSQLError.h" |
276 | #include "JSSQLResultSet.h" |
277 | #include "JSSQLResultSetRowList.h" |
278 | #include "JSSQLTransaction.h" |
279 | #include "JSSVGAElement.h" |
280 | #include "JSSVGAngle.h" |
281 | #include "JSSVGAnimateColorElement.h" |
282 | #include "JSSVGAnimateElement.h" |
283 | #include "JSSVGAnimateMotionElement.h" |
284 | #include "JSSVGAnimateTransformElement.h" |
285 | #include "JSSVGAnimatedAngle.h" |
286 | #include "JSSVGAnimatedBoolean.h" |
287 | #include "JSSVGAnimatedEnumeration.h" |
288 | #include "JSSVGAnimatedInteger.h" |
289 | #include "JSSVGAnimatedLength.h" |
290 | #include "JSSVGAnimatedLengthList.h" |
291 | #include "JSSVGAnimatedNumber.h" |
292 | #include "JSSVGAnimatedNumberList.h" |
293 | #include "JSSVGAnimatedPreserveAspectRatio.h" |
294 | #include "JSSVGAnimatedRect.h" |
295 | #include "JSSVGAnimatedString.h" |
296 | #include "JSSVGAnimatedTransformList.h" |
297 | #include "JSSVGAnimationElement.h" |
298 | #include "JSSVGCircleElement.h" |
299 | #include "JSSVGClipPathElement.h" |
300 | #include "JSSVGComponentTransferFunctionElement.h" |
301 | #include "JSSVGCursorElement.h" |
302 | #include "JSSVGDefsElement.h" |
303 | #include "JSSVGDescElement.h" |
304 | #include "JSSVGElement.h" |
305 | #include "JSSVGEllipseElement.h" |
306 | #include "JSSVGFEBlendElement.h" |
307 | #include "JSSVGFEColorMatrixElement.h" |
308 | #include "JSSVGFEComponentTransferElement.h" |
309 | #include "JSSVGFECompositeElement.h" |
310 | #include "JSSVGFEConvolveMatrixElement.h" |
311 | #include "JSSVGFEDiffuseLightingElement.h" |
312 | #include "JSSVGFEDisplacementMapElement.h" |
313 | #include "JSSVGFEDistantLightElement.h" |
314 | #include "JSSVGFEDropShadowElement.h" |
315 | #include "JSSVGFEFloodElement.h" |
316 | #include "JSSVGFEFuncAElement.h" |
317 | #include "JSSVGFEFuncBElement.h" |
318 | #include "JSSVGFEFuncGElement.h" |
319 | #include "JSSVGFEFuncRElement.h" |
320 | #include "JSSVGFEGaussianBlurElement.h" |
321 | #include "JSSVGFEImageElement.h" |
322 | #include "JSSVGFEMergeElement.h" |
323 | #include "JSSVGFEMergeNodeElement.h" |
324 | #include "JSSVGFEMorphologyElement.h" |
325 | #include "JSSVGFEOffsetElement.h" |
326 | #include "JSSVGFEPointLightElement.h" |
327 | #include "JSSVGFESpecularLightingElement.h" |
328 | #include "JSSVGFESpotLightElement.h" |
329 | #include "JSSVGFETileElement.h" |
330 | #include "JSSVGFETurbulenceElement.h" |
331 | #include "JSSVGFilterElement.h" |
332 | #include "JSSVGForeignObjectElement.h" |
333 | #include "JSSVGGElement.h" |
334 | #include "JSSVGGeometryElement.h" |
335 | #include "JSSVGGradientElement.h" |
336 | #include "JSSVGGraphicsElement.h" |
337 | #include "JSSVGImageElement.h" |
338 | #include "JSSVGLength.h" |
339 | #include "JSSVGLengthList.h" |
340 | #include "JSSVGLineElement.h" |
341 | #include "JSSVGLinearGradientElement.h" |
342 | #include "JSSVGMPathElement.h" |
343 | #include "JSSVGMarkerElement.h" |
344 | #include "JSSVGMaskElement.h" |
345 | #include "JSSVGMatrix.h" |
346 | #include "JSSVGMetadataElement.h" |
347 | #include "JSSVGNumber.h" |
348 | #include "JSSVGNumberList.h" |
349 | #include "JSSVGPathElement.h" |
350 | #include "JSSVGPathSeg.h" |
351 | #include "JSSVGPathSegArcAbs.h" |
352 | #include "JSSVGPathSegArcRel.h" |
353 | #include "JSSVGPathSegClosePath.h" |
354 | #include "JSSVGPathSegCurvetoCubicAbs.h" |
355 | #include "JSSVGPathSegCurvetoCubicRel.h" |
356 | #include "JSSVGPathSegCurvetoCubicSmoothAbs.h" |
357 | #include "JSSVGPathSegCurvetoCubicSmoothRel.h" |
358 | #include "JSSVGPathSegCurvetoQuadraticAbs.h" |
359 | #include "JSSVGPathSegCurvetoQuadraticRel.h" |
360 | #include "JSSVGPathSegCurvetoQuadraticSmoothAbs.h" |
361 | #include "JSSVGPathSegCurvetoQuadraticSmoothRel.h" |
362 | #include "JSSVGPathSegLinetoAbs.h" |
363 | #include "JSSVGPathSegLinetoHorizontalAbs.h" |
364 | #include "JSSVGPathSegLinetoHorizontalRel.h" |
365 | #include "JSSVGPathSegLinetoRel.h" |
366 | #include "JSSVGPathSegLinetoVerticalAbs.h" |
367 | #include "JSSVGPathSegLinetoVerticalRel.h" |
368 | #include "JSSVGPathSegList.h" |
369 | #include "JSSVGPathSegMovetoAbs.h" |
370 | #include "JSSVGPathSegMovetoRel.h" |
371 | #include "JSSVGPatternElement.h" |
372 | #include "JSSVGPoint.h" |
373 | #include "JSSVGPointList.h" |
374 | #include "JSSVGPolygonElement.h" |
375 | #include "JSSVGPolylineElement.h" |
376 | #include "JSSVGPreserveAspectRatio.h" |
377 | #include "JSSVGRadialGradientElement.h" |
378 | #include "JSSVGRect.h" |
379 | #include "JSSVGRectElement.h" |
380 | #include "JSSVGRenderingIntent.h" |
381 | #include "JSSVGSVGElement.h" |
382 | #include "JSSVGScriptElement.h" |
383 | #include "JSSVGSetElement.h" |
384 | #include "JSSVGStopElement.h" |
385 | #include "JSSVGStringList.h" |
386 | #include "JSSVGStyleElement.h" |
387 | #include "JSSVGSwitchElement.h" |
388 | #include "JSSVGSymbolElement.h" |
389 | #include "JSSVGTRefElement.h" |
390 | #include "JSSVGTSpanElement.h" |
391 | #include "JSSVGTextContentElement.h" |
392 | #include "JSSVGTextElement.h" |
393 | #include "JSSVGTextPathElement.h" |
394 | #include "JSSVGTextPositioningElement.h" |
395 | #include "JSSVGTitleElement.h" |
396 | #include "JSSVGTransform.h" |
397 | #include "JSSVGTransformList.h" |
398 | #include "JSSVGUnitTypes.h" |
399 | #include "JSSVGUseElement.h" |
400 | #include "JSSVGViewElement.h" |
401 | #include "JSSVGViewSpec.h" |
402 | #include "JSSVGZoomEvent.h" |
403 | #include "JSScreen.h" |
404 | #include "JSScreenLuminance.h" |
405 | #include "JSScrollToOptions.h" |
406 | #include "JSSecurityPolicyViolationEvent.h" |
407 | #include "JSShadowRoot.h" |
408 | #include "JSSpectreGadget.h" |
409 | #include "JSStaticRange.h" |
410 | #include "JSStorage.h" |
411 | #include "JSStorageEvent.h" |
412 | #include "JSStyleMedia.h" |
413 | #include "JSStyleSheet.h" |
414 | #include "JSStyleSheetList.h" |
415 | #include "JSText.h" |
416 | #include "JSTextDecoder.h" |
417 | #include "JSTextEncoder.h" |
418 | #include "JSTextEvent.h" |
419 | #include "JSTextMetrics.h" |
420 | #include "JSTransitionEvent.h" |
421 | #include "JSTreeWalker.h" |
422 | #include "JSUIEvent.h" |
423 | #include "JSURLSearchParams.h" |
424 | #include "JSUndoItem.h" |
425 | #include "JSUndoManager.h" |
426 | #include "JSVRDisplay.h" |
427 | #include "JSVRDisplayCapabilities.h" |
428 | #include "JSVRDisplayEvent.h" |
429 | #include "JSVREyeParameters.h" |
430 | #include "JSVRFieldOfView.h" |
431 | #include "JSVRFrameData.h" |
432 | #include "JSVRPose.h" |
433 | #include "JSVRStageParameters.h" |
434 | #include "JSValidityState.h" |
435 | #include "JSVisualViewport.h" |
436 | #include "JSWebAnimation.h" |
437 | #include "JSWebKitAnimationEvent.h" |
438 | #include "JSWebKitCSSMatrix.h" |
439 | #include "JSWebKitPoint.h" |
440 | #include "JSWebKitTransitionEvent.h" |
441 | #include "JSWebSocket.h" |
442 | #include "JSWheelEvent.h" |
443 | #include "JSWindowProxy.h" |
444 | #include "JSWorker.h" |
445 | #include "JSXMLDocument.h" |
446 | #include "JSXMLHttpRequest.h" |
447 | #include "JSXMLHttpRequestEventTarget.h" |
448 | #include "JSXMLHttpRequestProgressEvent.h" |
449 | #include "JSXMLHttpRequestUpload.h" |
450 | #include "JSXMLSerializer.h" |
451 | #include "JSXPathEvaluator.h" |
452 | #include "JSXPathExpression.h" |
453 | #include "JSXPathResult.h" |
454 | #include "Quirks.h" |
455 | #include "RuntimeEnabledFeatures.h" |
456 | #include "ScriptExecutionContext.h" |
457 | #include "Settings.h" |
458 | #include "WebCoreJSClientData.h" |
459 | #include <JavaScriptCore/JSArray.h> |
460 | #include <JavaScriptCore/JSCInlines.h> |
461 | #include <wtf/GetPtr.h> |
462 | #include <wtf/PointerPreparations.h> |
463 | #include <wtf/Variant.h> |
464 | |
465 | #if ENABLE(ATTACHMENT_ELEMENT) |
466 | #include "JSHTMLAttachmentElement.h" |
467 | #endif |
468 | |
469 | #if ENABLE(CHANNEL_MESSAGING) |
470 | #include "JSMessageChannel.h" |
471 | #endif |
472 | |
473 | #if ENABLE(CSS_DEVICE_ADAPTATION) |
474 | #include "JSWebKitCSSViewportRule.h" |
475 | #endif |
476 | |
477 | #if ENABLE(CSS_PAINTING_API) |
478 | #include "JSPaintRenderingContext2D.h" |
479 | #include "JSWorklet.h" |
480 | #endif |
481 | |
482 | #if ENABLE(CSS_TYPED_OM) |
483 | #include "JSStylePropertyMap.h" |
484 | #include "JSStylePropertyMapReadOnly.h" |
485 | #include "JSTypedOMCSSImageValue.h" |
486 | #include "JSTypedOMCSSNumericValue.h" |
487 | #include "JSTypedOMCSSStyleValue.h" |
488 | #include "JSTypedOMCSSUnitValue.h" |
489 | #include "JSTypedOMCSSUnparsedValue.h" |
490 | #endif |
491 | |
492 | #if ENABLE(DATALIST_ELEMENT) |
493 | #include "JSHTMLDataListElement.h" |
494 | #endif |
495 | |
496 | #if ENABLE(DEVICE_ORIENTATION) |
497 | #include "JSDeviceMotionEvent.h" |
498 | #include "JSDeviceOrientationEvent.h" |
499 | #endif |
500 | |
501 | #if ENABLE(INDEXED_DATABASE) |
502 | #include "DOMWindowIndexedDatabase.h" |
503 | #include "JSIDBCursor.h" |
504 | #include "JSIDBCursorWithValue.h" |
505 | #include "JSIDBDatabase.h" |
506 | #include "JSIDBFactory.h" |
507 | #include "JSIDBIndex.h" |
508 | #include "JSIDBKeyRange.h" |
509 | #include "JSIDBObjectStore.h" |
510 | #include "JSIDBOpenDBRequest.h" |
511 | #include "JSIDBRequest.h" |
512 | #include "JSIDBTransaction.h" |
513 | #include "JSIDBVersionChangeEvent.h" |
514 | #endif |
515 | |
516 | #if ENABLE(INTERSECTION_OBSERVER) |
517 | #include "JSIntersectionObserver.h" |
518 | #include "JSIntersectionObserverEntry.h" |
519 | #endif |
520 | |
521 | #if ENABLE(MEDIA_SESSION) |
522 | #include "JSMediaRemoteControls.h" |
523 | #include "JSMediaSession.h" |
524 | #endif |
525 | |
526 | #if ENABLE(MEDIA_SOURCE) |
527 | #include "JSMediaSource.h" |
528 | #include "JSSourceBuffer.h" |
529 | #include "JSSourceBufferList.h" |
530 | #endif |
531 | |
532 | #if ENABLE(MEDIA_STREAM) |
533 | #include "JSBlobEvent.h" |
534 | #include "JSCanvasCaptureMediaStreamTrack.h" |
535 | #include "JSMediaDeviceInfo.h" |
536 | #include "JSMediaDevices.h" |
537 | #include "JSMediaRecorder.h" |
538 | #include "JSMediaRecorderErrorEvent.h" |
539 | #include "JSMediaStream.h" |
540 | #include "JSMediaStreamTrack.h" |
541 | #include "JSMediaStreamTrackEvent.h" |
542 | #include "JSOverconstrainedError.h" |
543 | #include "JSOverconstrainedErrorEvent.h" |
544 | #endif |
545 | |
546 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
547 | #include "JSMediaStreamAudioDestinationNode.h" |
548 | #include "JSMediaStreamAudioSourceNode.h" |
549 | #endif |
550 | |
551 | #if ENABLE(METER_ELEMENT) |
552 | #include "JSHTMLMeterElement.h" |
553 | #endif |
554 | |
555 | #if ENABLE(NOTIFICATIONS) |
556 | #include "JSNotification.h" |
557 | #endif |
558 | |
559 | #if ENABLE(PAYMENT_REQUEST) |
560 | #include "JSMerchantValidationEvent.h" |
561 | #include "JSPaymentAddress.h" |
562 | #include "JSPaymentMethodChangeEvent.h" |
563 | #include "JSPaymentRequest.h" |
564 | #include "JSPaymentRequestUpdateEvent.h" |
565 | #include "JSPaymentResponse.h" |
566 | #endif |
567 | |
568 | #if ENABLE(POINTER_EVENTS) |
569 | #include "JSPointerEvent.h" |
570 | #endif |
571 | |
572 | #if ENABLE(RESIZE_OBSERVER) |
573 | #include "JSResizeObserver.h" |
574 | #include "JSResizeObserverEntry.h" |
575 | #endif |
576 | |
577 | #if ENABLE(SERVICE_WORKER) |
578 | #include "JSServiceWorker.h" |
579 | #include "JSServiceWorkerContainer.h" |
580 | #include "JSServiceWorkerRegistration.h" |
581 | #endif |
582 | |
583 | #if ENABLE(SPEECH_SYNTHESIS) |
584 | #include "DOMWindowSpeechSynthesis.h" |
585 | #include "JSSpeechSynthesis.h" |
586 | #include "JSSpeechSynthesisEvent.h" |
587 | #include "JSSpeechSynthesisUtterance.h" |
588 | #endif |
589 | |
590 | #if ENABLE(STREAMS_API) |
591 | #include "JSByteLengthQueuingStrategy.h" |
592 | #include "JSCountQueuingStrategy.h" |
593 | #include "JSReadableByteStreamController.h" |
594 | #include "JSReadableStream.h" |
595 | #include "JSReadableStreamBYOBReader.h" |
596 | #include "JSReadableStreamBYOBRequest.h" |
597 | #include "JSReadableStreamDefaultController.h" |
598 | #include "JSReadableStreamDefaultReader.h" |
599 | #include "JSWritableStream.h" |
600 | #endif |
601 | |
602 | #if ENABLE(SVG_FONTS) |
603 | #include "JSSVGAltGlyphDefElement.h" |
604 | #include "JSSVGAltGlyphElement.h" |
605 | #include "JSSVGAltGlyphItemElement.h" |
606 | #include "JSSVGFontElement.h" |
607 | #include "JSSVGFontFaceElement.h" |
608 | #include "JSSVGFontFaceFormatElement.h" |
609 | #include "JSSVGFontFaceNameElement.h" |
610 | #include "JSSVGFontFaceSrcElement.h" |
611 | #include "JSSVGFontFaceUriElement.h" |
612 | #include "JSSVGGlyphElement.h" |
613 | #include "JSSVGGlyphRefElement.h" |
614 | #include "JSSVGHKernElement.h" |
615 | #include "JSSVGMissingGlyphElement.h" |
616 | #include "JSSVGVKernElement.h" |
617 | #endif |
618 | |
619 | #if ENABLE(TOUCH_EVENTS) |
620 | #include "JSTouch.h" |
621 | #include "JSTouchEvent.h" |
622 | #include "JSTouchList.h" |
623 | #endif |
624 | |
625 | #if ENABLE(USER_MESSAGE_HANDLERS) |
626 | #include "JSUserMessageHandler.h" |
627 | #include "JSUserMessageHandlersNamespace.h" |
628 | #include "JSWebKitNamespace.h" |
629 | #endif |
630 | |
631 | #if ENABLE(VIDEO) |
632 | #include "JSHTMLAudioElement.h" |
633 | #include "JSHTMLMediaElement.h" |
634 | #include "JSMediaController.h" |
635 | #include "JSMediaError.h" |
636 | #include "JSTimeRanges.h" |
637 | #endif |
638 | |
639 | #if ENABLE(VIDEO) && ENABLE(WEB_AUDIO) |
640 | #include "JSMediaElementAudioSourceNode.h" |
641 | #endif |
642 | |
643 | #if ENABLE(VIDEO_TRACK) |
644 | #include "JSAudioTrack.h" |
645 | #include "JSAudioTrackList.h" |
646 | #include "JSDataCue.h" |
647 | #include "JSHTMLTrackElement.h" |
648 | #include "JSTextTrack.h" |
649 | #include "JSTextTrackCue.h" |
650 | #include "JSTextTrackCueList.h" |
651 | #include "JSTextTrackList.h" |
652 | #include "JSTrackEvent.h" |
653 | #include "JSVTTCue.h" |
654 | #include "JSVTTRegion.h" |
655 | #include "JSVideoTrack.h" |
656 | #include "JSVideoTrackList.h" |
657 | #endif |
658 | |
659 | #if ENABLE(WEBGL) |
660 | #include "JSWebGLActiveInfo.h" |
661 | #include "JSWebGLBuffer.h" |
662 | #include "JSWebGLContextEvent.h" |
663 | #include "JSWebGLFramebuffer.h" |
664 | #include "JSWebGLProgram.h" |
665 | #include "JSWebGLQuery.h" |
666 | #include "JSWebGLRenderbuffer.h" |
667 | #include "JSWebGLRenderingContext.h" |
668 | #include "JSWebGLSampler.h" |
669 | #include "JSWebGLShader.h" |
670 | #include "JSWebGLShaderPrecisionFormat.h" |
671 | #include "JSWebGLSync.h" |
672 | #include "JSWebGLTexture.h" |
673 | #include "JSWebGLTransformFeedback.h" |
674 | #include "JSWebGLUniformLocation.h" |
675 | #endif |
676 | |
677 | #if ENABLE(WEBGL2) |
678 | #include "JSWebGL2RenderingContext.h" |
679 | #include "JSWebGLVertexArrayObject.h" |
680 | #endif |
681 | |
682 | #if ENABLE(WEBGPU) |
683 | #include "JSGPUBufferUsage.h" |
684 | #include "JSGPUCanvasContext.h" |
685 | #include "JSGPUColorWriteBits.h" |
686 | #include "JSGPUShaderStageBit.h" |
687 | #include "JSGPUTextureUsage.h" |
688 | #include "JSWebGPU.h" |
689 | #include "JSWebGPUAdapter.h" |
690 | #include "JSWebGPUBindGroup.h" |
691 | #include "JSWebGPUBindGroupLayout.h" |
692 | #include "JSWebGPUBuffer.h" |
693 | #include "JSWebGPUCommandBuffer.h" |
694 | #include "JSWebGPUCommandEncoder.h" |
695 | #include "JSWebGPUComputePassEncoder.h" |
696 | #include "JSWebGPUComputePipeline.h" |
697 | #include "JSWebGPUDevice.h" |
698 | #include "JSWebGPUPipelineLayout.h" |
699 | #include "JSWebGPUProgrammablePassEncoder.h" |
700 | #include "JSWebGPUQueue.h" |
701 | #include "JSWebGPURenderPassEncoder.h" |
702 | #include "JSWebGPURenderPipeline.h" |
703 | #include "JSWebGPUSampler.h" |
704 | #include "JSWebGPUShaderModule.h" |
705 | #include "JSWebGPUSwapChain.h" |
706 | #include "JSWebGPUTexture.h" |
707 | #include "JSWebGPUTextureView.h" |
708 | #endif |
709 | |
710 | #if ENABLE(WEB_AUDIO) |
711 | #include "JSAnalyserNode.h" |
712 | #include "JSAudioBuffer.h" |
713 | #include "JSAudioBufferSourceNode.h" |
714 | #include "JSAudioContext.h" |
715 | #include "JSAudioDestinationNode.h" |
716 | #include "JSAudioListener.h" |
717 | #include "JSAudioNode.h" |
718 | #include "JSAudioParam.h" |
719 | #include "JSAudioProcessingEvent.h" |
720 | #include "JSBiquadFilterNode.h" |
721 | #include "JSChannelMergerNode.h" |
722 | #include "JSChannelSplitterNode.h" |
723 | #include "JSConvolverNode.h" |
724 | #include "JSDelayNode.h" |
725 | #include "JSDynamicsCompressorNode.h" |
726 | #include "JSGainNode.h" |
727 | #include "JSOfflineAudioCompletionEvent.h" |
728 | #include "JSOfflineAudioContext.h" |
729 | #include "JSOscillatorNode.h" |
730 | #include "JSPannerNode.h" |
731 | #include "JSPeriodicWave.h" |
732 | #include "JSScriptProcessorNode.h" |
733 | #include "JSWaveShaperNode.h" |
734 | #endif |
735 | |
736 | #if ENABLE(WEB_AUTHN) |
737 | #include "JSAuthenticatorAssertionResponse.h" |
738 | #include "JSAuthenticatorAttestationResponse.h" |
739 | #include "JSAuthenticatorResponse.h" |
740 | #include "JSBasicCredential.h" |
741 | #include "JSCredentialsContainer.h" |
742 | #include "JSPublicKeyCredential.h" |
743 | #endif |
744 | |
745 | #if ENABLE(WEB_CRYPTO) |
746 | #include "JSCryptoKey.h" |
747 | #include "JSSubtleCrypto.h" |
748 | #endif |
749 | |
750 | #if ENABLE(WEB_RTC) |
751 | #include "JSRTCCertificate.h" |
752 | #include "JSRTCDataChannel.h" |
753 | #include "JSRTCDataChannelEvent.h" |
754 | #include "JSRTCIceCandidate.h" |
755 | #include "JSRTCIceTransport.h" |
756 | #include "JSRTCPeerConnection.h" |
757 | #include "JSRTCPeerConnectionIceEvent.h" |
758 | #include "JSRTCRtpReceiver.h" |
759 | #include "JSRTCRtpSender.h" |
760 | #include "JSRTCRtpTransceiver.h" |
761 | #include "JSRTCSessionDescription.h" |
762 | #include "JSRTCStatsReport.h" |
763 | #include "JSRTCTrackEvent.h" |
764 | #endif |
765 | |
766 | #if ENABLE(WEB_RTC_DTMF) |
767 | #include "JSRTCDTMFSender.h" |
768 | #include "JSRTCDTMFToneChangeEvent.h" |
769 | #endif |
770 | |
771 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
772 | #include "JSWebKitPlaybackTargetAvailabilityEvent.h" |
773 | #endif |
774 | |
775 | #if ENABLE(XSLT) |
776 | #include "JSXSLTProcessor.h" |
777 | #endif |
778 | |
779 | |
780 | namespace WebCore { |
781 | using namespace JSC; |
782 | |
783 | // Functions |
784 | |
785 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionStop(JSC::ExecState*); |
786 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionOpen(JSC::ExecState*); |
787 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionAlert(JSC::ExecState*); |
788 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionConfirm(JSC::ExecState*); |
789 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionPrompt(JSC::ExecState*); |
790 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionPrint(JSC::ExecState*); |
791 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionRequestAnimationFrame(JSC::ExecState*); |
792 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCancelAnimationFrame(JSC::ExecState*); |
793 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCaptureEvents(JSC::ExecState*); |
794 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionReleaseEvents(JSC::ExecState*); |
795 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionGetComputedStyle(JSC::ExecState*); |
796 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMatchMedia(JSC::ExecState*); |
797 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMoveTo(JSC::ExecState*); |
798 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMoveBy(JSC::ExecState*); |
799 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionResizeTo(JSC::ExecState*); |
800 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionResizeBy(JSC::ExecState*); |
801 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionScroll(JSC::ExecState*); |
802 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionScrollTo(JSC::ExecState*); |
803 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionScrollBy(JSC::ExecState*); |
804 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionGetSelection(JSC::ExecState*); |
805 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionFind(JSC::ExecState*); |
806 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitRequestAnimationFrame(JSC::ExecState*); |
807 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitCancelAnimationFrame(JSC::ExecState*); |
808 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitCancelRequestAnimationFrame(JSC::ExecState*); |
809 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionGetMatchedCSSRules(JSC::ExecState*); |
810 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionShowModalDialog(JSC::ExecState*); |
811 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitConvertPointFromPageToNode(JSC::ExecState*); |
812 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitConvertPointFromNodeToPage(JSC::ExecState*); |
813 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCollectMatchingElementsInFlatTree(JSC::ExecState*); |
814 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMatchingElementInFlatTree(JSC::ExecState*); |
815 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionFetch(JSC::ExecState*); |
816 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionOpenDatabase(JSC::ExecState*); |
817 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionSetTimeout(JSC::ExecState*); |
818 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionClearTimeout(JSC::ExecState*); |
819 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionSetInterval(JSC::ExecState*); |
820 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionClearInterval(JSC::ExecState*); |
821 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionQueueMicrotask(JSC::ExecState*); |
822 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionAtob(JSC::ExecState*); |
823 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionBtoa(JSC::ExecState*); |
824 | JSC::EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCreateImageBitmap(JSC::ExecState*); |
825 | |
826 | // Attributes |
827 | |
828 | JSC::EncodedJSValue jsDOMWindowConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
829 | bool setJSDOMWindowConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
830 | JSC::EncodedJSValue jsDOMWindowWindow(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
831 | JSC::EncodedJSValue jsDOMWindowSelf(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
832 | bool setJSDOMWindowSelf(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
833 | JSC::EncodedJSValue jsDOMWindowDocument(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
834 | JSC::EncodedJSValue jsDOMWindowName(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
835 | bool setJSDOMWindowName(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
836 | JSC::EncodedJSValue jsDOMWindowLocation(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
837 | bool setJSDOMWindowLocation(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
838 | JSC::EncodedJSValue jsDOMWindowHistory(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
839 | JSC::EncodedJSValue jsDOMWindowCustomElements(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
840 | JSC::EncodedJSValue jsDOMWindowLocationbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
841 | bool setJSDOMWindowLocationbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
842 | JSC::EncodedJSValue jsDOMWindowMenubar(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
843 | bool setJSDOMWindowMenubar(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
844 | JSC::EncodedJSValue jsDOMWindowPersonalbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
845 | bool setJSDOMWindowPersonalbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
846 | JSC::EncodedJSValue jsDOMWindowScrollbars(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
847 | bool setJSDOMWindowScrollbars(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
848 | JSC::EncodedJSValue jsDOMWindowStatusbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
849 | bool setJSDOMWindowStatusbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
850 | JSC::EncodedJSValue jsDOMWindowToolbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
851 | bool setJSDOMWindowToolbar(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
852 | JSC::EncodedJSValue jsDOMWindowStatus(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
853 | bool setJSDOMWindowStatus(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
854 | JSC::EncodedJSValue jsDOMWindowFrames(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
855 | bool setJSDOMWindowFrames(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
856 | JSC::EncodedJSValue jsDOMWindowLength(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
857 | bool setJSDOMWindowLength(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
858 | JSC::EncodedJSValue jsDOMWindowTop(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
859 | JSC::EncodedJSValue jsDOMWindowOpener(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
860 | bool setJSDOMWindowOpener(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
861 | JSC::EncodedJSValue jsDOMWindowParent(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
862 | bool setJSDOMWindowParent(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
863 | JSC::EncodedJSValue jsDOMWindowFrameElement(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
864 | JSC::EncodedJSValue jsDOMWindowNavigator(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
865 | JSC::EncodedJSValue jsDOMWindowApplicationCache(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
866 | JSC::EncodedJSValue jsDOMWindowSessionStorage(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
867 | JSC::EncodedJSValue jsDOMWindowLocalStorage(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
868 | JSC::EncodedJSValue jsDOMWindowScreen(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
869 | bool setJSDOMWindowScreen(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
870 | JSC::EncodedJSValue jsDOMWindowInnerHeight(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
871 | bool setJSDOMWindowInnerHeight(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
872 | JSC::EncodedJSValue jsDOMWindowInnerWidth(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
873 | bool setJSDOMWindowInnerWidth(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
874 | JSC::EncodedJSValue jsDOMWindowScrollX(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
875 | bool setJSDOMWindowScrollX(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
876 | JSC::EncodedJSValue jsDOMWindowPageXOffset(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
877 | bool setJSDOMWindowPageXOffset(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
878 | JSC::EncodedJSValue jsDOMWindowScrollY(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
879 | bool setJSDOMWindowScrollY(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
880 | JSC::EncodedJSValue jsDOMWindowPageYOffset(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
881 | bool setJSDOMWindowPageYOffset(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
882 | JSC::EncodedJSValue jsDOMWindowVisualViewport(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
883 | bool setJSDOMWindowVisualViewport(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
884 | JSC::EncodedJSValue jsDOMWindowScreenX(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
885 | bool setJSDOMWindowScreenX(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
886 | JSC::EncodedJSValue jsDOMWindowScreenY(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
887 | bool setJSDOMWindowScreenY(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
888 | JSC::EncodedJSValue jsDOMWindowOuterWidth(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
889 | bool setJSDOMWindowOuterWidth(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
890 | JSC::EncodedJSValue jsDOMWindowOuterHeight(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
891 | bool setJSDOMWindowOuterHeight(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
892 | JSC::EncodedJSValue jsDOMWindowDevicePixelRatio(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
893 | bool setJSDOMWindowDevicePixelRatio(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
894 | #if ENABLE(ORIENTATION_EVENTS) |
895 | JSC::EncodedJSValue jsDOMWindowOrientation(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
896 | #endif |
897 | JSC::EncodedJSValue jsDOMWindowEvent(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
898 | bool setJSDOMWindowEvent(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
899 | JSC::EncodedJSValue jsDOMWindowDefaultStatus(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
900 | bool setJSDOMWindowDefaultStatus(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
901 | JSC::EncodedJSValue jsDOMWindowDefaultstatus(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
902 | bool setJSDOMWindowDefaultstatus(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
903 | JSC::EncodedJSValue jsDOMWindowOffscreenBuffering(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
904 | bool setJSDOMWindowOffscreenBuffering(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
905 | JSC::EncodedJSValue jsDOMWindowScreenLeft(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
906 | bool setJSDOMWindowScreenLeft(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
907 | JSC::EncodedJSValue jsDOMWindowScreenTop(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
908 | bool setJSDOMWindowScreenTop(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
909 | JSC::EncodedJSValue jsDOMWindowClientInformation(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
910 | bool setJSDOMWindowClientInformation(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
911 | JSC::EncodedJSValue jsDOMWindowStyleMedia(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
912 | #if ENABLE(IOS_GESTURE_EVENTS) |
913 | JSC::EncodedJSValue jsDOMWindowOngesturechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
914 | bool setJSDOMWindowOngesturechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
915 | #endif |
916 | #if ENABLE(IOS_GESTURE_EVENTS) |
917 | JSC::EncodedJSValue jsDOMWindowOngestureend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
918 | bool setJSDOMWindowOngestureend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
919 | #endif |
920 | #if ENABLE(IOS_GESTURE_EVENTS) |
921 | JSC::EncodedJSValue jsDOMWindowOngesturestart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
922 | bool setJSDOMWindowOngesturestart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
923 | #endif |
924 | #if ENABLE(DEVICE_ORIENTATION) |
925 | JSC::EncodedJSValue jsDOMWindowOndevicemotion(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
926 | bool setJSDOMWindowOndevicemotion(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
927 | #endif |
928 | #if ENABLE(DEVICE_ORIENTATION) |
929 | JSC::EncodedJSValue jsDOMWindowOndeviceorientation(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
930 | bool setJSDOMWindowOndeviceorientation(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
931 | #endif |
932 | JSC::EncodedJSValue jsDOMWindowOnwebkitanimationend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
933 | bool setJSDOMWindowOnwebkitanimationend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
934 | JSC::EncodedJSValue jsDOMWindowOnwebkitanimationiteration(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
935 | bool setJSDOMWindowOnwebkitanimationiteration(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
936 | JSC::EncodedJSValue jsDOMWindowOnwebkitanimationstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
937 | bool setJSDOMWindowOnwebkitanimationstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
938 | JSC::EncodedJSValue jsDOMWindowOnwebkittransitionend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
939 | bool setJSDOMWindowOnwebkittransitionend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
940 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
941 | JSC::EncodedJSValue jsDOMWindowWebKitPlaybackTargetAvailabilityEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
942 | bool setJSDOMWindowWebKitPlaybackTargetAvailabilityEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
943 | #endif |
944 | JSC::EncodedJSValue jsDOMWindowCacheConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
945 | bool setJSDOMWindowCacheConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
946 | JSC::EncodedJSValue jsDOMWindowCacheStorageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
947 | bool setJSDOMWindowCacheStorageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
948 | #if ENABLE(WEB_AUTHN) |
949 | JSC::EncodedJSValue jsDOMWindowCredentialConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
950 | bool setJSDOMWindowCredentialConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
951 | #endif |
952 | #if ENABLE(WEB_AUTHN) |
953 | JSC::EncodedJSValue jsDOMWindowCredentialsContainerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
954 | bool setJSDOMWindowCredentialsContainerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
955 | #endif |
956 | JSC::EncodedJSValue jsDOMWindowFileSystemConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
957 | bool setJSDOMWindowFileSystemConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
958 | JSC::EncodedJSValue jsDOMWindowFileSystemDirectoryEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
959 | bool setJSDOMWindowFileSystemDirectoryEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
960 | JSC::EncodedJSValue jsDOMWindowFileSystemDirectoryReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
961 | bool setJSDOMWindowFileSystemDirectoryReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
962 | JSC::EncodedJSValue jsDOMWindowFileSystemEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
963 | bool setJSDOMWindowFileSystemEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
964 | JSC::EncodedJSValue jsDOMWindowFileSystemFileEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
965 | bool setJSDOMWindowFileSystemFileEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
966 | JSC::EncodedJSValue jsDOMWindowHeadersConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
967 | bool setJSDOMWindowHeadersConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
968 | JSC::EncodedJSValue jsDOMWindowRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
969 | bool setJSDOMWindowRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
970 | JSC::EncodedJSValue jsDOMWindowResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
971 | bool setJSDOMWindowResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
972 | #if ENABLE(INDEXED_DATABASE) |
973 | JSC::EncodedJSValue jsDOMWindowIDBCursorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
974 | bool setJSDOMWindowIDBCursorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
975 | #endif |
976 | #if ENABLE(INDEXED_DATABASE) |
977 | JSC::EncodedJSValue jsDOMWindowIDBCursorWithValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
978 | bool setJSDOMWindowIDBCursorWithValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
979 | #endif |
980 | #if ENABLE(INDEXED_DATABASE) |
981 | JSC::EncodedJSValue jsDOMWindowIDBDatabaseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
982 | bool setJSDOMWindowIDBDatabaseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
983 | #endif |
984 | #if ENABLE(INDEXED_DATABASE) |
985 | JSC::EncodedJSValue jsDOMWindowIDBFactoryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
986 | bool setJSDOMWindowIDBFactoryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
987 | #endif |
988 | #if ENABLE(INDEXED_DATABASE) |
989 | JSC::EncodedJSValue jsDOMWindowIDBIndexConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
990 | bool setJSDOMWindowIDBIndexConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
991 | #endif |
992 | #if ENABLE(INDEXED_DATABASE) |
993 | JSC::EncodedJSValue jsDOMWindowIDBKeyRangeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
994 | bool setJSDOMWindowIDBKeyRangeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
995 | #endif |
996 | #if ENABLE(INDEXED_DATABASE) |
997 | JSC::EncodedJSValue jsDOMWindowIDBObjectStoreConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
998 | bool setJSDOMWindowIDBObjectStoreConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
999 | #endif |
1000 | #if ENABLE(INDEXED_DATABASE) |
1001 | JSC::EncodedJSValue jsDOMWindowIDBOpenDBRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1002 | bool setJSDOMWindowIDBOpenDBRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1003 | #endif |
1004 | #if ENABLE(INDEXED_DATABASE) |
1005 | JSC::EncodedJSValue jsDOMWindowIDBRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1006 | bool setJSDOMWindowIDBRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1007 | #endif |
1008 | #if ENABLE(INDEXED_DATABASE) |
1009 | JSC::EncodedJSValue jsDOMWindowIDBTransactionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1010 | bool setJSDOMWindowIDBTransactionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1011 | #endif |
1012 | #if ENABLE(INDEXED_DATABASE) |
1013 | JSC::EncodedJSValue jsDOMWindowIDBVersionChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1014 | bool setJSDOMWindowIDBVersionChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1015 | #endif |
1016 | JSC::EncodedJSValue jsDOMWindowMediaCapabilitiesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1017 | bool setJSDOMWindowMediaCapabilitiesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1018 | JSC::EncodedJSValue jsDOMWindowScreenLuminanceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1019 | bool setJSDOMWindowScreenLuminanceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1020 | #if ENABLE(MEDIA_STREAM) |
1021 | JSC::EncodedJSValue jsDOMWindowBlobEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1022 | bool setJSDOMWindowBlobEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1023 | #endif |
1024 | #if ENABLE(MEDIA_STREAM) |
1025 | JSC::EncodedJSValue jsDOMWindowMediaRecorderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1026 | bool setJSDOMWindowMediaRecorderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1027 | #endif |
1028 | #if ENABLE(MEDIA_STREAM) |
1029 | JSC::EncodedJSValue jsDOMWindowMediaRecorderErrorEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1030 | bool setJSDOMWindowMediaRecorderErrorEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1031 | #endif |
1032 | #if ENABLE(MEDIA_SESSION) |
1033 | JSC::EncodedJSValue jsDOMWindowMediaRemoteControlsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1034 | bool setJSDOMWindowMediaRemoteControlsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1035 | #endif |
1036 | #if ENABLE(MEDIA_SESSION) |
1037 | JSC::EncodedJSValue jsDOMWindowMediaSessionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1038 | bool setJSDOMWindowMediaSessionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1039 | #endif |
1040 | #if ENABLE(MEDIA_SOURCE) |
1041 | JSC::EncodedJSValue jsDOMWindowMediaSourceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1042 | bool setJSDOMWindowMediaSourceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1043 | #endif |
1044 | #if ENABLE(MEDIA_SOURCE) |
1045 | JSC::EncodedJSValue jsDOMWindowSourceBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1046 | bool setJSDOMWindowSourceBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1047 | #endif |
1048 | #if ENABLE(MEDIA_SOURCE) |
1049 | JSC::EncodedJSValue jsDOMWindowSourceBufferListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1050 | bool setJSDOMWindowSourceBufferListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1051 | #endif |
1052 | #if ENABLE(MEDIA_STREAM) |
1053 | JSC::EncodedJSValue jsDOMWindowCanvasCaptureMediaStreamTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1054 | bool setJSDOMWindowCanvasCaptureMediaStreamTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1055 | #endif |
1056 | #if ENABLE(MEDIA_STREAM) |
1057 | JSC::EncodedJSValue jsDOMWindowMediaDeviceInfoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1058 | bool setJSDOMWindowMediaDeviceInfoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1059 | #endif |
1060 | #if ENABLE(MEDIA_STREAM) |
1061 | JSC::EncodedJSValue jsDOMWindowMediaDevicesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1062 | bool setJSDOMWindowMediaDevicesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1063 | #endif |
1064 | #if ENABLE(MEDIA_STREAM) |
1065 | JSC::EncodedJSValue jsDOMWindowMediaStreamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1066 | bool setJSDOMWindowMediaStreamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1067 | #endif |
1068 | #if ENABLE(MEDIA_STREAM) |
1069 | JSC::EncodedJSValue jsDOMWindowMediaStreamTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1070 | bool setJSDOMWindowMediaStreamTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1071 | #endif |
1072 | #if ENABLE(MEDIA_STREAM) |
1073 | JSC::EncodedJSValue jsDOMWindowMediaStreamTrackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1074 | bool setJSDOMWindowMediaStreamTrackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1075 | #endif |
1076 | #if ENABLE(MEDIA_STREAM) |
1077 | JSC::EncodedJSValue jsDOMWindowOverconstrainedErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1078 | bool setJSDOMWindowOverconstrainedErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1079 | #endif |
1080 | #if ENABLE(MEDIA_STREAM) |
1081 | JSC::EncodedJSValue jsDOMWindowOverconstrainedErrorEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1082 | bool setJSDOMWindowOverconstrainedErrorEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1083 | #endif |
1084 | #if ENABLE(WEB_RTC) |
1085 | JSC::EncodedJSValue jsDOMWindowRTCCertificateConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1086 | bool setJSDOMWindowRTCCertificateConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1087 | #endif |
1088 | #if ENABLE(WEB_RTC_DTMF) |
1089 | JSC::EncodedJSValue jsDOMWindowRTCDTMFSenderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1090 | bool setJSDOMWindowRTCDTMFSenderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1091 | #endif |
1092 | #if ENABLE(WEB_RTC_DTMF) |
1093 | JSC::EncodedJSValue jsDOMWindowRTCDTMFToneChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1094 | bool setJSDOMWindowRTCDTMFToneChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1095 | #endif |
1096 | #if ENABLE(WEB_RTC) |
1097 | JSC::EncodedJSValue jsDOMWindowRTCDataChannelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1098 | bool setJSDOMWindowRTCDataChannelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1099 | #endif |
1100 | #if ENABLE(WEB_RTC) |
1101 | JSC::EncodedJSValue jsDOMWindowRTCDataChannelEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1102 | bool setJSDOMWindowRTCDataChannelEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1103 | #endif |
1104 | #if ENABLE(WEB_RTC) |
1105 | JSC::EncodedJSValue jsDOMWindowRTCIceCandidateConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1106 | bool setJSDOMWindowRTCIceCandidateConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1107 | #endif |
1108 | #if ENABLE(WEB_RTC) |
1109 | JSC::EncodedJSValue jsDOMWindowRTCIceTransportConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1110 | bool setJSDOMWindowRTCIceTransportConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1111 | #endif |
1112 | #if ENABLE(WEB_RTC) |
1113 | JSC::EncodedJSValue jsDOMWindowRTCPeerConnectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1114 | bool setJSDOMWindowRTCPeerConnectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1115 | #endif |
1116 | #if ENABLE(WEB_RTC) |
1117 | JSC::EncodedJSValue jsDOMWindowRTCPeerConnectionIceEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1118 | bool setJSDOMWindowRTCPeerConnectionIceEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1119 | #endif |
1120 | #if ENABLE(WEB_RTC) |
1121 | JSC::EncodedJSValue jsDOMWindowRTCRtpReceiverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1122 | bool setJSDOMWindowRTCRtpReceiverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1123 | #endif |
1124 | #if ENABLE(WEB_RTC) |
1125 | JSC::EncodedJSValue jsDOMWindowRTCRtpSenderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1126 | bool setJSDOMWindowRTCRtpSenderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1127 | #endif |
1128 | #if ENABLE(WEB_RTC) |
1129 | JSC::EncodedJSValue jsDOMWindowRTCRtpTransceiverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1130 | bool setJSDOMWindowRTCRtpTransceiverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1131 | #endif |
1132 | #if ENABLE(WEB_RTC) |
1133 | JSC::EncodedJSValue jsDOMWindowRTCSessionDescriptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1134 | bool setJSDOMWindowRTCSessionDescriptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1135 | #endif |
1136 | #if ENABLE(WEB_RTC) |
1137 | JSC::EncodedJSValue jsDOMWindowRTCStatsReportConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1138 | bool setJSDOMWindowRTCStatsReportConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1139 | #endif |
1140 | #if ENABLE(WEB_RTC) |
1141 | JSC::EncodedJSValue jsDOMWindowRTCTrackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1142 | bool setJSDOMWindowRTCTrackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1143 | #endif |
1144 | #if ENABLE(NOTIFICATIONS) |
1145 | JSC::EncodedJSValue jsDOMWindowNotificationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1146 | bool setJSDOMWindowNotificationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1147 | #endif |
1148 | #if ENABLE(PAYMENT_REQUEST) |
1149 | JSC::EncodedJSValue jsDOMWindowMerchantValidationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1150 | bool setJSDOMWindowMerchantValidationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1151 | #endif |
1152 | #if ENABLE(PAYMENT_REQUEST) |
1153 | JSC::EncodedJSValue jsDOMWindowPaymentAddressConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1154 | bool setJSDOMWindowPaymentAddressConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1155 | #endif |
1156 | #if ENABLE(PAYMENT_REQUEST) |
1157 | JSC::EncodedJSValue jsDOMWindowPaymentMethodChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1158 | bool setJSDOMWindowPaymentMethodChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1159 | #endif |
1160 | #if ENABLE(PAYMENT_REQUEST) |
1161 | JSC::EncodedJSValue jsDOMWindowPaymentRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1162 | bool setJSDOMWindowPaymentRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1163 | #endif |
1164 | #if ENABLE(PAYMENT_REQUEST) |
1165 | JSC::EncodedJSValue jsDOMWindowPaymentRequestUpdateEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1166 | bool setJSDOMWindowPaymentRequestUpdateEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1167 | #endif |
1168 | #if ENABLE(PAYMENT_REQUEST) |
1169 | JSC::EncodedJSValue jsDOMWindowPaymentResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1170 | bool setJSDOMWindowPaymentResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1171 | #endif |
1172 | #if ENABLE(SPEECH_SYNTHESIS) |
1173 | JSC::EncodedJSValue jsDOMWindowSpeechSynthesisEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1174 | bool setJSDOMWindowSpeechSynthesisEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1175 | #endif |
1176 | #if ENABLE(SPEECH_SYNTHESIS) |
1177 | JSC::EncodedJSValue jsDOMWindowSpeechSynthesisUtteranceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1178 | bool setJSDOMWindowSpeechSynthesisUtteranceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1179 | #endif |
1180 | #if ENABLE(STREAMS_API) |
1181 | JSC::EncodedJSValue jsDOMWindowByteLengthQueuingStrategyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1182 | bool setJSDOMWindowByteLengthQueuingStrategyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1183 | #endif |
1184 | #if ENABLE(STREAMS_API) |
1185 | JSC::EncodedJSValue jsDOMWindowCountQueuingStrategyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1186 | bool setJSDOMWindowCountQueuingStrategyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1187 | #endif |
1188 | #if ENABLE(STREAMS_API) |
1189 | JSC::EncodedJSValue jsDOMWindowReadableByteStreamControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1190 | bool setJSDOMWindowReadableByteStreamControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1191 | #endif |
1192 | #if ENABLE(STREAMS_API) |
1193 | JSC::EncodedJSValue jsDOMWindowReadableStreamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1194 | bool setJSDOMWindowReadableStreamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1195 | #endif |
1196 | #if ENABLE(STREAMS_API) |
1197 | JSC::EncodedJSValue jsDOMWindowReadableStreamBYOBReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1198 | bool setJSDOMWindowReadableStreamBYOBReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1199 | #endif |
1200 | #if ENABLE(STREAMS_API) |
1201 | JSC::EncodedJSValue jsDOMWindowReadableStreamBYOBRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1202 | bool setJSDOMWindowReadableStreamBYOBRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1203 | #endif |
1204 | #if ENABLE(STREAMS_API) |
1205 | JSC::EncodedJSValue jsDOMWindowReadableStreamDefaultControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1206 | bool setJSDOMWindowReadableStreamDefaultControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1207 | #endif |
1208 | #if ENABLE(STREAMS_API) |
1209 | JSC::EncodedJSValue jsDOMWindowReadableStreamDefaultReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1210 | bool setJSDOMWindowReadableStreamDefaultReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1211 | #endif |
1212 | #if ENABLE(STREAMS_API) |
1213 | JSC::EncodedJSValue jsDOMWindowWritableStreamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1214 | bool setJSDOMWindowWritableStreamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1215 | #endif |
1216 | #if ENABLE(WEB_AUDIO) |
1217 | JSC::EncodedJSValue jsDOMWindowAnalyserNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1218 | bool setJSDOMWindowAnalyserNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1219 | #endif |
1220 | #if ENABLE(WEB_AUDIO) |
1221 | JSC::EncodedJSValue jsDOMWindowAudioBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1222 | bool setJSDOMWindowAudioBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1223 | #endif |
1224 | #if ENABLE(WEB_AUDIO) |
1225 | JSC::EncodedJSValue jsDOMWindowAudioBufferSourceNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1226 | bool setJSDOMWindowAudioBufferSourceNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1227 | #endif |
1228 | #if ENABLE(WEB_AUDIO) |
1229 | JSC::EncodedJSValue jsDOMWindowWebkitAudioContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1230 | bool setJSDOMWindowWebkitAudioContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1231 | #endif |
1232 | #if ENABLE(WEB_AUDIO) |
1233 | JSC::EncodedJSValue jsDOMWindowAudioDestinationNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1234 | bool setJSDOMWindowAudioDestinationNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1235 | #endif |
1236 | #if ENABLE(WEB_AUDIO) |
1237 | JSC::EncodedJSValue jsDOMWindowAudioListenerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1238 | bool setJSDOMWindowAudioListenerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1239 | #endif |
1240 | #if ENABLE(WEB_AUDIO) |
1241 | JSC::EncodedJSValue jsDOMWindowAudioNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1242 | bool setJSDOMWindowAudioNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1243 | #endif |
1244 | #if ENABLE(WEB_AUDIO) |
1245 | JSC::EncodedJSValue jsDOMWindowAudioParamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1246 | bool setJSDOMWindowAudioParamConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1247 | #endif |
1248 | #if ENABLE(WEB_AUDIO) |
1249 | JSC::EncodedJSValue jsDOMWindowAudioProcessingEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1250 | bool setJSDOMWindowAudioProcessingEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1251 | #endif |
1252 | #if ENABLE(WEB_AUDIO) |
1253 | JSC::EncodedJSValue jsDOMWindowBiquadFilterNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1254 | bool setJSDOMWindowBiquadFilterNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1255 | #endif |
1256 | #if ENABLE(WEB_AUDIO) |
1257 | JSC::EncodedJSValue jsDOMWindowChannelMergerNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1258 | bool setJSDOMWindowChannelMergerNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1259 | #endif |
1260 | #if ENABLE(WEB_AUDIO) |
1261 | JSC::EncodedJSValue jsDOMWindowChannelSplitterNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1262 | bool setJSDOMWindowChannelSplitterNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1263 | #endif |
1264 | #if ENABLE(WEB_AUDIO) |
1265 | JSC::EncodedJSValue jsDOMWindowConvolverNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1266 | bool setJSDOMWindowConvolverNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1267 | #endif |
1268 | #if ENABLE(WEB_AUDIO) |
1269 | JSC::EncodedJSValue jsDOMWindowDelayNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1270 | bool setJSDOMWindowDelayNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1271 | #endif |
1272 | #if ENABLE(WEB_AUDIO) |
1273 | JSC::EncodedJSValue jsDOMWindowDynamicsCompressorNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1274 | bool setJSDOMWindowDynamicsCompressorNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1275 | #endif |
1276 | #if ENABLE(WEB_AUDIO) |
1277 | JSC::EncodedJSValue jsDOMWindowGainNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1278 | bool setJSDOMWindowGainNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1279 | #endif |
1280 | #if ENABLE(VIDEO) && ENABLE(WEB_AUDIO) |
1281 | JSC::EncodedJSValue jsDOMWindowMediaElementAudioSourceNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1282 | bool setJSDOMWindowMediaElementAudioSourceNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1283 | #endif |
1284 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
1285 | JSC::EncodedJSValue jsDOMWindowMediaStreamAudioDestinationNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1286 | bool setJSDOMWindowMediaStreamAudioDestinationNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1287 | #endif |
1288 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
1289 | JSC::EncodedJSValue jsDOMWindowMediaStreamAudioSourceNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1290 | bool setJSDOMWindowMediaStreamAudioSourceNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1291 | #endif |
1292 | #if ENABLE(WEB_AUDIO) |
1293 | JSC::EncodedJSValue jsDOMWindowOfflineAudioCompletionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1294 | bool setJSDOMWindowOfflineAudioCompletionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1295 | #endif |
1296 | #if ENABLE(WEB_AUDIO) |
1297 | JSC::EncodedJSValue jsDOMWindowWebkitOfflineAudioContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1298 | bool setJSDOMWindowWebkitOfflineAudioContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1299 | #endif |
1300 | #if ENABLE(WEB_AUDIO) |
1301 | JSC::EncodedJSValue jsDOMWindowOscillatorNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1302 | bool setJSDOMWindowOscillatorNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1303 | #endif |
1304 | #if ENABLE(WEB_AUDIO) |
1305 | JSC::EncodedJSValue jsDOMWindowWebkitAudioPannerNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1306 | bool setJSDOMWindowWebkitAudioPannerNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1307 | #endif |
1308 | #if ENABLE(WEB_AUDIO) |
1309 | JSC::EncodedJSValue jsDOMWindowPeriodicWaveConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1310 | bool setJSDOMWindowPeriodicWaveConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1311 | #endif |
1312 | #if ENABLE(WEB_AUDIO) |
1313 | JSC::EncodedJSValue jsDOMWindowScriptProcessorNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1314 | bool setJSDOMWindowScriptProcessorNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1315 | #endif |
1316 | #if ENABLE(WEB_AUDIO) |
1317 | JSC::EncodedJSValue jsDOMWindowWaveShaperNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1318 | bool setJSDOMWindowWaveShaperNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1319 | #endif |
1320 | #if ENABLE(WEB_AUTHN) |
1321 | JSC::EncodedJSValue jsDOMWindowAuthenticatorAssertionResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1322 | bool setJSDOMWindowAuthenticatorAssertionResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1323 | #endif |
1324 | #if ENABLE(WEB_AUTHN) |
1325 | JSC::EncodedJSValue jsDOMWindowAuthenticatorAttestationResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1326 | bool setJSDOMWindowAuthenticatorAttestationResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1327 | #endif |
1328 | #if ENABLE(WEB_AUTHN) |
1329 | JSC::EncodedJSValue jsDOMWindowAuthenticatorResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1330 | bool setJSDOMWindowAuthenticatorResponseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1331 | #endif |
1332 | #if ENABLE(WEB_AUTHN) |
1333 | JSC::EncodedJSValue jsDOMWindowPublicKeyCredentialConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1334 | bool setJSDOMWindowPublicKeyCredentialConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1335 | #endif |
1336 | JSC::EncodedJSValue jsDOMWindowDatabaseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1337 | bool setJSDOMWindowDatabaseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1338 | JSC::EncodedJSValue jsDOMWindowSQLErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1339 | bool setJSDOMWindowSQLErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1340 | JSC::EncodedJSValue jsDOMWindowSQLResultSetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1341 | bool setJSDOMWindowSQLResultSetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1342 | JSC::EncodedJSValue jsDOMWindowSQLResultSetRowListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1343 | bool setJSDOMWindowSQLResultSetRowListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1344 | JSC::EncodedJSValue jsDOMWindowSQLTransactionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1345 | bool setJSDOMWindowSQLTransactionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1346 | #if ENABLE(WEBGPU) |
1347 | JSC::EncodedJSValue jsDOMWindowGPUBufferUsageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1348 | bool setJSDOMWindowGPUBufferUsageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1349 | #endif |
1350 | #if ENABLE(WEBGPU) |
1351 | JSC::EncodedJSValue jsDOMWindowGPUCanvasContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1352 | bool setJSDOMWindowGPUCanvasContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1353 | #endif |
1354 | #if ENABLE(WEBGPU) |
1355 | JSC::EncodedJSValue jsDOMWindowGPUColorWriteBitsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1356 | bool setJSDOMWindowGPUColorWriteBitsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1357 | #endif |
1358 | #if ENABLE(WEBGPU) |
1359 | JSC::EncodedJSValue jsDOMWindowGPUShaderStageBitConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1360 | bool setJSDOMWindowGPUShaderStageBitConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1361 | #endif |
1362 | #if ENABLE(WEBGPU) |
1363 | JSC::EncodedJSValue jsDOMWindowGPUTextureUsageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1364 | bool setJSDOMWindowGPUTextureUsageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1365 | #endif |
1366 | #if ENABLE(WEBGPU) |
1367 | JSC::EncodedJSValue jsDOMWindowGPUConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1368 | bool setJSDOMWindowGPUConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1369 | #endif |
1370 | #if ENABLE(WEBGPU) |
1371 | JSC::EncodedJSValue jsDOMWindowGPUAdapterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1372 | bool setJSDOMWindowGPUAdapterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1373 | #endif |
1374 | #if ENABLE(WEBGPU) |
1375 | JSC::EncodedJSValue jsDOMWindowGPUBindGroupConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1376 | bool setJSDOMWindowGPUBindGroupConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1377 | #endif |
1378 | #if ENABLE(WEBGPU) |
1379 | JSC::EncodedJSValue jsDOMWindowGPUBindGroupLayoutConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1380 | bool setJSDOMWindowGPUBindGroupLayoutConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1381 | #endif |
1382 | #if ENABLE(WEBGPU) |
1383 | JSC::EncodedJSValue jsDOMWindowGPUBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1384 | bool setJSDOMWindowGPUBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1385 | #endif |
1386 | #if ENABLE(WEBGPU) |
1387 | JSC::EncodedJSValue jsDOMWindowGPUCommandBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1388 | bool setJSDOMWindowGPUCommandBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1389 | #endif |
1390 | #if ENABLE(WEBGPU) |
1391 | JSC::EncodedJSValue jsDOMWindowGPUCommandEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1392 | bool setJSDOMWindowGPUCommandEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1393 | #endif |
1394 | #if ENABLE(WEBGPU) |
1395 | JSC::EncodedJSValue jsDOMWindowGPUComputePassEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1396 | bool setJSDOMWindowGPUComputePassEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1397 | #endif |
1398 | #if ENABLE(WEBGPU) |
1399 | JSC::EncodedJSValue jsDOMWindowGPUComputePipelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1400 | bool setJSDOMWindowGPUComputePipelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1401 | #endif |
1402 | #if ENABLE(WEBGPU) |
1403 | JSC::EncodedJSValue jsDOMWindowGPUDeviceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1404 | bool setJSDOMWindowGPUDeviceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1405 | #endif |
1406 | #if ENABLE(WEBGPU) |
1407 | JSC::EncodedJSValue jsDOMWindowGPUPipelineLayoutConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1408 | bool setJSDOMWindowGPUPipelineLayoutConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1409 | #endif |
1410 | #if ENABLE(WEBGPU) |
1411 | JSC::EncodedJSValue jsDOMWindowGPUProgrammablePassEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1412 | bool setJSDOMWindowGPUProgrammablePassEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1413 | #endif |
1414 | #if ENABLE(WEBGPU) |
1415 | JSC::EncodedJSValue jsDOMWindowGPUQueueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1416 | bool setJSDOMWindowGPUQueueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1417 | #endif |
1418 | #if ENABLE(WEBGPU) |
1419 | JSC::EncodedJSValue jsDOMWindowGPURenderPassEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1420 | bool setJSDOMWindowGPURenderPassEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1421 | #endif |
1422 | #if ENABLE(WEBGPU) |
1423 | JSC::EncodedJSValue jsDOMWindowGPURenderPipelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1424 | bool setJSDOMWindowGPURenderPipelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1425 | #endif |
1426 | #if ENABLE(WEBGPU) |
1427 | JSC::EncodedJSValue jsDOMWindowGPUSamplerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1428 | bool setJSDOMWindowGPUSamplerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1429 | #endif |
1430 | #if ENABLE(WEBGPU) |
1431 | JSC::EncodedJSValue jsDOMWindowGPUShaderModuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1432 | bool setJSDOMWindowGPUShaderModuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1433 | #endif |
1434 | #if ENABLE(WEBGPU) |
1435 | JSC::EncodedJSValue jsDOMWindowGPUSwapChainConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1436 | bool setJSDOMWindowGPUSwapChainConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1437 | #endif |
1438 | #if ENABLE(WEBGPU) |
1439 | JSC::EncodedJSValue jsDOMWindowGPUTextureConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1440 | bool setJSDOMWindowGPUTextureConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1441 | #endif |
1442 | #if ENABLE(WEBGPU) |
1443 | JSC::EncodedJSValue jsDOMWindowGPUTextureViewConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1444 | bool setJSDOMWindowGPUTextureViewConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1445 | #endif |
1446 | JSC::EncodedJSValue jsDOMWindowCloseEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1447 | bool setJSDOMWindowCloseEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1448 | JSC::EncodedJSValue jsDOMWindowWebSocketConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1449 | bool setJSDOMWindowWebSocketConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1450 | JSC::EncodedJSValue jsDOMWindowVRDisplayConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1451 | bool setJSDOMWindowVRDisplayConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1452 | JSC::EncodedJSValue jsDOMWindowVRDisplayCapabilitiesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1453 | bool setJSDOMWindowVRDisplayCapabilitiesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1454 | JSC::EncodedJSValue jsDOMWindowVRDisplayEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1455 | bool setJSDOMWindowVRDisplayEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1456 | JSC::EncodedJSValue jsDOMWindowVREyeParametersConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1457 | bool setJSDOMWindowVREyeParametersConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1458 | JSC::EncodedJSValue jsDOMWindowVRFieldOfViewConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1459 | bool setJSDOMWindowVRFieldOfViewConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1460 | JSC::EncodedJSValue jsDOMWindowVRFrameDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1461 | bool setJSDOMWindowVRFrameDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1462 | JSC::EncodedJSValue jsDOMWindowVRPoseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1463 | bool setJSDOMWindowVRPoseConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1464 | JSC::EncodedJSValue jsDOMWindowVRStageParametersConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1465 | bool setJSDOMWindowVRStageParametersConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1466 | JSC::EncodedJSValue jsDOMWindowAnimationEffectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1467 | bool setJSDOMWindowAnimationEffectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1468 | JSC::EncodedJSValue jsDOMWindowAnimationPlaybackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1469 | bool setJSDOMWindowAnimationPlaybackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1470 | JSC::EncodedJSValue jsDOMWindowAnimationTimelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1471 | bool setJSDOMWindowAnimationTimelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1472 | JSC::EncodedJSValue jsDOMWindowCSSAnimationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1473 | bool setJSDOMWindowCSSAnimationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1474 | JSC::EncodedJSValue jsDOMWindowCSSTransitionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1475 | bool setJSDOMWindowCSSTransitionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1476 | JSC::EncodedJSValue jsDOMWindowDocumentTimelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1477 | bool setJSDOMWindowDocumentTimelineConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1478 | JSC::EncodedJSValue jsDOMWindowKeyframeEffectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1479 | bool setJSDOMWindowKeyframeEffectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1480 | JSC::EncodedJSValue jsDOMWindowAnimationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1481 | bool setJSDOMWindowAnimationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1482 | #if ENABLE(WEB_CRYPTO) |
1483 | JSC::EncodedJSValue jsDOMWindowCryptoKeyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1484 | bool setJSDOMWindowCryptoKeyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1485 | #endif |
1486 | #if ENABLE(WEB_CRYPTO) |
1487 | JSC::EncodedJSValue jsDOMWindowSubtleCryptoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1488 | bool setJSDOMWindowSubtleCryptoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1489 | #endif |
1490 | JSC::EncodedJSValue jsDOMWindowCSSFontFaceRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1491 | bool setJSDOMWindowCSSFontFaceRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1492 | JSC::EncodedJSValue jsDOMWindowCSSImportRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1493 | bool setJSDOMWindowCSSImportRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1494 | JSC::EncodedJSValue jsDOMWindowCSSKeyframeRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1495 | bool setJSDOMWindowCSSKeyframeRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1496 | JSC::EncodedJSValue jsDOMWindowCSSKeyframesRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1497 | bool setJSDOMWindowCSSKeyframesRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1498 | JSC::EncodedJSValue jsDOMWindowCSSMediaRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1499 | bool setJSDOMWindowCSSMediaRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1500 | JSC::EncodedJSValue jsDOMWindowCSSNamespaceRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1501 | bool setJSDOMWindowCSSNamespaceRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1502 | JSC::EncodedJSValue jsDOMWindowCSSPageRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1503 | bool setJSDOMWindowCSSPageRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1504 | JSC::EncodedJSValue jsDOMWindowCSSRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1505 | bool setJSDOMWindowCSSRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1506 | JSC::EncodedJSValue jsDOMWindowCSSRuleListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1507 | bool setJSDOMWindowCSSRuleListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1508 | JSC::EncodedJSValue jsDOMWindowCSSStyleDeclarationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1509 | bool setJSDOMWindowCSSStyleDeclarationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1510 | JSC::EncodedJSValue jsDOMWindowCSSStyleRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1511 | bool setJSDOMWindowCSSStyleRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1512 | JSC::EncodedJSValue jsDOMWindowCSSStyleSheetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1513 | bool setJSDOMWindowCSSStyleSheetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1514 | JSC::EncodedJSValue jsDOMWindowCSSSupportsRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1515 | bool setJSDOMWindowCSSSupportsRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1516 | JSC::EncodedJSValue jsDOMWindowCSSConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1517 | bool setJSDOMWindowCSSConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1518 | JSC::EncodedJSValue jsDOMWindowDOMMatrixConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1519 | bool setJSDOMWindowDOMMatrixConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1520 | JSC::EncodedJSValue jsDOMWindowDOMMatrixReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1521 | bool setJSDOMWindowDOMMatrixReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1522 | JSC::EncodedJSValue jsDOMWindowCounterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1523 | bool setJSDOMWindowCounterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1524 | JSC::EncodedJSValue jsDOMWindowCSSPrimitiveValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1525 | bool setJSDOMWindowCSSPrimitiveValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1526 | JSC::EncodedJSValue jsDOMWindowRGBColorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1527 | bool setJSDOMWindowRGBColorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1528 | JSC::EncodedJSValue jsDOMWindowRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1529 | bool setJSDOMWindowRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1530 | JSC::EncodedJSValue jsDOMWindowCSSValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1531 | bool setJSDOMWindowCSSValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1532 | JSC::EncodedJSValue jsDOMWindowCSSValueListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1533 | bool setJSDOMWindowCSSValueListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1534 | JSC::EncodedJSValue jsDOMWindowFontFaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1535 | bool setJSDOMWindowFontFaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1536 | JSC::EncodedJSValue jsDOMWindowFontFaceSetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1537 | bool setJSDOMWindowFontFaceSetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1538 | JSC::EncodedJSValue jsDOMWindowMediaListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1539 | bool setJSDOMWindowMediaListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1540 | JSC::EncodedJSValue jsDOMWindowStyleSheetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1541 | bool setJSDOMWindowStyleSheetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1542 | JSC::EncodedJSValue jsDOMWindowStyleSheetListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1543 | bool setJSDOMWindowStyleSheetListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1544 | JSC::EncodedJSValue jsDOMWindowWebKitCSSMatrixConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1545 | bool setJSDOMWindowWebKitCSSMatrixConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1546 | #if ENABLE(CSS_DEVICE_ADAPTATION) |
1547 | JSC::EncodedJSValue jsDOMWindowWebKitCSSViewportRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1548 | bool setJSDOMWindowWebKitCSSViewportRuleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1549 | #endif |
1550 | #if ENABLE(CSS_TYPED_OM) |
1551 | JSC::EncodedJSValue jsDOMWindowStylePropertyMapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1552 | bool setJSDOMWindowStylePropertyMapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1553 | #endif |
1554 | #if ENABLE(CSS_TYPED_OM) |
1555 | JSC::EncodedJSValue jsDOMWindowStylePropertyMapReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1556 | bool setJSDOMWindowStylePropertyMapReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1557 | #endif |
1558 | #if ENABLE(CSS_TYPED_OM) |
1559 | JSC::EncodedJSValue jsDOMWindowCSSImageValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1560 | bool setJSDOMWindowCSSImageValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1561 | #endif |
1562 | #if ENABLE(CSS_TYPED_OM) |
1563 | JSC::EncodedJSValue jsDOMWindowCSSNumericValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1564 | bool setJSDOMWindowCSSNumericValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1565 | #endif |
1566 | #if ENABLE(CSS_TYPED_OM) |
1567 | JSC::EncodedJSValue jsDOMWindowCSSStyleValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1568 | bool setJSDOMWindowCSSStyleValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1569 | #endif |
1570 | #if ENABLE(CSS_TYPED_OM) |
1571 | JSC::EncodedJSValue jsDOMWindowCSSUnitValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1572 | bool setJSDOMWindowCSSUnitValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1573 | #endif |
1574 | #if ENABLE(CSS_TYPED_OM) |
1575 | JSC::EncodedJSValue jsDOMWindowCSSUnparsedValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1576 | bool setJSDOMWindowCSSUnparsedValueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1577 | #endif |
1578 | JSC::EncodedJSValue jsDOMWindowAbortControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1579 | bool setJSDOMWindowAbortControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1580 | JSC::EncodedJSValue jsDOMWindowAbortSignalConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1581 | bool setJSDOMWindowAbortSignalConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1582 | JSC::EncodedJSValue jsDOMWindowAnimationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1583 | bool setJSDOMWindowAnimationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1584 | JSC::EncodedJSValue jsDOMWindowAttrConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1585 | bool setJSDOMWindowAttrConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1586 | JSC::EncodedJSValue jsDOMWindowBeforeLoadEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1587 | bool setJSDOMWindowBeforeLoadEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1588 | JSC::EncodedJSValue jsDOMWindowBeforeUnloadEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1589 | bool setJSDOMWindowBeforeUnloadEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1590 | JSC::EncodedJSValue jsDOMWindowCDATASectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1591 | bool setJSDOMWindowCDATASectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1592 | JSC::EncodedJSValue jsDOMWindowCharacterDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1593 | bool setJSDOMWindowCharacterDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1594 | JSC::EncodedJSValue jsDOMWindowClipboardEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1595 | bool setJSDOMWindowClipboardEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1596 | JSC::EncodedJSValue jsDOMWindowCommentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1597 | bool setJSDOMWindowCommentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1598 | JSC::EncodedJSValue jsDOMWindowCompositionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1599 | bool setJSDOMWindowCompositionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1600 | JSC::EncodedJSValue jsDOMWindowCustomElementRegistryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1601 | bool setJSDOMWindowCustomElementRegistryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1602 | JSC::EncodedJSValue jsDOMWindowCustomEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1603 | bool setJSDOMWindowCustomEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1604 | JSC::EncodedJSValue jsDOMWindowDOMExceptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1605 | bool setJSDOMWindowDOMExceptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1606 | JSC::EncodedJSValue jsDOMWindowDOMImplementationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1607 | bool setJSDOMWindowDOMImplementationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1608 | JSC::EncodedJSValue jsDOMWindowDOMPointConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1609 | bool setJSDOMWindowDOMPointConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1610 | JSC::EncodedJSValue jsDOMWindowDOMPointReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1611 | bool setJSDOMWindowDOMPointReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1612 | JSC::EncodedJSValue jsDOMWindowDOMQuadConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1613 | bool setJSDOMWindowDOMQuadConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1614 | JSC::EncodedJSValue jsDOMWindowDOMRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1615 | bool setJSDOMWindowDOMRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1616 | JSC::EncodedJSValue jsDOMWindowDOMRectListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1617 | bool setJSDOMWindowDOMRectListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1618 | JSC::EncodedJSValue jsDOMWindowDOMRectReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1619 | bool setJSDOMWindowDOMRectReadOnlyConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1620 | JSC::EncodedJSValue jsDOMWindowDOMStringListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1621 | bool setJSDOMWindowDOMStringListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1622 | JSC::EncodedJSValue jsDOMWindowDOMStringMapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1623 | bool setJSDOMWindowDOMStringMapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1624 | JSC::EncodedJSValue jsDOMWindowDataTransferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1625 | bool setJSDOMWindowDataTransferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1626 | JSC::EncodedJSValue jsDOMWindowDataTransferItemConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1627 | bool setJSDOMWindowDataTransferItemConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1628 | JSC::EncodedJSValue jsDOMWindowDataTransferItemListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1629 | bool setJSDOMWindowDataTransferItemListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1630 | #if ENABLE(DEVICE_ORIENTATION) |
1631 | JSC::EncodedJSValue jsDOMWindowDeviceMotionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1632 | bool setJSDOMWindowDeviceMotionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1633 | #endif |
1634 | #if ENABLE(DEVICE_ORIENTATION) |
1635 | JSC::EncodedJSValue jsDOMWindowDeviceOrientationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1636 | bool setJSDOMWindowDeviceOrientationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1637 | #endif |
1638 | JSC::EncodedJSValue jsDOMWindowDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1639 | bool setJSDOMWindowDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1640 | JSC::EncodedJSValue jsDOMWindowDocumentFragmentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1641 | bool setJSDOMWindowDocumentFragmentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1642 | JSC::EncodedJSValue jsDOMWindowDocumentTypeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1643 | bool setJSDOMWindowDocumentTypeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1644 | JSC::EncodedJSValue jsDOMWindowElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1645 | bool setJSDOMWindowElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1646 | JSC::EncodedJSValue jsDOMWindowErrorEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1647 | bool setJSDOMWindowErrorEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1648 | JSC::EncodedJSValue jsDOMWindowEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1649 | bool setJSDOMWindowEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1650 | JSC::EncodedJSValue jsDOMWindowEventTargetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1651 | bool setJSDOMWindowEventTargetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1652 | JSC::EncodedJSValue jsDOMWindowFocusEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1653 | bool setJSDOMWindowFocusEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1654 | JSC::EncodedJSValue jsDOMWindowHashChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1655 | bool setJSDOMWindowHashChangeEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1656 | JSC::EncodedJSValue jsDOMWindowInputEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1657 | bool setJSDOMWindowInputEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1658 | JSC::EncodedJSValue jsDOMWindowKeyboardEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1659 | bool setJSDOMWindowKeyboardEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1660 | #if ENABLE(CHANNEL_MESSAGING) |
1661 | JSC::EncodedJSValue jsDOMWindowMessageChannelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1662 | bool setJSDOMWindowMessageChannelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1663 | #endif |
1664 | JSC::EncodedJSValue jsDOMWindowMessageEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1665 | bool setJSDOMWindowMessageEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1666 | JSC::EncodedJSValue jsDOMWindowMessagePortConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1667 | bool setJSDOMWindowMessagePortConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1668 | JSC::EncodedJSValue jsDOMWindowMouseEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1669 | bool setJSDOMWindowMouseEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1670 | JSC::EncodedJSValue jsDOMWindowMutationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1671 | bool setJSDOMWindowMutationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1672 | JSC::EncodedJSValue jsDOMWindowMutationObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1673 | bool setJSDOMWindowMutationObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1674 | JSC::EncodedJSValue jsDOMWindowWebKitMutationObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1675 | bool setJSDOMWindowWebKitMutationObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1676 | JSC::EncodedJSValue jsDOMWindowMutationRecordConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1677 | bool setJSDOMWindowMutationRecordConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1678 | JSC::EncodedJSValue jsDOMWindowNamedNodeMapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1679 | bool setJSDOMWindowNamedNodeMapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1680 | JSC::EncodedJSValue jsDOMWindowNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1681 | bool setJSDOMWindowNodeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1682 | JSC::EncodedJSValue jsDOMWindowNodeFilterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1683 | bool setJSDOMWindowNodeFilterConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1684 | JSC::EncodedJSValue jsDOMWindowNodeIteratorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1685 | bool setJSDOMWindowNodeIteratorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1686 | JSC::EncodedJSValue jsDOMWindowNodeListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1687 | bool setJSDOMWindowNodeListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1688 | JSC::EncodedJSValue jsDOMWindowOverflowEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1689 | bool setJSDOMWindowOverflowEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1690 | JSC::EncodedJSValue jsDOMWindowPageTransitionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1691 | bool setJSDOMWindowPageTransitionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1692 | #if ENABLE(POINTER_EVENTS) |
1693 | JSC::EncodedJSValue jsDOMWindowPointerEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1694 | bool setJSDOMWindowPointerEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1695 | #endif |
1696 | JSC::EncodedJSValue jsDOMWindowPopStateEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1697 | bool setJSDOMWindowPopStateEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1698 | JSC::EncodedJSValue jsDOMWindowProcessingInstructionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1699 | bool setJSDOMWindowProcessingInstructionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1700 | JSC::EncodedJSValue jsDOMWindowProgressEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1701 | bool setJSDOMWindowProgressEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1702 | JSC::EncodedJSValue jsDOMWindowPromiseRejectionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1703 | bool setJSDOMWindowPromiseRejectionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1704 | JSC::EncodedJSValue jsDOMWindowRangeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1705 | bool setJSDOMWindowRangeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1706 | JSC::EncodedJSValue jsDOMWindowSecurityPolicyViolationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1707 | bool setJSDOMWindowSecurityPolicyViolationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1708 | JSC::EncodedJSValue jsDOMWindowShadowRootConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1709 | bool setJSDOMWindowShadowRootConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1710 | JSC::EncodedJSValue jsDOMWindowSpectreGadgetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1711 | bool setJSDOMWindowSpectreGadgetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1712 | JSC::EncodedJSValue jsDOMWindowStaticRangeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1713 | bool setJSDOMWindowStaticRangeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1714 | JSC::EncodedJSValue jsDOMWindowTextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1715 | bool setJSDOMWindowTextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1716 | JSC::EncodedJSValue jsDOMWindowTextDecoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1717 | bool setJSDOMWindowTextDecoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1718 | JSC::EncodedJSValue jsDOMWindowTextEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1719 | bool setJSDOMWindowTextEncoderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1720 | JSC::EncodedJSValue jsDOMWindowTextEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1721 | bool setJSDOMWindowTextEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1722 | #if ENABLE(TOUCH_EVENTS) |
1723 | JSC::EncodedJSValue jsDOMWindowTouchConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1724 | bool setJSDOMWindowTouchConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1725 | #endif |
1726 | #if ENABLE(TOUCH_EVENTS) |
1727 | JSC::EncodedJSValue jsDOMWindowTouchEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1728 | bool setJSDOMWindowTouchEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1729 | #endif |
1730 | #if ENABLE(TOUCH_EVENTS) |
1731 | JSC::EncodedJSValue jsDOMWindowTouchListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1732 | bool setJSDOMWindowTouchListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1733 | #endif |
1734 | JSC::EncodedJSValue jsDOMWindowTransitionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1735 | bool setJSDOMWindowTransitionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1736 | JSC::EncodedJSValue jsDOMWindowTreeWalkerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1737 | bool setJSDOMWindowTreeWalkerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1738 | JSC::EncodedJSValue jsDOMWindowUIEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1739 | bool setJSDOMWindowUIEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1740 | JSC::EncodedJSValue jsDOMWindowWebKitAnimationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1741 | bool setJSDOMWindowWebKitAnimationEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1742 | JSC::EncodedJSValue jsDOMWindowWebKitTransitionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1743 | bool setJSDOMWindowWebKitTransitionEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1744 | JSC::EncodedJSValue jsDOMWindowWheelEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1745 | bool setJSDOMWindowWheelEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1746 | JSC::EncodedJSValue jsDOMWindowXMLDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1747 | bool setJSDOMWindowXMLDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1748 | JSC::EncodedJSValue jsDOMWindowSVGDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1749 | bool setJSDOMWindowSVGDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1750 | JSC::EncodedJSValue jsDOMWindowBlobConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1751 | bool setJSDOMWindowBlobConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1752 | JSC::EncodedJSValue jsDOMWindowFileConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1753 | bool setJSDOMWindowFileConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1754 | JSC::EncodedJSValue jsDOMWindowFileErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1755 | bool setJSDOMWindowFileErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1756 | JSC::EncodedJSValue jsDOMWindowFileListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1757 | bool setJSDOMWindowFileListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1758 | JSC::EncodedJSValue jsDOMWindowFileReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1759 | bool setJSDOMWindowFileReaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1760 | JSC::EncodedJSValue jsDOMWindowFormDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1761 | bool setJSDOMWindowFormDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1762 | JSC::EncodedJSValue jsDOMWindowDOMTokenListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1763 | bool setJSDOMWindowDOMTokenListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1764 | JSC::EncodedJSValue jsDOMWindowURLConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1765 | bool setJSDOMWindowURLConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1766 | JSC::EncodedJSValue jsDOMWindowWebkitURLConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1767 | bool setJSDOMWindowWebkitURLConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1768 | JSC::EncodedJSValue jsDOMWindowHTMLAllCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1769 | bool setJSDOMWindowHTMLAllCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1770 | JSC::EncodedJSValue jsDOMWindowHTMLAnchorElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1771 | bool setJSDOMWindowHTMLAnchorElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1772 | JSC::EncodedJSValue jsDOMWindowHTMLAppletElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1773 | bool setJSDOMWindowHTMLAppletElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1774 | JSC::EncodedJSValue jsDOMWindowHTMLAreaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1775 | bool setJSDOMWindowHTMLAreaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1776 | #if ENABLE(ATTACHMENT_ELEMENT) |
1777 | JSC::EncodedJSValue jsDOMWindowHTMLAttachmentElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1778 | bool setJSDOMWindowHTMLAttachmentElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1779 | #endif |
1780 | #if ENABLE(VIDEO) |
1781 | JSC::EncodedJSValue jsDOMWindowHTMLAudioElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1782 | bool setJSDOMWindowHTMLAudioElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1783 | #endif |
1784 | #if ENABLE(VIDEO) |
1785 | JSC::EncodedJSValue jsDOMWindowAudioConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1786 | bool setJSDOMWindowAudioConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1787 | #endif |
1788 | JSC::EncodedJSValue jsDOMWindowHTMLBRElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1789 | bool setJSDOMWindowHTMLBRElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1790 | JSC::EncodedJSValue jsDOMWindowHTMLBaseElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1791 | bool setJSDOMWindowHTMLBaseElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1792 | JSC::EncodedJSValue jsDOMWindowHTMLBodyElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1793 | bool setJSDOMWindowHTMLBodyElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1794 | JSC::EncodedJSValue jsDOMWindowHTMLButtonElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1795 | bool setJSDOMWindowHTMLButtonElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1796 | JSC::EncodedJSValue jsDOMWindowHTMLCanvasElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1797 | bool setJSDOMWindowHTMLCanvasElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1798 | JSC::EncodedJSValue jsDOMWindowHTMLCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1799 | bool setJSDOMWindowHTMLCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1800 | JSC::EncodedJSValue jsDOMWindowHTMLDListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1801 | bool setJSDOMWindowHTMLDListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1802 | JSC::EncodedJSValue jsDOMWindowHTMLDataElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1803 | bool setJSDOMWindowHTMLDataElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1804 | #if ENABLE(DATALIST_ELEMENT) |
1805 | JSC::EncodedJSValue jsDOMWindowHTMLDataListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1806 | bool setJSDOMWindowHTMLDataListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1807 | #endif |
1808 | JSC::EncodedJSValue jsDOMWindowHTMLDetailsElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1809 | bool setJSDOMWindowHTMLDetailsElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1810 | JSC::EncodedJSValue jsDOMWindowHTMLDirectoryElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1811 | bool setJSDOMWindowHTMLDirectoryElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1812 | JSC::EncodedJSValue jsDOMWindowHTMLDivElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1813 | bool setJSDOMWindowHTMLDivElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1814 | JSC::EncodedJSValue jsDOMWindowHTMLDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1815 | bool setJSDOMWindowHTMLDocumentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1816 | JSC::EncodedJSValue jsDOMWindowHTMLElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1817 | bool setJSDOMWindowHTMLElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1818 | JSC::EncodedJSValue jsDOMWindowHTMLEmbedElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1819 | bool setJSDOMWindowHTMLEmbedElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1820 | JSC::EncodedJSValue jsDOMWindowHTMLFieldSetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1821 | bool setJSDOMWindowHTMLFieldSetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1822 | JSC::EncodedJSValue jsDOMWindowHTMLFontElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1823 | bool setJSDOMWindowHTMLFontElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1824 | JSC::EncodedJSValue jsDOMWindowHTMLFormControlsCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1825 | bool setJSDOMWindowHTMLFormControlsCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1826 | JSC::EncodedJSValue jsDOMWindowHTMLFormElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1827 | bool setJSDOMWindowHTMLFormElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1828 | JSC::EncodedJSValue jsDOMWindowHTMLFrameElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1829 | bool setJSDOMWindowHTMLFrameElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1830 | JSC::EncodedJSValue jsDOMWindowHTMLFrameSetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1831 | bool setJSDOMWindowHTMLFrameSetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1832 | JSC::EncodedJSValue jsDOMWindowHTMLHRElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1833 | bool setJSDOMWindowHTMLHRElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1834 | JSC::EncodedJSValue jsDOMWindowHTMLHeadElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1835 | bool setJSDOMWindowHTMLHeadElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1836 | JSC::EncodedJSValue jsDOMWindowHTMLHeadingElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1837 | bool setJSDOMWindowHTMLHeadingElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1838 | JSC::EncodedJSValue jsDOMWindowHTMLHtmlElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1839 | bool setJSDOMWindowHTMLHtmlElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1840 | JSC::EncodedJSValue jsDOMWindowHTMLIFrameElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1841 | bool setJSDOMWindowHTMLIFrameElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1842 | JSC::EncodedJSValue jsDOMWindowHTMLImageElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1843 | bool setJSDOMWindowHTMLImageElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1844 | JSC::EncodedJSValue jsDOMWindowImageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1845 | bool setJSDOMWindowImageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1846 | JSC::EncodedJSValue jsDOMWindowHTMLInputElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1847 | bool setJSDOMWindowHTMLInputElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1848 | JSC::EncodedJSValue jsDOMWindowHTMLKeygenElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1849 | bool setJSDOMWindowHTMLKeygenElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1850 | JSC::EncodedJSValue jsDOMWindowHTMLLIElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1851 | bool setJSDOMWindowHTMLLIElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1852 | JSC::EncodedJSValue jsDOMWindowHTMLLabelElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1853 | bool setJSDOMWindowHTMLLabelElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1854 | JSC::EncodedJSValue jsDOMWindowHTMLLegendElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1855 | bool setJSDOMWindowHTMLLegendElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1856 | JSC::EncodedJSValue jsDOMWindowHTMLLinkElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1857 | bool setJSDOMWindowHTMLLinkElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1858 | JSC::EncodedJSValue jsDOMWindowHTMLMapElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1859 | bool setJSDOMWindowHTMLMapElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1860 | JSC::EncodedJSValue jsDOMWindowHTMLMarqueeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1861 | bool setJSDOMWindowHTMLMarqueeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1862 | #if ENABLE(VIDEO) |
1863 | JSC::EncodedJSValue jsDOMWindowHTMLMediaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1864 | bool setJSDOMWindowHTMLMediaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1865 | #endif |
1866 | JSC::EncodedJSValue jsDOMWindowHTMLMenuElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1867 | bool setJSDOMWindowHTMLMenuElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1868 | JSC::EncodedJSValue jsDOMWindowHTMLMenuItemElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1869 | bool setJSDOMWindowHTMLMenuItemElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1870 | JSC::EncodedJSValue jsDOMWindowHTMLMetaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1871 | bool setJSDOMWindowHTMLMetaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1872 | #if ENABLE(METER_ELEMENT) |
1873 | JSC::EncodedJSValue jsDOMWindowHTMLMeterElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1874 | bool setJSDOMWindowHTMLMeterElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1875 | #endif |
1876 | JSC::EncodedJSValue jsDOMWindowHTMLModElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1877 | bool setJSDOMWindowHTMLModElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1878 | JSC::EncodedJSValue jsDOMWindowHTMLOListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1879 | bool setJSDOMWindowHTMLOListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1880 | JSC::EncodedJSValue jsDOMWindowHTMLObjectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1881 | bool setJSDOMWindowHTMLObjectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1882 | JSC::EncodedJSValue jsDOMWindowHTMLOptGroupElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1883 | bool setJSDOMWindowHTMLOptGroupElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1884 | JSC::EncodedJSValue jsDOMWindowHTMLOptionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1885 | bool setJSDOMWindowHTMLOptionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1886 | JSC::EncodedJSValue jsDOMWindowOptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1887 | bool setJSDOMWindowOptionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1888 | JSC::EncodedJSValue jsDOMWindowHTMLOptionsCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1889 | bool setJSDOMWindowHTMLOptionsCollectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1890 | JSC::EncodedJSValue jsDOMWindowHTMLOutputElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1891 | bool setJSDOMWindowHTMLOutputElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1892 | JSC::EncodedJSValue jsDOMWindowHTMLParagraphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1893 | bool setJSDOMWindowHTMLParagraphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1894 | JSC::EncodedJSValue jsDOMWindowHTMLParamElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1895 | bool setJSDOMWindowHTMLParamElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1896 | JSC::EncodedJSValue jsDOMWindowHTMLPictureElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1897 | bool setJSDOMWindowHTMLPictureElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1898 | JSC::EncodedJSValue jsDOMWindowHTMLPreElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1899 | bool setJSDOMWindowHTMLPreElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1900 | JSC::EncodedJSValue jsDOMWindowHTMLProgressElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1901 | bool setJSDOMWindowHTMLProgressElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1902 | JSC::EncodedJSValue jsDOMWindowHTMLQuoteElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1903 | bool setJSDOMWindowHTMLQuoteElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1904 | JSC::EncodedJSValue jsDOMWindowHTMLScriptElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1905 | bool setJSDOMWindowHTMLScriptElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1906 | JSC::EncodedJSValue jsDOMWindowHTMLSelectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1907 | bool setJSDOMWindowHTMLSelectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1908 | JSC::EncodedJSValue jsDOMWindowHTMLSlotElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1909 | bool setJSDOMWindowHTMLSlotElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1910 | JSC::EncodedJSValue jsDOMWindowHTMLSourceElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1911 | bool setJSDOMWindowHTMLSourceElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1912 | JSC::EncodedJSValue jsDOMWindowHTMLSpanElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1913 | bool setJSDOMWindowHTMLSpanElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1914 | JSC::EncodedJSValue jsDOMWindowHTMLStyleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1915 | bool setJSDOMWindowHTMLStyleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1916 | JSC::EncodedJSValue jsDOMWindowHTMLTableCaptionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1917 | bool setJSDOMWindowHTMLTableCaptionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1918 | JSC::EncodedJSValue jsDOMWindowHTMLTableCellElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1919 | bool setJSDOMWindowHTMLTableCellElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1920 | JSC::EncodedJSValue jsDOMWindowHTMLTableColElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1921 | bool setJSDOMWindowHTMLTableColElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1922 | JSC::EncodedJSValue jsDOMWindowHTMLTableElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1923 | bool setJSDOMWindowHTMLTableElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1924 | JSC::EncodedJSValue jsDOMWindowHTMLTableRowElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1925 | bool setJSDOMWindowHTMLTableRowElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1926 | JSC::EncodedJSValue jsDOMWindowHTMLTableSectionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1927 | bool setJSDOMWindowHTMLTableSectionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1928 | JSC::EncodedJSValue jsDOMWindowHTMLTemplateElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1929 | bool setJSDOMWindowHTMLTemplateElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1930 | JSC::EncodedJSValue jsDOMWindowHTMLTextAreaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1931 | bool setJSDOMWindowHTMLTextAreaElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1932 | JSC::EncodedJSValue jsDOMWindowHTMLTimeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1933 | bool setJSDOMWindowHTMLTimeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1934 | JSC::EncodedJSValue jsDOMWindowHTMLTitleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1935 | bool setJSDOMWindowHTMLTitleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1936 | #if ENABLE(VIDEO_TRACK) |
1937 | JSC::EncodedJSValue jsDOMWindowHTMLTrackElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1938 | bool setJSDOMWindowHTMLTrackElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1939 | #endif |
1940 | JSC::EncodedJSValue jsDOMWindowHTMLUListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1941 | bool setJSDOMWindowHTMLUListElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1942 | JSC::EncodedJSValue jsDOMWindowHTMLUnknownElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1943 | bool setJSDOMWindowHTMLUnknownElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1944 | #if ENABLE(VIDEO) |
1945 | JSC::EncodedJSValue jsDOMWindowHTMLVideoElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1946 | bool setJSDOMWindowHTMLVideoElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1947 | #endif |
1948 | JSC::EncodedJSValue jsDOMWindowImageBitmapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1949 | bool setJSDOMWindowImageBitmapConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1950 | JSC::EncodedJSValue jsDOMWindowImageDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1951 | bool setJSDOMWindowImageDataConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1952 | #if ENABLE(VIDEO) |
1953 | JSC::EncodedJSValue jsDOMWindowMediaControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1954 | bool setJSDOMWindowMediaControllerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1955 | #endif |
1956 | #if ENABLE(VIDEO) |
1957 | JSC::EncodedJSValue jsDOMWindowMediaErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1958 | bool setJSDOMWindowMediaErrorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1959 | #endif |
1960 | JSC::EncodedJSValue jsDOMWindowOffscreenCanvasConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1961 | bool setJSDOMWindowOffscreenCanvasConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1962 | JSC::EncodedJSValue jsDOMWindowRadioNodeListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1963 | bool setJSDOMWindowRadioNodeListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1964 | JSC::EncodedJSValue jsDOMWindowTextMetricsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1965 | bool setJSDOMWindowTextMetricsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1966 | #if ENABLE(VIDEO) |
1967 | JSC::EncodedJSValue jsDOMWindowTimeRangesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1968 | bool setJSDOMWindowTimeRangesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1969 | #endif |
1970 | JSC::EncodedJSValue jsDOMWindowURLSearchParamsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1971 | bool setJSDOMWindowURLSearchParamsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1972 | JSC::EncodedJSValue jsDOMWindowValidityStateConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1973 | bool setJSDOMWindowValidityStateConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1974 | JSC::EncodedJSValue jsDOMWindowCanvasGradientConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1975 | bool setJSDOMWindowCanvasGradientConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1976 | JSC::EncodedJSValue jsDOMWindowCanvasPatternConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1977 | bool setJSDOMWindowCanvasPatternConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1978 | JSC::EncodedJSValue jsDOMWindowCanvasRenderingContext2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1979 | bool setJSDOMWindowCanvasRenderingContext2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1980 | JSC::EncodedJSValue jsDOMWindowImageBitmapRenderingContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1981 | bool setJSDOMWindowImageBitmapRenderingContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1982 | JSC::EncodedJSValue jsDOMWindowOffscreenCanvasRenderingContext2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1983 | bool setJSDOMWindowOffscreenCanvasRenderingContext2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1984 | #if ENABLE(CSS_PAINTING_API) |
1985 | JSC::EncodedJSValue jsDOMWindowPaintRenderingContext2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1986 | bool setJSDOMWindowPaintRenderingContext2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1987 | #endif |
1988 | JSC::EncodedJSValue jsDOMWindowPath2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1989 | bool setJSDOMWindowPath2DConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1990 | #if ENABLE(WEBGL2) |
1991 | JSC::EncodedJSValue jsDOMWindowWebGL2RenderingContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1992 | bool setJSDOMWindowWebGL2RenderingContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1993 | #endif |
1994 | #if ENABLE(WEBGL) |
1995 | JSC::EncodedJSValue jsDOMWindowWebGLActiveInfoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
1996 | bool setJSDOMWindowWebGLActiveInfoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
1997 | #endif |
1998 | #if ENABLE(WEBGL) |
1999 | JSC::EncodedJSValue jsDOMWindowWebGLBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2000 | bool setJSDOMWindowWebGLBufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2001 | #endif |
2002 | #if ENABLE(WEBGL) |
2003 | JSC::EncodedJSValue jsDOMWindowWebGLContextEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2004 | bool setJSDOMWindowWebGLContextEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2005 | #endif |
2006 | #if ENABLE(WEBGL) |
2007 | JSC::EncodedJSValue jsDOMWindowWebGLFramebufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2008 | bool setJSDOMWindowWebGLFramebufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2009 | #endif |
2010 | #if ENABLE(WEBGL) |
2011 | JSC::EncodedJSValue jsDOMWindowWebGLProgramConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2012 | bool setJSDOMWindowWebGLProgramConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2013 | #endif |
2014 | #if ENABLE(WEBGL) |
2015 | JSC::EncodedJSValue jsDOMWindowWebGLQueryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2016 | bool setJSDOMWindowWebGLQueryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2017 | #endif |
2018 | #if ENABLE(WEBGL) |
2019 | JSC::EncodedJSValue jsDOMWindowWebGLRenderbufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2020 | bool setJSDOMWindowWebGLRenderbufferConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2021 | #endif |
2022 | #if ENABLE(WEBGL) |
2023 | JSC::EncodedJSValue jsDOMWindowWebGLRenderingContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2024 | bool setJSDOMWindowWebGLRenderingContextConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2025 | #endif |
2026 | #if ENABLE(WEBGL) |
2027 | JSC::EncodedJSValue jsDOMWindowWebGLSamplerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2028 | bool setJSDOMWindowWebGLSamplerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2029 | #endif |
2030 | #if ENABLE(WEBGL) |
2031 | JSC::EncodedJSValue jsDOMWindowWebGLShaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2032 | bool setJSDOMWindowWebGLShaderConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2033 | #endif |
2034 | #if ENABLE(WEBGL) |
2035 | JSC::EncodedJSValue jsDOMWindowWebGLShaderPrecisionFormatConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2036 | bool setJSDOMWindowWebGLShaderPrecisionFormatConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2037 | #endif |
2038 | #if ENABLE(WEBGL) |
2039 | JSC::EncodedJSValue jsDOMWindowWebGLSyncConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2040 | bool setJSDOMWindowWebGLSyncConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2041 | #endif |
2042 | #if ENABLE(WEBGL) |
2043 | JSC::EncodedJSValue jsDOMWindowWebGLTextureConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2044 | bool setJSDOMWindowWebGLTextureConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2045 | #endif |
2046 | #if ENABLE(WEBGL) |
2047 | JSC::EncodedJSValue jsDOMWindowWebGLTransformFeedbackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2048 | bool setJSDOMWindowWebGLTransformFeedbackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2049 | #endif |
2050 | #if ENABLE(WEBGL) |
2051 | JSC::EncodedJSValue jsDOMWindowWebGLUniformLocationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2052 | bool setJSDOMWindowWebGLUniformLocationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2053 | #endif |
2054 | #if ENABLE(WEBGL2) |
2055 | JSC::EncodedJSValue jsDOMWindowWebGLVertexArrayObjectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2056 | bool setJSDOMWindowWebGLVertexArrayObjectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2057 | #endif |
2058 | #if ENABLE(VIDEO_TRACK) |
2059 | JSC::EncodedJSValue jsDOMWindowAudioTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2060 | bool setJSDOMWindowAudioTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2061 | #endif |
2062 | #if ENABLE(VIDEO_TRACK) |
2063 | JSC::EncodedJSValue jsDOMWindowAudioTrackListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2064 | bool setJSDOMWindowAudioTrackListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2065 | #endif |
2066 | #if ENABLE(VIDEO_TRACK) |
2067 | JSC::EncodedJSValue jsDOMWindowDataCueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2068 | bool setJSDOMWindowDataCueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2069 | #endif |
2070 | #if ENABLE(VIDEO_TRACK) |
2071 | JSC::EncodedJSValue jsDOMWindowTextTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2072 | bool setJSDOMWindowTextTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2073 | #endif |
2074 | #if ENABLE(VIDEO_TRACK) |
2075 | JSC::EncodedJSValue jsDOMWindowTextTrackCueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2076 | bool setJSDOMWindowTextTrackCueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2077 | #endif |
2078 | #if ENABLE(VIDEO_TRACK) |
2079 | JSC::EncodedJSValue jsDOMWindowTextTrackCueListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2080 | bool setJSDOMWindowTextTrackCueListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2081 | #endif |
2082 | #if ENABLE(VIDEO_TRACK) |
2083 | JSC::EncodedJSValue jsDOMWindowTextTrackListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2084 | bool setJSDOMWindowTextTrackListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2085 | #endif |
2086 | #if ENABLE(VIDEO_TRACK) |
2087 | JSC::EncodedJSValue jsDOMWindowTrackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2088 | bool setJSDOMWindowTrackEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2089 | #endif |
2090 | #if ENABLE(VIDEO_TRACK) |
2091 | JSC::EncodedJSValue jsDOMWindowVTTCueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2092 | bool setJSDOMWindowVTTCueConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2093 | #endif |
2094 | #if ENABLE(VIDEO_TRACK) |
2095 | JSC::EncodedJSValue jsDOMWindowVTTRegionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2096 | bool setJSDOMWindowVTTRegionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2097 | #endif |
2098 | #if ENABLE(VIDEO_TRACK) |
2099 | JSC::EncodedJSValue jsDOMWindowVideoTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2100 | bool setJSDOMWindowVideoTrackConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2101 | #endif |
2102 | #if ENABLE(VIDEO_TRACK) |
2103 | JSC::EncodedJSValue jsDOMWindowVideoTrackListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2104 | bool setJSDOMWindowVideoTrackListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2105 | #endif |
2106 | JSC::EncodedJSValue jsDOMWindowApplicationCacheConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2107 | bool setJSDOMWindowApplicationCacheConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2108 | JSC::EncodedJSValue jsDOMWindowBarPropConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2109 | bool setJSDOMWindowBarPropConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2110 | JSC::EncodedJSValue jsDOMWindowCryptoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2111 | bool setJSDOMWindowCryptoConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2112 | JSC::EncodedJSValue jsDOMWindowSelectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2113 | bool setJSDOMWindowSelectionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2114 | JSC::EncodedJSValue jsDOMWindowWindowConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2115 | bool setJSDOMWindowWindowConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2116 | JSC::EncodedJSValue jsDOMWindowEventSourceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2117 | bool setJSDOMWindowEventSourceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2118 | JSC::EncodedJSValue jsDOMWindowHistoryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2119 | bool setJSDOMWindowHistoryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2120 | #if ENABLE(INTERSECTION_OBSERVER) |
2121 | JSC::EncodedJSValue jsDOMWindowIntersectionObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2122 | bool setJSDOMWindowIntersectionObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2123 | #endif |
2124 | #if ENABLE(INTERSECTION_OBSERVER) |
2125 | JSC::EncodedJSValue jsDOMWindowIntersectionObserverEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2126 | bool setJSDOMWindowIntersectionObserverEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2127 | #endif |
2128 | JSC::EncodedJSValue jsDOMWindowLocationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2129 | bool setJSDOMWindowLocationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2130 | JSC::EncodedJSValue jsDOMWindowNavigatorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2131 | bool setJSDOMWindowNavigatorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2132 | JSC::EncodedJSValue jsDOMWindowPerformanceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2133 | bool setJSDOMWindowPerformanceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2134 | JSC::EncodedJSValue jsDOMWindowPerformanceEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2135 | bool setJSDOMWindowPerformanceEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2136 | JSC::EncodedJSValue jsDOMWindowPerformanceMarkConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2137 | bool setJSDOMWindowPerformanceMarkConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2138 | JSC::EncodedJSValue jsDOMWindowPerformanceMeasureConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2139 | bool setJSDOMWindowPerformanceMeasureConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2140 | JSC::EncodedJSValue jsDOMWindowPerformanceNavigationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2141 | bool setJSDOMWindowPerformanceNavigationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2142 | JSC::EncodedJSValue jsDOMWindowPerformanceObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2143 | bool setJSDOMWindowPerformanceObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2144 | JSC::EncodedJSValue jsDOMWindowPerformanceObserverEntryListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2145 | bool setJSDOMWindowPerformanceObserverEntryListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2146 | JSC::EncodedJSValue jsDOMWindowPerformanceResourceTimingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2147 | bool setJSDOMWindowPerformanceResourceTimingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2148 | JSC::EncodedJSValue jsDOMWindowPerformanceServerTimingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2149 | bool setJSDOMWindowPerformanceServerTimingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2150 | JSC::EncodedJSValue jsDOMWindowPerformanceTimingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2151 | bool setJSDOMWindowPerformanceTimingConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2152 | #if ENABLE(RESIZE_OBSERVER) |
2153 | JSC::EncodedJSValue jsDOMWindowResizeObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2154 | bool setJSDOMWindowResizeObserverConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2155 | #endif |
2156 | #if ENABLE(RESIZE_OBSERVER) |
2157 | JSC::EncodedJSValue jsDOMWindowResizeObserverEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2158 | bool setJSDOMWindowResizeObserverEntryConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2159 | #endif |
2160 | JSC::EncodedJSValue jsDOMWindowScreenConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2161 | bool setJSDOMWindowScreenConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2162 | JSC::EncodedJSValue jsDOMWindowUndoItemConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2163 | bool setJSDOMWindowUndoItemConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2164 | JSC::EncodedJSValue jsDOMWindowUndoManagerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2165 | bool setJSDOMWindowUndoManagerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2166 | #if ENABLE(USER_MESSAGE_HANDLERS) |
2167 | JSC::EncodedJSValue jsDOMWindowUserMessageHandlerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2168 | bool setJSDOMWindowUserMessageHandlerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2169 | #endif |
2170 | #if ENABLE(USER_MESSAGE_HANDLERS) |
2171 | JSC::EncodedJSValue jsDOMWindowUserMessageHandlersNamespaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2172 | bool setJSDOMWindowUserMessageHandlersNamespaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2173 | #endif |
2174 | JSC::EncodedJSValue jsDOMWindowVisualViewportConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2175 | bool setJSDOMWindowVisualViewportConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2176 | #if ENABLE(USER_MESSAGE_HANDLERS) |
2177 | JSC::EncodedJSValue jsDOMWindowWebKitNamespaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2178 | bool setJSDOMWindowWebKitNamespaceConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2179 | #endif |
2180 | JSC::EncodedJSValue jsDOMWindowWebKitPointConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2181 | bool setJSDOMWindowWebKitPointConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2182 | JSC::EncodedJSValue jsDOMWindowMimeTypeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2183 | bool setJSDOMWindowMimeTypeConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2184 | JSC::EncodedJSValue jsDOMWindowMimeTypeArrayConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2185 | bool setJSDOMWindowMimeTypeArrayConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2186 | JSC::EncodedJSValue jsDOMWindowPluginConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2187 | bool setJSDOMWindowPluginConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2188 | JSC::EncodedJSValue jsDOMWindowPluginArrayConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2189 | bool setJSDOMWindowPluginArrayConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2190 | JSC::EncodedJSValue jsDOMWindowStorageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2191 | bool setJSDOMWindowStorageConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2192 | JSC::EncodedJSValue jsDOMWindowStorageEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2193 | bool setJSDOMWindowStorageEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2194 | JSC::EncodedJSValue jsDOMWindowSVGAElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2195 | bool setJSDOMWindowSVGAElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2196 | #if ENABLE(SVG_FONTS) |
2197 | JSC::EncodedJSValue jsDOMWindowSVGAltGlyphDefElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2198 | bool setJSDOMWindowSVGAltGlyphDefElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2199 | #endif |
2200 | #if ENABLE(SVG_FONTS) |
2201 | JSC::EncodedJSValue jsDOMWindowSVGAltGlyphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2202 | bool setJSDOMWindowSVGAltGlyphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2203 | #endif |
2204 | #if ENABLE(SVG_FONTS) |
2205 | JSC::EncodedJSValue jsDOMWindowSVGAltGlyphItemElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2206 | bool setJSDOMWindowSVGAltGlyphItemElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2207 | #endif |
2208 | JSC::EncodedJSValue jsDOMWindowSVGAngleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2209 | bool setJSDOMWindowSVGAngleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2210 | JSC::EncodedJSValue jsDOMWindowSVGAnimateColorElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2211 | bool setJSDOMWindowSVGAnimateColorElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2212 | JSC::EncodedJSValue jsDOMWindowSVGAnimateElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2213 | bool setJSDOMWindowSVGAnimateElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2214 | JSC::EncodedJSValue jsDOMWindowSVGAnimateMotionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2215 | bool setJSDOMWindowSVGAnimateMotionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2216 | JSC::EncodedJSValue jsDOMWindowSVGAnimateTransformElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2217 | bool setJSDOMWindowSVGAnimateTransformElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2218 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedAngleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2219 | bool setJSDOMWindowSVGAnimatedAngleConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2220 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedBooleanConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2221 | bool setJSDOMWindowSVGAnimatedBooleanConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2222 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedEnumerationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2223 | bool setJSDOMWindowSVGAnimatedEnumerationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2224 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedIntegerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2225 | bool setJSDOMWindowSVGAnimatedIntegerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2226 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedLengthConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2227 | bool setJSDOMWindowSVGAnimatedLengthConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2228 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedLengthListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2229 | bool setJSDOMWindowSVGAnimatedLengthListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2230 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedNumberConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2231 | bool setJSDOMWindowSVGAnimatedNumberConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2232 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedNumberListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2233 | bool setJSDOMWindowSVGAnimatedNumberListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2234 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedPreserveAspectRatioConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2235 | bool setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2236 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2237 | bool setJSDOMWindowSVGAnimatedRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2238 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedStringConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2239 | bool setJSDOMWindowSVGAnimatedStringConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2240 | JSC::EncodedJSValue jsDOMWindowSVGAnimatedTransformListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2241 | bool setJSDOMWindowSVGAnimatedTransformListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2242 | JSC::EncodedJSValue jsDOMWindowSVGAnimationElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2243 | bool setJSDOMWindowSVGAnimationElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2244 | JSC::EncodedJSValue jsDOMWindowSVGCircleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2245 | bool setJSDOMWindowSVGCircleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2246 | JSC::EncodedJSValue jsDOMWindowSVGClipPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2247 | bool setJSDOMWindowSVGClipPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2248 | JSC::EncodedJSValue jsDOMWindowSVGComponentTransferFunctionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2249 | bool setJSDOMWindowSVGComponentTransferFunctionElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2250 | JSC::EncodedJSValue jsDOMWindowSVGCursorElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2251 | bool setJSDOMWindowSVGCursorElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2252 | JSC::EncodedJSValue jsDOMWindowSVGDefsElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2253 | bool setJSDOMWindowSVGDefsElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2254 | JSC::EncodedJSValue jsDOMWindowSVGDescElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2255 | bool setJSDOMWindowSVGDescElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2256 | JSC::EncodedJSValue jsDOMWindowSVGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2257 | bool setJSDOMWindowSVGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2258 | JSC::EncodedJSValue jsDOMWindowSVGEllipseElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2259 | bool setJSDOMWindowSVGEllipseElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2260 | JSC::EncodedJSValue jsDOMWindowSVGFEBlendElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2261 | bool setJSDOMWindowSVGFEBlendElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2262 | JSC::EncodedJSValue jsDOMWindowSVGFEColorMatrixElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2263 | bool setJSDOMWindowSVGFEColorMatrixElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2264 | JSC::EncodedJSValue jsDOMWindowSVGFEComponentTransferElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2265 | bool setJSDOMWindowSVGFEComponentTransferElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2266 | JSC::EncodedJSValue jsDOMWindowSVGFECompositeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2267 | bool setJSDOMWindowSVGFECompositeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2268 | JSC::EncodedJSValue jsDOMWindowSVGFEConvolveMatrixElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2269 | bool setJSDOMWindowSVGFEConvolveMatrixElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2270 | JSC::EncodedJSValue jsDOMWindowSVGFEDiffuseLightingElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2271 | bool setJSDOMWindowSVGFEDiffuseLightingElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2272 | JSC::EncodedJSValue jsDOMWindowSVGFEDisplacementMapElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2273 | bool setJSDOMWindowSVGFEDisplacementMapElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2274 | JSC::EncodedJSValue jsDOMWindowSVGFEDistantLightElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2275 | bool setJSDOMWindowSVGFEDistantLightElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2276 | JSC::EncodedJSValue jsDOMWindowSVGFEDropShadowElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2277 | bool setJSDOMWindowSVGFEDropShadowElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2278 | JSC::EncodedJSValue jsDOMWindowSVGFEFloodElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2279 | bool setJSDOMWindowSVGFEFloodElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2280 | JSC::EncodedJSValue jsDOMWindowSVGFEFuncAElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2281 | bool setJSDOMWindowSVGFEFuncAElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2282 | JSC::EncodedJSValue jsDOMWindowSVGFEFuncBElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2283 | bool setJSDOMWindowSVGFEFuncBElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2284 | JSC::EncodedJSValue jsDOMWindowSVGFEFuncGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2285 | bool setJSDOMWindowSVGFEFuncGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2286 | JSC::EncodedJSValue jsDOMWindowSVGFEFuncRElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2287 | bool setJSDOMWindowSVGFEFuncRElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2288 | JSC::EncodedJSValue jsDOMWindowSVGFEGaussianBlurElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2289 | bool setJSDOMWindowSVGFEGaussianBlurElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2290 | JSC::EncodedJSValue jsDOMWindowSVGFEImageElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2291 | bool setJSDOMWindowSVGFEImageElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2292 | JSC::EncodedJSValue jsDOMWindowSVGFEMergeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2293 | bool setJSDOMWindowSVGFEMergeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2294 | JSC::EncodedJSValue jsDOMWindowSVGFEMergeNodeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2295 | bool setJSDOMWindowSVGFEMergeNodeElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2296 | JSC::EncodedJSValue jsDOMWindowSVGFEMorphologyElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2297 | bool setJSDOMWindowSVGFEMorphologyElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2298 | JSC::EncodedJSValue jsDOMWindowSVGFEOffsetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2299 | bool setJSDOMWindowSVGFEOffsetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2300 | JSC::EncodedJSValue jsDOMWindowSVGFEPointLightElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2301 | bool setJSDOMWindowSVGFEPointLightElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2302 | JSC::EncodedJSValue jsDOMWindowSVGFESpecularLightingElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2303 | bool setJSDOMWindowSVGFESpecularLightingElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2304 | JSC::EncodedJSValue jsDOMWindowSVGFESpotLightElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2305 | bool setJSDOMWindowSVGFESpotLightElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2306 | JSC::EncodedJSValue jsDOMWindowSVGFETileElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2307 | bool setJSDOMWindowSVGFETileElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2308 | JSC::EncodedJSValue jsDOMWindowSVGFETurbulenceElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2309 | bool setJSDOMWindowSVGFETurbulenceElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2310 | JSC::EncodedJSValue jsDOMWindowSVGFilterElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2311 | bool setJSDOMWindowSVGFilterElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2312 | #if ENABLE(SVG_FONTS) |
2313 | JSC::EncodedJSValue jsDOMWindowSVGFontElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2314 | bool setJSDOMWindowSVGFontElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2315 | #endif |
2316 | #if ENABLE(SVG_FONTS) |
2317 | JSC::EncodedJSValue jsDOMWindowSVGFontFaceElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2318 | bool setJSDOMWindowSVGFontFaceElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2319 | #endif |
2320 | #if ENABLE(SVG_FONTS) |
2321 | JSC::EncodedJSValue jsDOMWindowSVGFontFaceFormatElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2322 | bool setJSDOMWindowSVGFontFaceFormatElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2323 | #endif |
2324 | #if ENABLE(SVG_FONTS) |
2325 | JSC::EncodedJSValue jsDOMWindowSVGFontFaceNameElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2326 | bool setJSDOMWindowSVGFontFaceNameElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2327 | #endif |
2328 | #if ENABLE(SVG_FONTS) |
2329 | JSC::EncodedJSValue jsDOMWindowSVGFontFaceSrcElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2330 | bool setJSDOMWindowSVGFontFaceSrcElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2331 | #endif |
2332 | #if ENABLE(SVG_FONTS) |
2333 | JSC::EncodedJSValue jsDOMWindowSVGFontFaceUriElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2334 | bool setJSDOMWindowSVGFontFaceUriElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2335 | #endif |
2336 | JSC::EncodedJSValue jsDOMWindowSVGForeignObjectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2337 | bool setJSDOMWindowSVGForeignObjectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2338 | JSC::EncodedJSValue jsDOMWindowSVGGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2339 | bool setJSDOMWindowSVGGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2340 | JSC::EncodedJSValue jsDOMWindowSVGGeometryElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2341 | bool setJSDOMWindowSVGGeometryElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2342 | #if ENABLE(SVG_FONTS) |
2343 | JSC::EncodedJSValue jsDOMWindowSVGGlyphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2344 | bool setJSDOMWindowSVGGlyphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2345 | #endif |
2346 | #if ENABLE(SVG_FONTS) |
2347 | JSC::EncodedJSValue jsDOMWindowSVGGlyphRefElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2348 | bool setJSDOMWindowSVGGlyphRefElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2349 | #endif |
2350 | JSC::EncodedJSValue jsDOMWindowSVGGradientElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2351 | bool setJSDOMWindowSVGGradientElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2352 | JSC::EncodedJSValue jsDOMWindowSVGGraphicsElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2353 | bool setJSDOMWindowSVGGraphicsElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2354 | #if ENABLE(SVG_FONTS) |
2355 | JSC::EncodedJSValue jsDOMWindowSVGHKernElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2356 | bool setJSDOMWindowSVGHKernElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2357 | #endif |
2358 | JSC::EncodedJSValue jsDOMWindowSVGImageElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2359 | bool setJSDOMWindowSVGImageElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2360 | JSC::EncodedJSValue jsDOMWindowSVGLengthConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2361 | bool setJSDOMWindowSVGLengthConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2362 | JSC::EncodedJSValue jsDOMWindowSVGLengthListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2363 | bool setJSDOMWindowSVGLengthListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2364 | JSC::EncodedJSValue jsDOMWindowSVGLineElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2365 | bool setJSDOMWindowSVGLineElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2366 | JSC::EncodedJSValue jsDOMWindowSVGLinearGradientElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2367 | bool setJSDOMWindowSVGLinearGradientElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2368 | JSC::EncodedJSValue jsDOMWindowSVGMPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2369 | bool setJSDOMWindowSVGMPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2370 | JSC::EncodedJSValue jsDOMWindowSVGMarkerElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2371 | bool setJSDOMWindowSVGMarkerElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2372 | JSC::EncodedJSValue jsDOMWindowSVGMaskElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2373 | bool setJSDOMWindowSVGMaskElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2374 | JSC::EncodedJSValue jsDOMWindowSVGMatrixConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2375 | bool setJSDOMWindowSVGMatrixConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2376 | JSC::EncodedJSValue jsDOMWindowSVGMetadataElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2377 | bool setJSDOMWindowSVGMetadataElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2378 | #if ENABLE(SVG_FONTS) |
2379 | JSC::EncodedJSValue jsDOMWindowSVGMissingGlyphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2380 | bool setJSDOMWindowSVGMissingGlyphElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2381 | #endif |
2382 | JSC::EncodedJSValue jsDOMWindowSVGNumberConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2383 | bool setJSDOMWindowSVGNumberConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2384 | JSC::EncodedJSValue jsDOMWindowSVGNumberListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2385 | bool setJSDOMWindowSVGNumberListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2386 | JSC::EncodedJSValue jsDOMWindowSVGPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2387 | bool setJSDOMWindowSVGPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2388 | JSC::EncodedJSValue jsDOMWindowSVGPathSegConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2389 | bool setJSDOMWindowSVGPathSegConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2390 | JSC::EncodedJSValue jsDOMWindowSVGPathSegArcAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2391 | bool setJSDOMWindowSVGPathSegArcAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2392 | JSC::EncodedJSValue jsDOMWindowSVGPathSegArcRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2393 | bool setJSDOMWindowSVGPathSegArcRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2394 | JSC::EncodedJSValue jsDOMWindowSVGPathSegClosePathConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2395 | bool setJSDOMWindowSVGPathSegClosePathConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2396 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2397 | bool setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2398 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2399 | bool setJSDOMWindowSVGPathSegCurvetoCubicRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2400 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2401 | bool setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2402 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2403 | bool setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2404 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2405 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2406 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2407 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2408 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2409 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2410 | JSC::EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2411 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2412 | JSC::EncodedJSValue jsDOMWindowSVGPathSegLinetoAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2413 | bool setJSDOMWindowSVGPathSegLinetoAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2414 | JSC::EncodedJSValue jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2415 | bool setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2416 | JSC::EncodedJSValue jsDOMWindowSVGPathSegLinetoHorizontalRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2417 | bool setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2418 | JSC::EncodedJSValue jsDOMWindowSVGPathSegLinetoRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2419 | bool setJSDOMWindowSVGPathSegLinetoRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2420 | JSC::EncodedJSValue jsDOMWindowSVGPathSegLinetoVerticalAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2421 | bool setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2422 | JSC::EncodedJSValue jsDOMWindowSVGPathSegLinetoVerticalRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2423 | bool setJSDOMWindowSVGPathSegLinetoVerticalRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2424 | JSC::EncodedJSValue jsDOMWindowSVGPathSegListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2425 | bool setJSDOMWindowSVGPathSegListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2426 | JSC::EncodedJSValue jsDOMWindowSVGPathSegMovetoAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2427 | bool setJSDOMWindowSVGPathSegMovetoAbsConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2428 | JSC::EncodedJSValue jsDOMWindowSVGPathSegMovetoRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2429 | bool setJSDOMWindowSVGPathSegMovetoRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2430 | JSC::EncodedJSValue jsDOMWindowSVGPatternElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2431 | bool setJSDOMWindowSVGPatternElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2432 | JSC::EncodedJSValue jsDOMWindowSVGPointConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2433 | bool setJSDOMWindowSVGPointConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2434 | JSC::EncodedJSValue jsDOMWindowSVGPointListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2435 | bool setJSDOMWindowSVGPointListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2436 | JSC::EncodedJSValue jsDOMWindowSVGPolygonElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2437 | bool setJSDOMWindowSVGPolygonElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2438 | JSC::EncodedJSValue jsDOMWindowSVGPolylineElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2439 | bool setJSDOMWindowSVGPolylineElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2440 | JSC::EncodedJSValue jsDOMWindowSVGPreserveAspectRatioConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2441 | bool setJSDOMWindowSVGPreserveAspectRatioConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2442 | JSC::EncodedJSValue jsDOMWindowSVGRadialGradientElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2443 | bool setJSDOMWindowSVGRadialGradientElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2444 | JSC::EncodedJSValue jsDOMWindowSVGRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2445 | bool setJSDOMWindowSVGRectConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2446 | JSC::EncodedJSValue jsDOMWindowSVGRectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2447 | bool setJSDOMWindowSVGRectElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2448 | JSC::EncodedJSValue jsDOMWindowSVGRenderingIntentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2449 | bool setJSDOMWindowSVGRenderingIntentConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2450 | JSC::EncodedJSValue jsDOMWindowSVGSVGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2451 | bool setJSDOMWindowSVGSVGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2452 | JSC::EncodedJSValue jsDOMWindowSVGScriptElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2453 | bool setJSDOMWindowSVGScriptElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2454 | JSC::EncodedJSValue jsDOMWindowSVGSetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2455 | bool setJSDOMWindowSVGSetElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2456 | JSC::EncodedJSValue jsDOMWindowSVGStopElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2457 | bool setJSDOMWindowSVGStopElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2458 | JSC::EncodedJSValue jsDOMWindowSVGStringListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2459 | bool setJSDOMWindowSVGStringListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2460 | JSC::EncodedJSValue jsDOMWindowSVGStyleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2461 | bool setJSDOMWindowSVGStyleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2462 | JSC::EncodedJSValue jsDOMWindowSVGSwitchElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2463 | bool setJSDOMWindowSVGSwitchElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2464 | JSC::EncodedJSValue jsDOMWindowSVGSymbolElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2465 | bool setJSDOMWindowSVGSymbolElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2466 | JSC::EncodedJSValue jsDOMWindowSVGTRefElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2467 | bool setJSDOMWindowSVGTRefElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2468 | JSC::EncodedJSValue jsDOMWindowSVGTSpanElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2469 | bool setJSDOMWindowSVGTSpanElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2470 | JSC::EncodedJSValue jsDOMWindowSVGTextContentElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2471 | bool setJSDOMWindowSVGTextContentElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2472 | JSC::EncodedJSValue jsDOMWindowSVGTextElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2473 | bool setJSDOMWindowSVGTextElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2474 | JSC::EncodedJSValue jsDOMWindowSVGTextPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2475 | bool setJSDOMWindowSVGTextPathElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2476 | JSC::EncodedJSValue jsDOMWindowSVGTextPositioningElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2477 | bool setJSDOMWindowSVGTextPositioningElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2478 | JSC::EncodedJSValue jsDOMWindowSVGTitleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2479 | bool setJSDOMWindowSVGTitleElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2480 | JSC::EncodedJSValue jsDOMWindowSVGTransformConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2481 | bool setJSDOMWindowSVGTransformConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2482 | JSC::EncodedJSValue jsDOMWindowSVGTransformListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2483 | bool setJSDOMWindowSVGTransformListConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2484 | JSC::EncodedJSValue jsDOMWindowSVGUnitTypesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2485 | bool setJSDOMWindowSVGUnitTypesConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2486 | JSC::EncodedJSValue jsDOMWindowSVGUseElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2487 | bool setJSDOMWindowSVGUseElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2488 | #if ENABLE(SVG_FONTS) |
2489 | JSC::EncodedJSValue jsDOMWindowSVGVKernElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2490 | bool setJSDOMWindowSVGVKernElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2491 | #endif |
2492 | JSC::EncodedJSValue jsDOMWindowSVGViewElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2493 | bool setJSDOMWindowSVGViewElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2494 | JSC::EncodedJSValue jsDOMWindowSVGViewSpecConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2495 | bool setJSDOMWindowSVGViewSpecConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2496 | JSC::EncodedJSValue jsDOMWindowSVGZoomEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2497 | bool setJSDOMWindowSVGZoomEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2498 | JSC::EncodedJSValue jsDOMWindowWorkerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2499 | bool setJSDOMWindowWorkerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2500 | #if ENABLE(SERVICE_WORKER) |
2501 | JSC::EncodedJSValue jsDOMWindowServiceWorkerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2502 | bool setJSDOMWindowServiceWorkerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2503 | #endif |
2504 | #if ENABLE(SERVICE_WORKER) |
2505 | JSC::EncodedJSValue jsDOMWindowServiceWorkerContainerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2506 | bool setJSDOMWindowServiceWorkerContainerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2507 | #endif |
2508 | #if ENABLE(SERVICE_WORKER) |
2509 | JSC::EncodedJSValue jsDOMWindowServiceWorkerRegistrationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2510 | bool setJSDOMWindowServiceWorkerRegistrationConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2511 | #endif |
2512 | #if ENABLE(CSS_PAINTING_API) |
2513 | JSC::EncodedJSValue jsDOMWindowWorkletConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2514 | bool setJSDOMWindowWorkletConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2515 | #endif |
2516 | JSC::EncodedJSValue jsDOMWindowDOMParserConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2517 | bool setJSDOMWindowDOMParserConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2518 | JSC::EncodedJSValue jsDOMWindowXMLHttpRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2519 | bool setJSDOMWindowXMLHttpRequestConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2520 | JSC::EncodedJSValue jsDOMWindowXMLHttpRequestEventTargetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2521 | bool setJSDOMWindowXMLHttpRequestEventTargetConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2522 | JSC::EncodedJSValue jsDOMWindowXMLHttpRequestProgressEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2523 | bool setJSDOMWindowXMLHttpRequestProgressEventConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2524 | JSC::EncodedJSValue jsDOMWindowXMLHttpRequestUploadConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2525 | bool setJSDOMWindowXMLHttpRequestUploadConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2526 | JSC::EncodedJSValue jsDOMWindowXMLSerializerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2527 | bool setJSDOMWindowXMLSerializerConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2528 | JSC::EncodedJSValue jsDOMWindowXPathEvaluatorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2529 | bool setJSDOMWindowXPathEvaluatorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2530 | JSC::EncodedJSValue jsDOMWindowXPathExpressionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2531 | bool setJSDOMWindowXPathExpressionConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2532 | JSC::EncodedJSValue jsDOMWindowXPathResultConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2533 | bool setJSDOMWindowXPathResultConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2534 | #if ENABLE(XSLT) |
2535 | JSC::EncodedJSValue jsDOMWindowXSLTProcessorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2536 | bool setJSDOMWindowXSLTProcessorConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2537 | #endif |
2538 | JSC::EncodedJSValue jsDOMWindowCaches(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2539 | #if ENABLE(INDEXED_DATABASE) |
2540 | JSC::EncodedJSValue jsDOMWindowIndexedDB(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2541 | #endif |
2542 | #if ENABLE(INDEXED_DATABASE) |
2543 | JSC::EncodedJSValue jsDOMWindowWebkitIndexedDB(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2544 | #endif |
2545 | #if ENABLE(SPEECH_SYNTHESIS) |
2546 | JSC::EncodedJSValue jsDOMWindowSpeechSynthesis(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2547 | #endif |
2548 | JSC::EncodedJSValue jsDOMWindowOnvrdisplayconnect(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2549 | bool setJSDOMWindowOnvrdisplayconnect(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2550 | JSC::EncodedJSValue jsDOMWindowOnvrdisplaydisconnect(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2551 | bool setJSDOMWindowOnvrdisplaydisconnect(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2552 | JSC::EncodedJSValue jsDOMWindowOnvrdisplayactivate(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2553 | bool setJSDOMWindowOnvrdisplayactivate(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2554 | JSC::EncodedJSValue jsDOMWindowOnvrdisplaydeactivate(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2555 | bool setJSDOMWindowOnvrdisplaydeactivate(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2556 | JSC::EncodedJSValue jsDOMWindowOnvrdisplayblur(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2557 | bool setJSDOMWindowOnvrdisplayblur(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2558 | JSC::EncodedJSValue jsDOMWindowOnvrdisplayfocus(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2559 | bool setJSDOMWindowOnvrdisplayfocus(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2560 | JSC::EncodedJSValue jsDOMWindowOnvrdisplaypresentchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2561 | bool setJSDOMWindowOnvrdisplaypresentchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2562 | JSC::EncodedJSValue jsDOMWindowOnabort(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2563 | bool setJSDOMWindowOnabort(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2564 | JSC::EncodedJSValue jsDOMWindowOnblur(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2565 | bool setJSDOMWindowOnblur(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2566 | JSC::EncodedJSValue jsDOMWindowOncanplay(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2567 | bool setJSDOMWindowOncanplay(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2568 | JSC::EncodedJSValue jsDOMWindowOncanplaythrough(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2569 | bool setJSDOMWindowOncanplaythrough(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2570 | JSC::EncodedJSValue jsDOMWindowOnchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2571 | bool setJSDOMWindowOnchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2572 | JSC::EncodedJSValue jsDOMWindowOnclick(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2573 | bool setJSDOMWindowOnclick(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2574 | JSC::EncodedJSValue jsDOMWindowOncontextmenu(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2575 | bool setJSDOMWindowOncontextmenu(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2576 | JSC::EncodedJSValue jsDOMWindowOncuechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2577 | bool setJSDOMWindowOncuechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2578 | JSC::EncodedJSValue jsDOMWindowOndblclick(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2579 | bool setJSDOMWindowOndblclick(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2580 | JSC::EncodedJSValue jsDOMWindowOndrag(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2581 | bool setJSDOMWindowOndrag(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2582 | JSC::EncodedJSValue jsDOMWindowOndragend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2583 | bool setJSDOMWindowOndragend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2584 | JSC::EncodedJSValue jsDOMWindowOndragenter(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2585 | bool setJSDOMWindowOndragenter(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2586 | JSC::EncodedJSValue jsDOMWindowOndragleave(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2587 | bool setJSDOMWindowOndragleave(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2588 | JSC::EncodedJSValue jsDOMWindowOndragover(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2589 | bool setJSDOMWindowOndragover(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2590 | JSC::EncodedJSValue jsDOMWindowOndragstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2591 | bool setJSDOMWindowOndragstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2592 | JSC::EncodedJSValue jsDOMWindowOndrop(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2593 | bool setJSDOMWindowOndrop(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2594 | JSC::EncodedJSValue jsDOMWindowOndurationchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2595 | bool setJSDOMWindowOndurationchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2596 | JSC::EncodedJSValue jsDOMWindowOnemptied(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2597 | bool setJSDOMWindowOnemptied(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2598 | JSC::EncodedJSValue jsDOMWindowOnended(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2599 | bool setJSDOMWindowOnended(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2600 | JSC::EncodedJSValue jsDOMWindowOnerror(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2601 | bool setJSDOMWindowOnerror(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2602 | JSC::EncodedJSValue jsDOMWindowOnfocus(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2603 | bool setJSDOMWindowOnfocus(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2604 | JSC::EncodedJSValue jsDOMWindowOninput(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2605 | bool setJSDOMWindowOninput(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2606 | JSC::EncodedJSValue jsDOMWindowOninvalid(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2607 | bool setJSDOMWindowOninvalid(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2608 | JSC::EncodedJSValue jsDOMWindowOnkeydown(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2609 | bool setJSDOMWindowOnkeydown(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2610 | JSC::EncodedJSValue jsDOMWindowOnkeypress(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2611 | bool setJSDOMWindowOnkeypress(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2612 | JSC::EncodedJSValue jsDOMWindowOnkeyup(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2613 | bool setJSDOMWindowOnkeyup(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2614 | JSC::EncodedJSValue jsDOMWindowOnload(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2615 | bool setJSDOMWindowOnload(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2616 | JSC::EncodedJSValue jsDOMWindowOnloadeddata(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2617 | bool setJSDOMWindowOnloadeddata(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2618 | JSC::EncodedJSValue jsDOMWindowOnloadedmetadata(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2619 | bool setJSDOMWindowOnloadedmetadata(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2620 | JSC::EncodedJSValue jsDOMWindowOnloadstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2621 | bool setJSDOMWindowOnloadstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2622 | JSC::EncodedJSValue jsDOMWindowOnmousedown(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2623 | bool setJSDOMWindowOnmousedown(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2624 | JSC::EncodedJSValue jsDOMWindowOnmouseenter(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2625 | bool setJSDOMWindowOnmouseenter(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2626 | JSC::EncodedJSValue jsDOMWindowOnmouseleave(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2627 | bool setJSDOMWindowOnmouseleave(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2628 | JSC::EncodedJSValue jsDOMWindowOnmousemove(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2629 | bool setJSDOMWindowOnmousemove(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2630 | JSC::EncodedJSValue jsDOMWindowOnmouseout(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2631 | bool setJSDOMWindowOnmouseout(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2632 | JSC::EncodedJSValue jsDOMWindowOnmouseover(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2633 | bool setJSDOMWindowOnmouseover(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2634 | JSC::EncodedJSValue jsDOMWindowOnmouseup(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2635 | bool setJSDOMWindowOnmouseup(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2636 | JSC::EncodedJSValue jsDOMWindowOnmousewheel(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2637 | bool setJSDOMWindowOnmousewheel(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2638 | JSC::EncodedJSValue jsDOMWindowOnpause(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2639 | bool setJSDOMWindowOnpause(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2640 | JSC::EncodedJSValue jsDOMWindowOnplay(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2641 | bool setJSDOMWindowOnplay(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2642 | JSC::EncodedJSValue jsDOMWindowOnplaying(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2643 | bool setJSDOMWindowOnplaying(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2644 | JSC::EncodedJSValue jsDOMWindowOnprogress(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2645 | bool setJSDOMWindowOnprogress(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2646 | JSC::EncodedJSValue jsDOMWindowOnratechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2647 | bool setJSDOMWindowOnratechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2648 | JSC::EncodedJSValue jsDOMWindowOnrejectionhandled(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2649 | bool setJSDOMWindowOnrejectionhandled(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2650 | JSC::EncodedJSValue jsDOMWindowOnreset(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2651 | bool setJSDOMWindowOnreset(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2652 | JSC::EncodedJSValue jsDOMWindowOnresize(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2653 | bool setJSDOMWindowOnresize(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2654 | JSC::EncodedJSValue jsDOMWindowOnscroll(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2655 | bool setJSDOMWindowOnscroll(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2656 | JSC::EncodedJSValue jsDOMWindowOnseeked(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2657 | bool setJSDOMWindowOnseeked(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2658 | JSC::EncodedJSValue jsDOMWindowOnseeking(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2659 | bool setJSDOMWindowOnseeking(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2660 | JSC::EncodedJSValue jsDOMWindowOnselect(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2661 | bool setJSDOMWindowOnselect(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2662 | JSC::EncodedJSValue jsDOMWindowOnstalled(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2663 | bool setJSDOMWindowOnstalled(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2664 | JSC::EncodedJSValue jsDOMWindowOnsubmit(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2665 | bool setJSDOMWindowOnsubmit(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2666 | JSC::EncodedJSValue jsDOMWindowOnsuspend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2667 | bool setJSDOMWindowOnsuspend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2668 | JSC::EncodedJSValue jsDOMWindowOntimeupdate(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2669 | bool setJSDOMWindowOntimeupdate(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2670 | JSC::EncodedJSValue jsDOMWindowOntoggle(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2671 | bool setJSDOMWindowOntoggle(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2672 | JSC::EncodedJSValue jsDOMWindowOnunhandledrejection(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2673 | bool setJSDOMWindowOnunhandledrejection(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2674 | JSC::EncodedJSValue jsDOMWindowOnvolumechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2675 | bool setJSDOMWindowOnvolumechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2676 | JSC::EncodedJSValue jsDOMWindowOnwaiting(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2677 | bool setJSDOMWindowOnwaiting(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2678 | JSC::EncodedJSValue jsDOMWindowOntransitionend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2679 | bool setJSDOMWindowOntransitionend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2680 | JSC::EncodedJSValue jsDOMWindowOntransitionrun(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2681 | bool setJSDOMWindowOntransitionrun(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2682 | JSC::EncodedJSValue jsDOMWindowOntransitionstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2683 | bool setJSDOMWindowOntransitionstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2684 | JSC::EncodedJSValue jsDOMWindowOntransitioncancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2685 | bool setJSDOMWindowOntransitioncancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2686 | JSC::EncodedJSValue jsDOMWindowOnanimationend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2687 | bool setJSDOMWindowOnanimationend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2688 | JSC::EncodedJSValue jsDOMWindowOnanimationiteration(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2689 | bool setJSDOMWindowOnanimationiteration(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2690 | JSC::EncodedJSValue jsDOMWindowOnanimationstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2691 | bool setJSDOMWindowOnanimationstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2692 | JSC::EncodedJSValue jsDOMWindowOnanimationcancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2693 | bool setJSDOMWindowOnanimationcancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2694 | JSC::EncodedJSValue jsDOMWindowOngotpointercapture(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2695 | bool setJSDOMWindowOngotpointercapture(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2696 | JSC::EncodedJSValue jsDOMWindowOnlostpointercapture(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2697 | bool setJSDOMWindowOnlostpointercapture(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2698 | JSC::EncodedJSValue jsDOMWindowOnpointerdown(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2699 | bool setJSDOMWindowOnpointerdown(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2700 | JSC::EncodedJSValue jsDOMWindowOnpointermove(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2701 | bool setJSDOMWindowOnpointermove(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2702 | JSC::EncodedJSValue jsDOMWindowOnpointerup(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2703 | bool setJSDOMWindowOnpointerup(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2704 | JSC::EncodedJSValue jsDOMWindowOnpointercancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2705 | bool setJSDOMWindowOnpointercancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2706 | JSC::EncodedJSValue jsDOMWindowOnpointerover(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2707 | bool setJSDOMWindowOnpointerover(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2708 | JSC::EncodedJSValue jsDOMWindowOnpointerout(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2709 | bool setJSDOMWindowOnpointerout(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2710 | JSC::EncodedJSValue jsDOMWindowOnpointerenter(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2711 | bool setJSDOMWindowOnpointerenter(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2712 | JSC::EncodedJSValue jsDOMWindowOnpointerleave(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2713 | bool setJSDOMWindowOnpointerleave(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2714 | JSC::EncodedJSValue jsDOMWindowOnsearch(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2715 | bool setJSDOMWindowOnsearch(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2716 | JSC::EncodedJSValue jsDOMWindowOnwheel(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2717 | bool setJSDOMWindowOnwheel(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2718 | #if ENABLE(TOUCH_EVENTS) |
2719 | JSC::EncodedJSValue jsDOMWindowOntouchcancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2720 | bool setJSDOMWindowOntouchcancel(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2721 | #endif |
2722 | #if ENABLE(TOUCH_EVENTS) |
2723 | JSC::EncodedJSValue jsDOMWindowOntouchend(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2724 | bool setJSDOMWindowOntouchend(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2725 | #endif |
2726 | #if ENABLE(TOUCH_EVENTS) |
2727 | JSC::EncodedJSValue jsDOMWindowOntouchmove(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2728 | bool setJSDOMWindowOntouchmove(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2729 | #endif |
2730 | #if ENABLE(TOUCH_EVENTS) |
2731 | JSC::EncodedJSValue jsDOMWindowOntouchstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2732 | bool setJSDOMWindowOntouchstart(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2733 | #endif |
2734 | #if ENABLE(TOUCH_EVENTS) |
2735 | JSC::EncodedJSValue jsDOMWindowOntouchforcechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2736 | bool setJSDOMWindowOntouchforcechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2737 | #endif |
2738 | #if ENABLE(MOUSE_FORCE_EVENTS) |
2739 | JSC::EncodedJSValue jsDOMWindowOnwebkitmouseforcechanged(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2740 | bool setJSDOMWindowOnwebkitmouseforcechanged(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2741 | #endif |
2742 | #if ENABLE(MOUSE_FORCE_EVENTS) |
2743 | JSC::EncodedJSValue jsDOMWindowOnwebkitmouseforcedown(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2744 | bool setJSDOMWindowOnwebkitmouseforcedown(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2745 | #endif |
2746 | #if ENABLE(MOUSE_FORCE_EVENTS) |
2747 | JSC::EncodedJSValue jsDOMWindowOnwebkitmouseforcewillbegin(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2748 | bool setJSDOMWindowOnwebkitmouseforcewillbegin(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2749 | #endif |
2750 | #if ENABLE(MOUSE_FORCE_EVENTS) |
2751 | JSC::EncodedJSValue jsDOMWindowOnwebkitmouseforceup(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2752 | bool setJSDOMWindowOnwebkitmouseforceup(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2753 | #endif |
2754 | JSC::EncodedJSValue jsDOMWindowCrypto(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2755 | JSC::EncodedJSValue jsDOMWindowPerformance(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2756 | bool setJSDOMWindowPerformance(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2757 | JSC::EncodedJSValue jsDOMWindowOnafterprint(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2758 | bool setJSDOMWindowOnafterprint(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2759 | JSC::EncodedJSValue jsDOMWindowOnbeforeprint(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2760 | bool setJSDOMWindowOnbeforeprint(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2761 | JSC::EncodedJSValue jsDOMWindowOnbeforeunload(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2762 | bool setJSDOMWindowOnbeforeunload(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2763 | JSC::EncodedJSValue jsDOMWindowOnhashchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2764 | bool setJSDOMWindowOnhashchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2765 | JSC::EncodedJSValue jsDOMWindowOnlanguagechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2766 | bool setJSDOMWindowOnlanguagechange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2767 | JSC::EncodedJSValue jsDOMWindowOnmessage(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2768 | bool setJSDOMWindowOnmessage(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2769 | JSC::EncodedJSValue jsDOMWindowOnoffline(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2770 | bool setJSDOMWindowOnoffline(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2771 | JSC::EncodedJSValue jsDOMWindowOnonline(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2772 | bool setJSDOMWindowOnonline(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2773 | JSC::EncodedJSValue jsDOMWindowOnpagehide(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2774 | bool setJSDOMWindowOnpagehide(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2775 | JSC::EncodedJSValue jsDOMWindowOnpageshow(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2776 | bool setJSDOMWindowOnpageshow(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2777 | JSC::EncodedJSValue jsDOMWindowOnpopstate(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2778 | bool setJSDOMWindowOnpopstate(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2779 | JSC::EncodedJSValue jsDOMWindowOnstorage(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2780 | bool setJSDOMWindowOnstorage(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2781 | JSC::EncodedJSValue jsDOMWindowOnunload(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2782 | bool setJSDOMWindowOnunload(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2783 | #if ENABLE(ORIENTATION_EVENTS) |
2784 | JSC::EncodedJSValue jsDOMWindowOnorientationchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2785 | bool setJSDOMWindowOnorientationchange(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2786 | #endif |
2787 | JSC::EncodedJSValue jsDOMWindowOrigin(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2788 | bool setJSDOMWindowOrigin(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue); |
2789 | JSC::EncodedJSValue jsDOMWindowIsSecureContext(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName); |
2790 | |
2791 | using JSDOMWindowConstructor = JSDOMConstructorNotConstructable<JSDOMWindow>; |
2792 | |
2793 | /* Hash table */ |
2794 | |
2795 | static const struct CompactHashIndex JSDOMWindowTableIndex[2137] = { |
2796 | { 631, -1 }, |
2797 | { 299, -1 }, |
2798 | { -1, -1 }, |
2799 | { -1, -1 }, |
2800 | { -1, -1 }, |
2801 | { -1, -1 }, |
2802 | { -1, -1 }, |
2803 | { -1, -1 }, |
2804 | { -1, -1 }, |
2805 | { -1, -1 }, |
2806 | { 647, -1 }, |
2807 | { 102, -1 }, |
2808 | { -1, -1 }, |
2809 | { 349, -1 }, |
2810 | { -1, -1 }, |
2811 | { -1, -1 }, |
2812 | { -1, -1 }, |
2813 | { -1, -1 }, |
2814 | { -1, -1 }, |
2815 | { 165, -1 }, |
2816 | { 109, -1 }, |
2817 | { -1, -1 }, |
2818 | { 196, -1 }, |
2819 | { -1, -1 }, |
2820 | { -1, -1 }, |
2821 | { -1, -1 }, |
2822 | { 582, -1 }, |
2823 | { -1, -1 }, |
2824 | { -1, -1 }, |
2825 | { -1, -1 }, |
2826 | { -1, -1 }, |
2827 | { -1, -1 }, |
2828 | { -1, -1 }, |
2829 | { 78, -1 }, |
2830 | { -1, -1 }, |
2831 | { -1, -1 }, |
2832 | { 363, -1 }, |
2833 | { -1, -1 }, |
2834 | { 651, -1 }, |
2835 | { -1, -1 }, |
2836 | { -1, -1 }, |
2837 | { -1, -1 }, |
2838 | { -1, -1 }, |
2839 | { -1, -1 }, |
2840 | { -1, -1 }, |
2841 | { 83, -1 }, |
2842 | { 579, -1 }, |
2843 | { -1, -1 }, |
2844 | { 326, -1 }, |
2845 | { -1, -1 }, |
2846 | { -1, -1 }, |
2847 | { -1, -1 }, |
2848 | { -1, -1 }, |
2849 | { -1, -1 }, |
2850 | { -1, -1 }, |
2851 | { -1, -1 }, |
2852 | { -1, -1 }, |
2853 | { 19, -1 }, |
2854 | { -1, -1 }, |
2855 | { -1, -1 }, |
2856 | { -1, -1 }, |
2857 | { -1, -1 }, |
2858 | { -1, -1 }, |
2859 | { 589, -1 }, |
2860 | { 445, -1 }, |
2861 | { -1, -1 }, |
2862 | { -1, -1 }, |
2863 | { -1, -1 }, |
2864 | { -1, -1 }, |
2865 | { -1, -1 }, |
2866 | { -1, -1 }, |
2867 | { 284, -1 }, |
2868 | { -1, -1 }, |
2869 | { -1, -1 }, |
2870 | { 181, 2083 }, |
2871 | { -1, -1 }, |
2872 | { -1, -1 }, |
2873 | { -1, -1 }, |
2874 | { -1, -1 }, |
2875 | { -1, -1 }, |
2876 | { -1, -1 }, |
2877 | { -1, -1 }, |
2878 | { 202, 2075 }, |
2879 | { -1, -1 }, |
2880 | { -1, -1 }, |
2881 | { -1, -1 }, |
2882 | { -1, -1 }, |
2883 | { -1, -1 }, |
2884 | { -1, -1 }, |
2885 | { 504, -1 }, |
2886 | { -1, -1 }, |
2887 | { -1, -1 }, |
2888 | { 356, -1 }, |
2889 | { 58, -1 }, |
2890 | { -1, -1 }, |
2891 | { -1, -1 }, |
2892 | { -1, -1 }, |
2893 | { -1, -1 }, |
2894 | { -1, -1 }, |
2895 | { -1, -1 }, |
2896 | { -1, -1 }, |
2897 | { -1, -1 }, |
2898 | { -1, -1 }, |
2899 | { 225, -1 }, |
2900 | { -1, -1 }, |
2901 | { -1, -1 }, |
2902 | { -1, -1 }, |
2903 | { -1, -1 }, |
2904 | { 70, 2050 }, |
2905 | { -1, -1 }, |
2906 | { -1, -1 }, |
2907 | { 383, -1 }, |
2908 | { -1, -1 }, |
2909 | { -1, -1 }, |
2910 | { -1, -1 }, |
2911 | { -1, -1 }, |
2912 | { -1, -1 }, |
2913 | { 394, -1 }, |
2914 | { 155, -1 }, |
2915 | { 248, -1 }, |
2916 | { -1, -1 }, |
2917 | { -1, -1 }, |
2918 | { -1, -1 }, |
2919 | { -1, -1 }, |
2920 | { -1, -1 }, |
2921 | { 90, -1 }, |
2922 | { -1, -1 }, |
2923 | { -1, -1 }, |
2924 | { -1, -1 }, |
2925 | { -1, -1 }, |
2926 | { -1, -1 }, |
2927 | { 43, 2126 }, |
2928 | { 450, -1 }, |
2929 | { -1, -1 }, |
2930 | { -1, -1 }, |
2931 | { -1, -1 }, |
2932 | { -1, -1 }, |
2933 | { -1, -1 }, |
2934 | { -1, -1 }, |
2935 | { 602, -1 }, |
2936 | { -1, -1 }, |
2937 | { -1, -1 }, |
2938 | { -1, -1 }, |
2939 | { -1, -1 }, |
2940 | { -1, -1 }, |
2941 | { -1, -1 }, |
2942 | { -1, -1 }, |
2943 | { -1, -1 }, |
2944 | { -1, -1 }, |
2945 | { 150, -1 }, |
2946 | { -1, -1 }, |
2947 | { -1, -1 }, |
2948 | { -1, -1 }, |
2949 | { 403, -1 }, |
2950 | { 529, -1 }, |
2951 | { -1, -1 }, |
2952 | { -1, -1 }, |
2953 | { -1, -1 }, |
2954 | { -1, -1 }, |
2955 | { -1, -1 }, |
2956 | { -1, -1 }, |
2957 | { -1, -1 }, |
2958 | { -1, -1 }, |
2959 | { 510, -1 }, |
2960 | { -1, -1 }, |
2961 | { -1, -1 }, |
2962 | { -1, -1 }, |
2963 | { -1, -1 }, |
2964 | { 547, -1 }, |
2965 | { -1, -1 }, |
2966 | { -1, -1 }, |
2967 | { -1, -1 }, |
2968 | { -1, -1 }, |
2969 | { -1, -1 }, |
2970 | { -1, -1 }, |
2971 | { -1, -1 }, |
2972 | { -1, -1 }, |
2973 | { -1, -1 }, |
2974 | { -1, -1 }, |
2975 | { 538, -1 }, |
2976 | { -1, -1 }, |
2977 | { -1, -1 }, |
2978 | { -1, -1 }, |
2979 | { -1, -1 }, |
2980 | { -1, -1 }, |
2981 | { -1, -1 }, |
2982 | { -1, -1 }, |
2983 | { -1, -1 }, |
2984 | { -1, -1 }, |
2985 | { 328, -1 }, |
2986 | { -1, -1 }, |
2987 | { 523, -1 }, |
2988 | { -1, -1 }, |
2989 | { 344, -1 }, |
2990 | { -1, -1 }, |
2991 | { 599, -1 }, |
2992 | { -1, -1 }, |
2993 | { -1, -1 }, |
2994 | { 491, -1 }, |
2995 | { -1, -1 }, |
2996 | { 72, -1 }, |
2997 | { -1, -1 }, |
2998 | { -1, -1 }, |
2999 | { 337, -1 }, |
3000 | { -1, -1 }, |
3001 | { -1, -1 }, |
3002 | { -1, -1 }, |
3003 | { 338, -1 }, |
3004 | { -1, -1 }, |
3005 | { -1, -1 }, |
3006 | { 62, -1 }, |
3007 | { -1, -1 }, |
3008 | { 364, -1 }, |
3009 | { 34, 2108 }, |
3010 | { -1, -1 }, |
3011 | { -1, -1 }, |
3012 | { -1, -1 }, |
3013 | { -1, -1 }, |
3014 | { -1, -1 }, |
3015 | { -1, -1 }, |
3016 | { -1, -1 }, |
3017 | { -1, -1 }, |
3018 | { 71, -1 }, |
3019 | { 5, -1 }, |
3020 | { -1, -1 }, |
3021 | { -1, -1 }, |
3022 | { -1, -1 }, |
3023 | { -1, -1 }, |
3024 | { 495, -1 }, |
3025 | { -1, -1 }, |
3026 | { -1, -1 }, |
3027 | { 16, 2098 }, |
3028 | { -1, -1 }, |
3029 | { 463, -1 }, |
3030 | { -1, -1 }, |
3031 | { -1, -1 }, |
3032 | { -1, -1 }, |
3033 | { -1, -1 }, |
3034 | { 441, -1 }, |
3035 | { -1, -1 }, |
3036 | { -1, -1 }, |
3037 | { -1, -1 }, |
3038 | { -1, -1 }, |
3039 | { 18, -1 }, |
3040 | { -1, -1 }, |
3041 | { -1, -1 }, |
3042 | { -1, -1 }, |
3043 | { 189, -1 }, |
3044 | { 220, -1 }, |
3045 | { -1, -1 }, |
3046 | { -1, -1 }, |
3047 | { 305, -1 }, |
3048 | { -1, -1 }, |
3049 | { 641, -1 }, |
3050 | { 285, -1 }, |
3051 | { -1, -1 }, |
3052 | { -1, -1 }, |
3053 | { 355, -1 }, |
3054 | { 577, -1 }, |
3055 | { 262, -1 }, |
3056 | { 607, -1 }, |
3057 | { -1, -1 }, |
3058 | { 132, -1 }, |
3059 | { -1, -1 }, |
3060 | { 537, -1 }, |
3061 | { -1, -1 }, |
3062 | { -1, -1 }, |
3063 | { -1, -1 }, |
3064 | { -1, -1 }, |
3065 | { -1, -1 }, |
3066 | { 74, 2053 }, |
3067 | { 323, -1 }, |
3068 | { -1, -1 }, |
3069 | { -1, -1 }, |
3070 | { -1, -1 }, |
3071 | { -1, -1 }, |
3072 | { 142, -1 }, |
3073 | { -1, -1 }, |
3074 | { -1, -1 }, |
3075 | { -1, -1 }, |
3076 | { -1, -1 }, |
3077 | { -1, -1 }, |
3078 | { -1, -1 }, |
3079 | { -1, -1 }, |
3080 | { 146, -1 }, |
3081 | { -1, -1 }, |
3082 | { -1, -1 }, |
3083 | { 287, -1 }, |
3084 | { -1, -1 }, |
3085 | { -1, -1 }, |
3086 | { -1, -1 }, |
3087 | { -1, -1 }, |
3088 | { -1, -1 }, |
3089 | { 105, -1 }, |
3090 | { 549, -1 }, |
3091 | { -1, -1 }, |
3092 | { 267, -1 }, |
3093 | { -1, -1 }, |
3094 | { -1, -1 }, |
3095 | { -1, -1 }, |
3096 | { -1, -1 }, |
3097 | { -1, -1 }, |
3098 | { 30, -1 }, |
3099 | { 256, -1 }, |
3100 | { -1, -1 }, |
3101 | { -1, -1 }, |
3102 | { 41, -1 }, |
3103 | { -1, -1 }, |
3104 | { -1, -1 }, |
3105 | { -1, -1 }, |
3106 | { -1, -1 }, |
3107 | { 540, 2122 }, |
3108 | { -1, -1 }, |
3109 | { -1, -1 }, |
3110 | { -1, -1 }, |
3111 | { -1, -1 }, |
3112 | { -1, -1 }, |
3113 | { -1, -1 }, |
3114 | { -1, -1 }, |
3115 | { 282, -1 }, |
3116 | { -1, -1 }, |
3117 | { -1, -1 }, |
3118 | { 348, -1 }, |
3119 | { -1, -1 }, |
3120 | { -1, -1 }, |
3121 | { -1, -1 }, |
3122 | { -1, -1 }, |
3123 | { -1, -1 }, |
3124 | { -1, -1 }, |
3125 | { -1, -1 }, |
3126 | { -1, -1 }, |
3127 | { -1, -1 }, |
3128 | { -1, -1 }, |
3129 | { -1, -1 }, |
3130 | { 378, -1 }, |
3131 | { -1, -1 }, |
3132 | { -1, -1 }, |
3133 | { -1, -1 }, |
3134 | { -1, -1 }, |
3135 | { -1, -1 }, |
3136 | { -1, -1 }, |
3137 | { -1, -1 }, |
3138 | { -1, -1 }, |
3139 | { -1, -1 }, |
3140 | { -1, -1 }, |
3141 | { -1, -1 }, |
3142 | { -1, -1 }, |
3143 | { -1, -1 }, |
3144 | { -1, -1 }, |
3145 | { -1, -1 }, |
3146 | { -1, -1 }, |
3147 | { -1, -1 }, |
3148 | { -1, -1 }, |
3149 | { -1, -1 }, |
3150 | { -1, -1 }, |
3151 | { -1, -1 }, |
3152 | { -1, -1 }, |
3153 | { -1, -1 }, |
3154 | { -1, -1 }, |
3155 | { -1, -1 }, |
3156 | { -1, -1 }, |
3157 | { 222, -1 }, |
3158 | { -1, -1 }, |
3159 | { -1, -1 }, |
3160 | { -1, -1 }, |
3161 | { -1, -1 }, |
3162 | { -1, -1 }, |
3163 | { -1, -1 }, |
3164 | { -1, -1 }, |
3165 | { -1, -1 }, |
3166 | { -1, -1 }, |
3167 | { -1, -1 }, |
3168 | { -1, -1 }, |
3169 | { 84, 2073 }, |
3170 | { -1, -1 }, |
3171 | { -1, -1 }, |
3172 | { -1, -1 }, |
3173 | { -1, -1 }, |
3174 | { 440, -1 }, |
3175 | { -1, -1 }, |
3176 | { 229, 2068 }, |
3177 | { -1, -1 }, |
3178 | { -1, -1 }, |
3179 | { -1, -1 }, |
3180 | { -1, -1 }, |
3181 | { -1, -1 }, |
3182 | { -1, -1 }, |
3183 | { -1, -1 }, |
3184 | { -1, -1 }, |
3185 | { -1, -1 }, |
3186 | { -1, -1 }, |
3187 | { -1, -1 }, |
3188 | { -1, -1 }, |
3189 | { -1, -1 }, |
3190 | { -1, -1 }, |
3191 | { -1, -1 }, |
3192 | { -1, -1 }, |
3193 | { -1, -1 }, |
3194 | { -1, -1 }, |
3195 | { -1, -1 }, |
3196 | { -1, -1 }, |
3197 | { 317, -1 }, |
3198 | { -1, -1 }, |
3199 | { -1, -1 }, |
3200 | { -1, -1 }, |
3201 | { 187, -1 }, |
3202 | { -1, -1 }, |
3203 | { -1, -1 }, |
3204 | { -1, -1 }, |
3205 | { -1, -1 }, |
3206 | { -1, -1 }, |
3207 | { -1, -1 }, |
3208 | { 520, -1 }, |
3209 | { 272, 2134 }, |
3210 | { -1, -1 }, |
3211 | { 215, -1 }, |
3212 | { 75, -1 }, |
3213 | { -1, -1 }, |
3214 | { -1, -1 }, |
3215 | { -1, -1 }, |
3216 | { -1, -1 }, |
3217 | { 324, 2121 }, |
3218 | { -1, -1 }, |
3219 | { 185, -1 }, |
3220 | { -1, -1 }, |
3221 | { -1, -1 }, |
3222 | { -1, -1 }, |
3223 | { -1, -1 }, |
3224 | { 140, -1 }, |
3225 | { -1, -1 }, |
3226 | { 95, -1 }, |
3227 | { 197, -1 }, |
3228 | { 128, -1 }, |
3229 | { -1, -1 }, |
3230 | { -1, -1 }, |
3231 | { -1, -1 }, |
3232 | { 116, -1 }, |
3233 | { -1, -1 }, |
3234 | { -1, -1 }, |
3235 | { -1, -1 }, |
3236 | { -1, -1 }, |
3237 | { -1, -1 }, |
3238 | { 113, 2115 }, |
3239 | { -1, -1 }, |
3240 | { -1, -1 }, |
3241 | { 649, -1 }, |
3242 | { 375, 2123 }, |
3243 | { 221, -1 }, |
3244 | { -1, -1 }, |
3245 | { 224, -1 }, |
3246 | { 25, -1 }, |
3247 | { -1, -1 }, |
3248 | { -1, -1 }, |
3249 | { 64, -1 }, |
3250 | { -1, -1 }, |
3251 | { -1, -1 }, |
3252 | { 118, -1 }, |
3253 | { -1, -1 }, |
3254 | { 498, -1 }, |
3255 | { -1, -1 }, |
3256 | { -1, -1 }, |
3257 | { -1, -1 }, |
3258 | { -1, -1 }, |
3259 | { 242, 2128 }, |
3260 | { -1, -1 }, |
3261 | { -1, -1 }, |
3262 | { 401, -1 }, |
3263 | { -1, -1 }, |
3264 | { -1, -1 }, |
3265 | { -1, -1 }, |
3266 | { -1, -1 }, |
3267 | { 354, -1 }, |
3268 | { -1, -1 }, |
3269 | { 89, 2061 }, |
3270 | { -1, -1 }, |
3271 | { -1, -1 }, |
3272 | { -1, -1 }, |
3273 | { 209, -1 }, |
3274 | { 615, -1 }, |
3275 | { -1, -1 }, |
3276 | { -1, -1 }, |
3277 | { -1, -1 }, |
3278 | { -1, -1 }, |
3279 | { 40, -1 }, |
3280 | { 176, -1 }, |
3281 | { -1, -1 }, |
3282 | { 294, 2095 }, |
3283 | { -1, -1 }, |
3284 | { -1, -1 }, |
3285 | { 183, 2064 }, |
3286 | { -1, -1 }, |
3287 | { -1, -1 }, |
3288 | { -1, -1 }, |
3289 | { -1, -1 }, |
3290 | { -1, -1 }, |
3291 | { -1, -1 }, |
3292 | { 147, -1 }, |
3293 | { -1, -1 }, |
3294 | { -1, -1 }, |
3295 | { -1, -1 }, |
3296 | { -1, -1 }, |
3297 | { -1, -1 }, |
3298 | { 573, -1 }, |
3299 | { -1, -1 }, |
3300 | { 177, -1 }, |
3301 | { -1, -1 }, |
3302 | { -1, -1 }, |
3303 | { -1, -1 }, |
3304 | { -1, -1 }, |
3305 | { -1, -1 }, |
3306 | { -1, -1 }, |
3307 | { 422, -1 }, |
3308 | { -1, -1 }, |
3309 | { -1, -1 }, |
3310 | { 106, 2076 }, |
3311 | { 274, -1 }, |
3312 | { 318, -1 }, |
3313 | { -1, -1 }, |
3314 | { 528, -1 }, |
3315 | { -1, -1 }, |
3316 | { -1, -1 }, |
3317 | { -1, -1 }, |
3318 | { 239, -1 }, |
3319 | { 230, -1 }, |
3320 | { -1, -1 }, |
3321 | { 207, -1 }, |
3322 | { 487, -1 }, |
3323 | { -1, -1 }, |
3324 | { -1, -1 }, |
3325 | { -1, -1 }, |
3326 | { -1, -1 }, |
3327 | { -1, -1 }, |
3328 | { -1, -1 }, |
3329 | { -1, -1 }, |
3330 | { 640, -1 }, |
3331 | { -1, -1 }, |
3332 | { 486, -1 }, |
3333 | { -1, -1 }, |
3334 | { 566, -1 }, |
3335 | { -1, -1 }, |
3336 | { -1, -1 }, |
3337 | { -1, -1 }, |
3338 | { -1, -1 }, |
3339 | { -1, -1 }, |
3340 | { 227, -1 }, |
3341 | { 68, 2099 }, |
3342 | { 258, -1 }, |
3343 | { -1, -1 }, |
3344 | { -1, -1 }, |
3345 | { 584, -1 }, |
3346 | { 469, -1 }, |
3347 | { -1, -1 }, |
3348 | { -1, -1 }, |
3349 | { -1, -1 }, |
3350 | { -1, -1 }, |
3351 | { 46, -1 }, |
3352 | { -1, -1 }, |
3353 | { 456, -1 }, |
3354 | { -1, -1 }, |
3355 | { -1, -1 }, |
3356 | { -1, -1 }, |
3357 | { -1, -1 }, |
3358 | { -1, -1 }, |
3359 | { -1, -1 }, |
3360 | { -1, -1 }, |
3361 | { -1, -1 }, |
3362 | { 96, 2067 }, |
3363 | { -1, -1 }, |
3364 | { 218, -1 }, |
3365 | { -1, -1 }, |
3366 | { 172, -1 }, |
3367 | { -1, -1 }, |
3368 | { -1, -1 }, |
3369 | { 556, -1 }, |
3370 | { -1, -1 }, |
3371 | { -1, -1 }, |
3372 | { 575, -1 }, |
3373 | { 572, -1 }, |
3374 | { 366, -1 }, |
3375 | { -1, -1 }, |
3376 | { 268, -1 }, |
3377 | { 144, -1 }, |
3378 | { 460, -1 }, |
3379 | { -1, -1 }, |
3380 | { -1, -1 }, |
3381 | { -1, -1 }, |
3382 | { -1, -1 }, |
3383 | { -1, -1 }, |
3384 | { -1, -1 }, |
3385 | { 327, -1 }, |
3386 | { -1, -1 }, |
3387 | { -1, -1 }, |
3388 | { 568, -1 }, |
3389 | { 458, -1 }, |
3390 | { -1, -1 }, |
3391 | { 33, -1 }, |
3392 | { -1, -1 }, |
3393 | { 554, -1 }, |
3394 | { -1, -1 }, |
3395 | { -1, -1 }, |
3396 | { -1, -1 }, |
3397 | { -1, -1 }, |
3398 | { 531, -1 }, |
3399 | { 585, -1 }, |
3400 | { -1, -1 }, |
3401 | { -1, -1 }, |
3402 | { -1, -1 }, |
3403 | { -1, -1 }, |
3404 | { -1, -1 }, |
3405 | { -1, -1 }, |
3406 | { -1, -1 }, |
3407 | { 254, -1 }, |
3408 | { 149, 2102 }, |
3409 | { -1, -1 }, |
3410 | { -1, -1 }, |
3411 | { -1, -1 }, |
3412 | { 37, -1 }, |
3413 | { -1, -1 }, |
3414 | { -1, -1 }, |
3415 | { 135, 2077 }, |
3416 | { -1, -1 }, |
3417 | { 24, -1 }, |
3418 | { -1, -1 }, |
3419 | { 22, 2058 }, |
3420 | { -1, -1 }, |
3421 | { -1, -1 }, |
3422 | { 92, 2062 }, |
3423 | { -1, -1 }, |
3424 | { -1, -1 }, |
3425 | { 603, -1 }, |
3426 | { 606, -1 }, |
3427 | { -1, -1 }, |
3428 | { -1, -1 }, |
3429 | { -1, -1 }, |
3430 | { -1, -1 }, |
3431 | { 481, -1 }, |
3432 | { 521, -1 }, |
3433 | { 65, -1 }, |
3434 | { -1, -1 }, |
3435 | { -1, -1 }, |
3436 | { -1, -1 }, |
3437 | { 638, -1 }, |
3438 | { -1, -1 }, |
3439 | { 448, -1 }, |
3440 | { -1, -1 }, |
3441 | { 451, -1 }, |
3442 | { -1, -1 }, |
3443 | { -1, -1 }, |
3444 | { 605, -1 }, |
3445 | { -1, -1 }, |
3446 | { -1, -1 }, |
3447 | { 341, -1 }, |
3448 | { -1, -1 }, |
3449 | { 211, -1 }, |
3450 | { -1, -1 }, |
3451 | { -1, -1 }, |
3452 | { -1, -1 }, |
3453 | { -1, -1 }, |
3454 | { -1, -1 }, |
3455 | { -1, -1 }, |
3456 | { -1, -1 }, |
3457 | { -1, -1 }, |
3458 | { -1, -1 }, |
3459 | { 396, -1 }, |
3460 | { -1, -1 }, |
3461 | { -1, -1 }, |
3462 | { 499, -1 }, |
3463 | { -1, -1 }, |
3464 | { -1, -1 }, |
3465 | { 612, -1 }, |
3466 | { -1, -1 }, |
3467 | { -1, -1 }, |
3468 | { -1, -1 }, |
3469 | { -1, -1 }, |
3470 | { -1, -1 }, |
3471 | { 321, -1 }, |
3472 | { -1, -1 }, |
3473 | { -1, -1 }, |
3474 | { -1, -1 }, |
3475 | { 413, -1 }, |
3476 | { -1, -1 }, |
3477 | { -1, -1 }, |
3478 | { -1, -1 }, |
3479 | { 404, -1 }, |
3480 | { 179, -1 }, |
3481 | { -1, -1 }, |
3482 | { -1, -1 }, |
3483 | { -1, -1 }, |
3484 | { -1, -1 }, |
3485 | { 100, -1 }, |
3486 | { -1, -1 }, |
3487 | { -1, -1 }, |
3488 | { 241, -1 }, |
3489 | { -1, -1 }, |
3490 | { -1, -1 }, |
3491 | { 591, 2125 }, |
3492 | { -1, -1 }, |
3493 | { 562, -1 }, |
3494 | { 130, 2070 }, |
3495 | { -1, -1 }, |
3496 | { -1, -1 }, |
3497 | { 186, -1 }, |
3498 | { -1, -1 }, |
3499 | { -1, -1 }, |
3500 | { 145, -1 }, |
3501 | { -1, -1 }, |
3502 | { -1, -1 }, |
3503 | { 271, -1 }, |
3504 | { -1, -1 }, |
3505 | { -1, -1 }, |
3506 | { -1, -1 }, |
3507 | { -1, -1 }, |
3508 | { -1, -1 }, |
3509 | { -1, -1 }, |
3510 | { 352, -1 }, |
3511 | { -1, -1 }, |
3512 | { -1, -1 }, |
3513 | { 129, -1 }, |
3514 | { -1, -1 }, |
3515 | { 45, 2111 }, |
3516 | { 351, -1 }, |
3517 | { -1, -1 }, |
3518 | { -1, -1 }, |
3519 | { 393, -1 }, |
3520 | { -1, -1 }, |
3521 | { -1, -1 }, |
3522 | { 335, -1 }, |
3523 | { 304, -1 }, |
3524 | { -1, -1 }, |
3525 | { -1, -1 }, |
3526 | { -1, -1 }, |
3527 | { -1, -1 }, |
3528 | { -1, -1 }, |
3529 | { 276, -1 }, |
3530 | { -1, -1 }, |
3531 | { -1, -1 }, |
3532 | { -1, -1 }, |
3533 | { -1, -1 }, |
3534 | { -1, -1 }, |
3535 | { 322, -1 }, |
3536 | { 386, -1 }, |
3537 | { -1, -1 }, |
3538 | { 368, -1 }, |
3539 | { 387, -1 }, |
3540 | { -1, -1 }, |
3541 | { 513, -1 }, |
3542 | { 530, -1 }, |
3543 | { -1, -1 }, |
3544 | { -1, -1 }, |
3545 | { -1, -1 }, |
3546 | { -1, -1 }, |
3547 | { -1, -1 }, |
3548 | { -1, -1 }, |
3549 | { -1, -1 }, |
3550 | { 162, -1 }, |
3551 | { -1, -1 }, |
3552 | { -1, -1 }, |
3553 | { 623, -1 }, |
3554 | { -1, -1 }, |
3555 | { 159, -1 }, |
3556 | { -1, -1 }, |
3557 | { -1, -1 }, |
3558 | { 77, -1 }, |
3559 | { -1, -1 }, |
3560 | { 8, -1 }, |
3561 | { -1, -1 }, |
3562 | { -1, -1 }, |
3563 | { 283, -1 }, |
3564 | { -1, -1 }, |
3565 | { -1, -1 }, |
3566 | { -1, -1 }, |
3567 | { -1, -1 }, |
3568 | { -1, -1 }, |
3569 | { -1, -1 }, |
3570 | { -1, -1 }, |
3571 | { -1, -1 }, |
3572 | { -1, -1 }, |
3573 | { -1, -1 }, |
3574 | { -1, -1 }, |
3575 | { -1, -1 }, |
3576 | { -1, -1 }, |
3577 | { 518, -1 }, |
3578 | { -1, -1 }, |
3579 | { 195, 2084 }, |
3580 | { 12, 2048 }, |
3581 | { -1, -1 }, |
3582 | { -1, -1 }, |
3583 | { -1, -1 }, |
3584 | { -1, -1 }, |
3585 | { 201, 2116 }, |
3586 | { 578, -1 }, |
3587 | { -1, -1 }, |
3588 | { -1, -1 }, |
3589 | { -1, -1 }, |
3590 | { 303, -1 }, |
3591 | { -1, -1 }, |
3592 | { -1, -1 }, |
3593 | { -1, -1 }, |
3594 | { -1, -1 }, |
3595 | { -1, -1 }, |
3596 | { -1, -1 }, |
3597 | { -1, -1 }, |
3598 | { -1, -1 }, |
3599 | { -1, -1 }, |
3600 | { 247, -1 }, |
3601 | { -1, -1 }, |
3602 | { -1, -1 }, |
3603 | { -1, -1 }, |
3604 | { 35, 2114 }, |
3605 | { 123, -1 }, |
3606 | { -1, -1 }, |
3607 | { -1, -1 }, |
3608 | { -1, -1 }, |
3609 | { -1, -1 }, |
3610 | { -1, -1 }, |
3611 | { -1, -1 }, |
3612 | { -1, -1 }, |
3613 | { -1, -1 }, |
3614 | { -1, -1 }, |
3615 | { -1, -1 }, |
3616 | { 291, -1 }, |
3617 | { -1, -1 }, |
3618 | { -1, -1 }, |
3619 | { -1, -1 }, |
3620 | { -1, -1 }, |
3621 | { -1, -1 }, |
3622 | { -1, -1 }, |
3623 | { -1, -1 }, |
3624 | { 581, -1 }, |
3625 | { -1, -1 }, |
3626 | { -1, -1 }, |
3627 | { -1, -1 }, |
3628 | { -1, -1 }, |
3629 | { -1, -1 }, |
3630 | { -1, -1 }, |
3631 | { 69, 2082 }, |
3632 | { -1, -1 }, |
3633 | { -1, -1 }, |
3634 | { -1, -1 }, |
3635 | { -1, -1 }, |
3636 | { -1, -1 }, |
3637 | { -1, -1 }, |
3638 | { 255, -1 }, |
3639 | { -1, -1 }, |
3640 | { -1, -1 }, |
3641 | { -1, -1 }, |
3642 | { -1, -1 }, |
3643 | { 542, -1 }, |
3644 | { -1, -1 }, |
3645 | { 425, -1 }, |
3646 | { -1, -1 }, |
3647 | { -1, -1 }, |
3648 | { -1, -1 }, |
3649 | { -1, -1 }, |
3650 | { -1, -1 }, |
3651 | { -1, -1 }, |
3652 | { 437, -1 }, |
3653 | { 27, 2074 }, |
3654 | { 600, -1 }, |
3655 | { -1, -1 }, |
3656 | { 53, -1 }, |
3657 | { -1, -1 }, |
3658 | { 32, -1 }, |
3659 | { -1, -1 }, |
3660 | { -1, -1 }, |
3661 | { -1, -1 }, |
3662 | { -1, -1 }, |
3663 | { -1, -1 }, |
3664 | { 488, -1 }, |
3665 | { 0, -1 }, |
3666 | { 226, -1 }, |
3667 | { 154, -1 }, |
3668 | { -1, -1 }, |
3669 | { 173, -1 }, |
3670 | { -1, -1 }, |
3671 | { 42, -1 }, |
3672 | { -1, -1 }, |
3673 | { -1, -1 }, |
3674 | { -1, -1 }, |
3675 | { 424, -1 }, |
3676 | { -1, -1 }, |
3677 | { -1, -1 }, |
3678 | { 512, -1 }, |
3679 | { -1, -1 }, |
3680 | { -1, -1 }, |
3681 | { -1, -1 }, |
3682 | { -1, -1 }, |
3683 | { 372, -1 }, |
3684 | { -1, -1 }, |
3685 | { -1, -1 }, |
3686 | { 88, -1 }, |
3687 | { -1, -1 }, |
3688 | { 56, -1 }, |
3689 | { -1, -1 }, |
3690 | { 522, -1 }, |
3691 | { -1, -1 }, |
3692 | { -1, -1 }, |
3693 | { -1, -1 }, |
3694 | { -1, -1 }, |
3695 | { -1, -1 }, |
3696 | { -1, -1 }, |
3697 | { -1, -1 }, |
3698 | { -1, -1 }, |
3699 | { -1, -1 }, |
3700 | { -1, -1 }, |
3701 | { -1, -1 }, |
3702 | { -1, -1 }, |
3703 | { -1, -1 }, |
3704 | { -1, -1 }, |
3705 | { -1, -1 }, |
3706 | { -1, -1 }, |
3707 | { -1, -1 }, |
3708 | { -1, -1 }, |
3709 | { -1, -1 }, |
3710 | { -1, -1 }, |
3711 | { -1, -1 }, |
3712 | { -1, -1 }, |
3713 | { -1, -1 }, |
3714 | { -1, -1 }, |
3715 | { -1, -1 }, |
3716 | { -1, -1 }, |
3717 | { -1, -1 }, |
3718 | { -1, -1 }, |
3719 | { -1, -1 }, |
3720 | { -1, -1 }, |
3721 | { -1, -1 }, |
3722 | { -1, -1 }, |
3723 | { -1, -1 }, |
3724 | { 275, -1 }, |
3725 | { 382, -1 }, |
3726 | { -1, -1 }, |
3727 | { -1, -1 }, |
3728 | { -1, -1 }, |
3729 | { -1, -1 }, |
3730 | { 204, -1 }, |
3731 | { -1, -1 }, |
3732 | { 161, -1 }, |
3733 | { -1, -1 }, |
3734 | { -1, -1 }, |
3735 | { -1, -1 }, |
3736 | { -1, -1 }, |
3737 | { -1, -1 }, |
3738 | { -1, -1 }, |
3739 | { -1, -1 }, |
3740 | { 620, -1 }, |
3741 | { -1, -1 }, |
3742 | { -1, -1 }, |
3743 | { -1, -1 }, |
3744 | { 593, -1 }, |
3745 | { -1, -1 }, |
3746 | { -1, -1 }, |
3747 | { -1, -1 }, |
3748 | { 644, -1 }, |
3749 | { 643, -1 }, |
3750 | { -1, -1 }, |
3751 | { -1, -1 }, |
3752 | { -1, -1 }, |
3753 | { -1, -1 }, |
3754 | { -1, -1 }, |
3755 | { -1, -1 }, |
3756 | { -1, -1 }, |
3757 | { -1, -1 }, |
3758 | { -1, -1 }, |
3759 | { -1, -1 }, |
3760 | { 136, -1 }, |
3761 | { -1, -1 }, |
3762 | { -1, -1 }, |
3763 | { -1, -1 }, |
3764 | { 472, -1 }, |
3765 | { 371, -1 }, |
3766 | { -1, -1 }, |
3767 | { -1, -1 }, |
3768 | { -1, -1 }, |
3769 | { -1, -1 }, |
3770 | { -1, -1 }, |
3771 | { 493, -1 }, |
3772 | { -1, -1 }, |
3773 | { -1, -1 }, |
3774 | { -1, -1 }, |
3775 | { -1, -1 }, |
3776 | { -1, -1 }, |
3777 | { -1, -1 }, |
3778 | { -1, -1 }, |
3779 | { 249, -1 }, |
3780 | { -1, -1 }, |
3781 | { -1, -1 }, |
3782 | { -1, -1 }, |
3783 | { -1, -1 }, |
3784 | { 39, -1 }, |
3785 | { -1, -1 }, |
3786 | { -1, -1 }, |
3787 | { -1, -1 }, |
3788 | { -1, -1 }, |
3789 | { -1, -1 }, |
3790 | { -1, -1 }, |
3791 | { -1, -1 }, |
3792 | { 316, -1 }, |
3793 | { -1, -1 }, |
3794 | { -1, -1 }, |
3795 | { -1, -1 }, |
3796 | { 402, 2103 }, |
3797 | { -1, -1 }, |
3798 | { -1, -1 }, |
3799 | { -1, -1 }, |
3800 | { -1, -1 }, |
3801 | { 635, -1 }, |
3802 | { 380, -1 }, |
3803 | { -1, -1 }, |
3804 | { -1, -1 }, |
3805 | { -1, -1 }, |
3806 | { -1, -1 }, |
3807 | { -1, -1 }, |
3808 | { -1, -1 }, |
3809 | { -1, -1 }, |
3810 | { 519, -1 }, |
3811 | { -1, -1 }, |
3812 | { -1, -1 }, |
3813 | { 423, -1 }, |
3814 | { -1, -1 }, |
3815 | { -1, -1 }, |
3816 | { 446, -1 }, |
3817 | { -1, -1 }, |
3818 | { 588, -1 }, |
3819 | { 164, 2065 }, |
3820 | { -1, -1 }, |
3821 | { -1, -1 }, |
3822 | { 489, -1 }, |
3823 | { -1, -1 }, |
3824 | { -1, -1 }, |
3825 | { -1, -1 }, |
3826 | { -1, -1 }, |
3827 | { -1, -1 }, |
3828 | { 14, -1 }, |
3829 | { -1, -1 }, |
3830 | { -1, -1 }, |
3831 | { 231, 2136 }, |
3832 | { 347, -1 }, |
3833 | { -1, -1 }, |
3834 | { -1, -1 }, |
3835 | { -1, -1 }, |
3836 | { -1, -1 }, |
3837 | { -1, -1 }, |
3838 | { -1, -1 }, |
3839 | { -1, -1 }, |
3840 | { -1, -1 }, |
3841 | { -1, -1 }, |
3842 | { 432, -1 }, |
3843 | { -1, -1 }, |
3844 | { -1, -1 }, |
3845 | { 608, -1 }, |
3846 | { -1, -1 }, |
3847 | { -1, -1 }, |
3848 | { -1, -1 }, |
3849 | { -1, -1 }, |
3850 | { -1, -1 }, |
3851 | { -1, -1 }, |
3852 | { -1, -1 }, |
3853 | { -1, -1 }, |
3854 | { -1, -1 }, |
3855 | { 462, 2119 }, |
3856 | { 7, -1 }, |
3857 | { 329, 2112 }, |
3858 | { 567, -1 }, |
3859 | { 111, 2078 }, |
3860 | { -1, -1 }, |
3861 | { -1, -1 }, |
3862 | { -1, -1 }, |
3863 | { 28, -1 }, |
3864 | { -1, -1 }, |
3865 | { -1, -1 }, |
3866 | { -1, -1 }, |
3867 | { -1, -1 }, |
3868 | { -1, -1 }, |
3869 | { 15, -1 }, |
3870 | { -1, -1 }, |
3871 | { 104, -1 }, |
3872 | { -1, -1 }, |
3873 | { -1, -1 }, |
3874 | { 131, 2105 }, |
3875 | { 431, -1 }, |
3876 | { 163, -1 }, |
3877 | { 81, 2072 }, |
3878 | { -1, -1 }, |
3879 | { -1, -1 }, |
3880 | { -1, -1 }, |
3881 | { -1, -1 }, |
3882 | { -1, -1 }, |
3883 | { 236, -1 }, |
3884 | { -1, -1 }, |
3885 | { -1, -1 }, |
3886 | { -1, -1 }, |
3887 | { 265, -1 }, |
3888 | { -1, -1 }, |
3889 | { -1, -1 }, |
3890 | { -1, -1 }, |
3891 | { -1, -1 }, |
3892 | { 188, -1 }, |
3893 | { -1, -1 }, |
3894 | { 594, -1 }, |
3895 | { -1, -1 }, |
3896 | { -1, -1 }, |
3897 | { -1, -1 }, |
3898 | { -1, -1 }, |
3899 | { -1, -1 }, |
3900 | { -1, -1 }, |
3901 | { -1, -1 }, |
3902 | { -1, -1 }, |
3903 | { 2, 2060 }, |
3904 | { -1, -1 }, |
3905 | { 559, -1 }, |
3906 | { 281, -1 }, |
3907 | { 639, -1 }, |
3908 | { 51, -1 }, |
3909 | { -1, -1 }, |
3910 | { -1, -1 }, |
3911 | { -1, -1 }, |
3912 | { -1, -1 }, |
3913 | { -1, -1 }, |
3914 | { -1, -1 }, |
3915 | { -1, -1 }, |
3916 | { 200, 2107 }, |
3917 | { -1, -1 }, |
3918 | { -1, -1 }, |
3919 | { -1, -1 }, |
3920 | { -1, -1 }, |
3921 | { -1, -1 }, |
3922 | { -1, -1 }, |
3923 | { 266, -1 }, |
3924 | { -1, -1 }, |
3925 | { 509, -1 }, |
3926 | { 234, -1 }, |
3927 | { -1, -1 }, |
3928 | { -1, -1 }, |
3929 | { 61, -1 }, |
3930 | { 10, -1 }, |
3931 | { -1, -1 }, |
3932 | { -1, -1 }, |
3933 | { 286, -1 }, |
3934 | { -1, -1 }, |
3935 | { -1, -1 }, |
3936 | { 527, -1 }, |
3937 | { 219, -1 }, |
3938 | { 360, -1 }, |
3939 | { -1, -1 }, |
3940 | { -1, -1 }, |
3941 | { -1, -1 }, |
3942 | { -1, -1 }, |
3943 | { 82, -1 }, |
3944 | { -1, -1 }, |
3945 | { -1, -1 }, |
3946 | { -1, -1 }, |
3947 | { -1, -1 }, |
3948 | { -1, -1 }, |
3949 | { -1, -1 }, |
3950 | { -1, -1 }, |
3951 | { 536, 2130 }, |
3952 | { -1, -1 }, |
3953 | { -1, -1 }, |
3954 | { -1, -1 }, |
3955 | { -1, -1 }, |
3956 | { 23, 2057 }, |
3957 | { 632, -1 }, |
3958 | { -1, -1 }, |
3959 | { -1, -1 }, |
3960 | { -1, -1 }, |
3961 | { -1, -1 }, |
3962 | { -1, -1 }, |
3963 | { 494, -1 }, |
3964 | { 543, 2127 }, |
3965 | { 298, -1 }, |
3966 | { -1, -1 }, |
3967 | { -1, -1 }, |
3968 | { -1, -1 }, |
3969 | { -1, -1 }, |
3970 | { 340, -1 }, |
3971 | { -1, -1 }, |
3972 | { 595, -1 }, |
3973 | { 3, -1 }, |
3974 | { -1, -1 }, |
3975 | { -1, -1 }, |
3976 | { -1, -1 }, |
3977 | { -1, -1 }, |
3978 | { -1, -1 }, |
3979 | { 203, -1 }, |
3980 | { 260, -1 }, |
3981 | { -1, -1 }, |
3982 | { -1, -1 }, |
3983 | { -1, -1 }, |
3984 | { -1, -1 }, |
3985 | { 175, -1 }, |
3986 | { -1, -1 }, |
3987 | { -1, -1 }, |
3988 | { -1, -1 }, |
3989 | { 279, -1 }, |
3990 | { -1, -1 }, |
3991 | { -1, -1 }, |
3992 | { -1, -1 }, |
3993 | { -1, -1 }, |
3994 | { 650, -1 }, |
3995 | { 598, -1 }, |
3996 | { -1, -1 }, |
3997 | { -1, -1 }, |
3998 | { -1, -1 }, |
3999 | { -1, -1 }, |
4000 | { -1, -1 }, |
4001 | { -1, -1 }, |
4002 | { 52, -1 }, |
4003 | { 309, -1 }, |
4004 | { -1, -1 }, |
4005 | { -1, -1 }, |
4006 | { 421, -1 }, |
4007 | { -1, -1 }, |
4008 | { -1, -1 }, |
4009 | { 428, -1 }, |
4010 | { -1, -1 }, |
4011 | { 288, -1 }, |
4012 | { -1, -1 }, |
4013 | { 511, -1 }, |
4014 | { -1, -1 }, |
4015 | { -1, -1 }, |
4016 | { -1, -1 }, |
4017 | { -1, -1 }, |
4018 | { -1, -1 }, |
4019 | { -1, -1 }, |
4020 | { -1, -1 }, |
4021 | { -1, -1 }, |
4022 | { -1, -1 }, |
4023 | { -1, -1 }, |
4024 | { -1, -1 }, |
4025 | { 122, -1 }, |
4026 | { 548, -1 }, |
4027 | { -1, -1 }, |
4028 | { 210, -1 }, |
4029 | { -1, -1 }, |
4030 | { -1, -1 }, |
4031 | { -1, -1 }, |
4032 | { -1, -1 }, |
4033 | { -1, -1 }, |
4034 | { -1, -1 }, |
4035 | { -1, -1 }, |
4036 | { 44, -1 }, |
4037 | { 505, -1 }, |
4038 | { 148, -1 }, |
4039 | { -1, -1 }, |
4040 | { 525, -1 }, |
4041 | { -1, -1 }, |
4042 | { -1, -1 }, |
4043 | { -1, -1 }, |
4044 | { 36, -1 }, |
4045 | { -1, -1 }, |
4046 | { -1, -1 }, |
4047 | { -1, -1 }, |
4048 | { -1, -1 }, |
4049 | { -1, -1 }, |
4050 | { -1, -1 }, |
4051 | { -1, -1 }, |
4052 | { -1, -1 }, |
4053 | { -1, -1 }, |
4054 | { -1, -1 }, |
4055 | { -1, -1 }, |
4056 | { -1, -1 }, |
4057 | { -1, -1 }, |
4058 | { -1, -1 }, |
4059 | { -1, -1 }, |
4060 | { -1, -1 }, |
4061 | { -1, -1 }, |
4062 | { -1, -1 }, |
4063 | { 47, -1 }, |
4064 | { -1, -1 }, |
4065 | { -1, -1 }, |
4066 | { -1, -1 }, |
4067 | { -1, -1 }, |
4068 | { -1, -1 }, |
4069 | { 311, -1 }, |
4070 | { 648, -1 }, |
4071 | { -1, -1 }, |
4072 | { -1, -1 }, |
4073 | { 574, -1 }, |
4074 | { -1, -1 }, |
4075 | { 232, -1 }, |
4076 | { -1, -1 }, |
4077 | { -1, -1 }, |
4078 | { 611, -1 }, |
4079 | { -1, -1 }, |
4080 | { -1, -1 }, |
4081 | { 29, -1 }, |
4082 | { -1, -1 }, |
4083 | { -1, -1 }, |
4084 | { -1, -1 }, |
4085 | { -1, -1 }, |
4086 | { -1, -1 }, |
4087 | { -1, -1 }, |
4088 | { 359, -1 }, |
4089 | { 415, -1 }, |
4090 | { -1, -1 }, |
4091 | { 264, 2110 }, |
4092 | { -1, -1 }, |
4093 | { -1, -1 }, |
4094 | { -1, -1 }, |
4095 | { 628, -1 }, |
4096 | { 193, -1 }, |
4097 | { -1, -1 }, |
4098 | { -1, -1 }, |
4099 | { -1, -1 }, |
4100 | { 180, -1 }, |
4101 | { -1, -1 }, |
4102 | { -1, -1 }, |
4103 | { -1, -1 }, |
4104 | { -1, -1 }, |
4105 | { -1, -1 }, |
4106 | { -1, -1 }, |
4107 | { 503, -1 }, |
4108 | { -1, -1 }, |
4109 | { 270, -1 }, |
4110 | { 86, -1 }, |
4111 | { -1, -1 }, |
4112 | { 63, -1 }, |
4113 | { -1, -1 }, |
4114 | { 1, 2056 }, |
4115 | { -1, -1 }, |
4116 | { -1, -1 }, |
4117 | { 192, 2071 }, |
4118 | { 182, -1 }, |
4119 | { 213, -1 }, |
4120 | { -1, -1 }, |
4121 | { -1, -1 }, |
4122 | { 184, 2094 }, |
4123 | { 278, -1 }, |
4124 | { -1, -1 }, |
4125 | { -1, -1 }, |
4126 | { -1, -1 }, |
4127 | { -1, -1 }, |
4128 | { 376, -1 }, |
4129 | { -1, -1 }, |
4130 | { -1, -1 }, |
4131 | { -1, -1 }, |
4132 | { -1, -1 }, |
4133 | { -1, -1 }, |
4134 | { -1, -1 }, |
4135 | { 466, -1 }, |
4136 | { -1, -1 }, |
4137 | { -1, -1 }, |
4138 | { -1, -1 }, |
4139 | { 468, -1 }, |
4140 | { -1, -1 }, |
4141 | { 339, -1 }, |
4142 | { -1, -1 }, |
4143 | { -1, -1 }, |
4144 | { -1, -1 }, |
4145 | { -1, -1 }, |
4146 | { -1, -1 }, |
4147 | { 465, 2135 }, |
4148 | { -1, -1 }, |
4149 | { -1, -1 }, |
4150 | { 552, -1 }, |
4151 | { -1, -1 }, |
4152 | { 301, 2097 }, |
4153 | { -1, -1 }, |
4154 | { -1, -1 }, |
4155 | { -1, -1 }, |
4156 | { -1, -1 }, |
4157 | { -1, -1 }, |
4158 | { -1, -1 }, |
4159 | { 374, 2088 }, |
4160 | { 160, -1 }, |
4161 | { -1, -1 }, |
4162 | { -1, -1 }, |
4163 | { -1, -1 }, |
4164 | { -1, -1 }, |
4165 | { -1, -1 }, |
4166 | { -1, -1 }, |
4167 | { -1, -1 }, |
4168 | { -1, -1 }, |
4169 | { 390, -1 }, |
4170 | { 79, -1 }, |
4171 | { 308, -1 }, |
4172 | { -1, -1 }, |
4173 | { -1, -1 }, |
4174 | { -1, -1 }, |
4175 | { -1, -1 }, |
4176 | { 405, -1 }, |
4177 | { -1, -1 }, |
4178 | { 610, -1 }, |
4179 | { -1, -1 }, |
4180 | { -1, -1 }, |
4181 | { -1, -1 }, |
4182 | { 269, -1 }, |
4183 | { -1, -1 }, |
4184 | { -1, -1 }, |
4185 | { 127, -1 }, |
4186 | { -1, -1 }, |
4187 | { 153, -1 }, |
4188 | { -1, -1 }, |
4189 | { -1, -1 }, |
4190 | { -1, -1 }, |
4191 | { -1, -1 }, |
4192 | { -1, -1 }, |
4193 | { -1, -1 }, |
4194 | { 233, -1 }, |
4195 | { -1, -1 }, |
4196 | { 114, -1 }, |
4197 | { 212, -1 }, |
4198 | { -1, -1 }, |
4199 | { -1, -1 }, |
4200 | { 400, -1 }, |
4201 | { -1, -1 }, |
4202 | { 124, -1 }, |
4203 | { -1, -1 }, |
4204 | { -1, -1 }, |
4205 | { -1, -1 }, |
4206 | { -1, -1 }, |
4207 | { 500, -1 }, |
4208 | { -1, -1 }, |
4209 | { -1, -1 }, |
4210 | { 244, -1 }, |
4211 | { 429, -1 }, |
4212 | { -1, -1 }, |
4213 | { -1, -1 }, |
4214 | { -1, -1 }, |
4215 | { -1, -1 }, |
4216 | { -1, -1 }, |
4217 | { -1, -1 }, |
4218 | { -1, -1 }, |
4219 | { -1, -1 }, |
4220 | { 296, -1 }, |
4221 | { -1, -1 }, |
4222 | { -1, -1 }, |
4223 | { -1, -1 }, |
4224 | { -1, -1 }, |
4225 | { -1, -1 }, |
4226 | { -1, -1 }, |
4227 | { 245, 2069 }, |
4228 | { -1, -1 }, |
4229 | { -1, -1 }, |
4230 | { -1, -1 }, |
4231 | { 199, -1 }, |
4232 | { 420, -1 }, |
4233 | { 290, 2087 }, |
4234 | { -1, -1 }, |
4235 | { -1, -1 }, |
4236 | { -1, -1 }, |
4237 | { -1, -1 }, |
4238 | { 126, -1 }, |
4239 | { -1, -1 }, |
4240 | { -1, -1 }, |
4241 | { 117, -1 }, |
4242 | { -1, -1 }, |
4243 | { -1, -1 }, |
4244 | { -1, -1 }, |
4245 | { -1, -1 }, |
4246 | { -1, -1 }, |
4247 | { -1, -1 }, |
4248 | { -1, -1 }, |
4249 | { -1, -1 }, |
4250 | { -1, -1 }, |
4251 | { -1, -1 }, |
4252 | { 496, -1 }, |
4253 | { -1, -1 }, |
4254 | { -1, -1 }, |
4255 | { 583, -1 }, |
4256 | { -1, -1 }, |
4257 | { -1, -1 }, |
4258 | { -1, -1 }, |
4259 | { -1, -1 }, |
4260 | { 642, -1 }, |
4261 | { -1, -1 }, |
4262 | { 614, -1 }, |
4263 | { 353, -1 }, |
4264 | { -1, -1 }, |
4265 | { -1, -1 }, |
4266 | { -1, -1 }, |
4267 | { -1, -1 }, |
4268 | { -1, -1 }, |
4269 | { -1, -1 }, |
4270 | { 252, -1 }, |
4271 | { -1, -1 }, |
4272 | { 555, -1 }, |
4273 | { -1, -1 }, |
4274 | { 310, -1 }, |
4275 | { -1, -1 }, |
4276 | { -1, -1 }, |
4277 | { -1, -1 }, |
4278 | { -1, -1 }, |
4279 | { 435, -1 }, |
4280 | { -1, -1 }, |
4281 | { -1, -1 }, |
4282 | { -1, -1 }, |
4283 | { -1, -1 }, |
4284 | { 108, -1 }, |
4285 | { 319, -1 }, |
4286 | { 190, -1 }, |
4287 | { 439, -1 }, |
4288 | { 103, -1 }, |
4289 | { -1, -1 }, |
4290 | { -1, -1 }, |
4291 | { -1, -1 }, |
4292 | { -1, -1 }, |
4293 | { -1, -1 }, |
4294 | { 551, -1 }, |
4295 | { -1, -1 }, |
4296 | { -1, -1 }, |
4297 | { -1, -1 }, |
4298 | { 97, -1 }, |
4299 | { -1, -1 }, |
4300 | { 570, -1 }, |
4301 | { 277, -1 }, |
4302 | { -1, -1 }, |
4303 | { -1, -1 }, |
4304 | { 302, -1 }, |
4305 | { -1, -1 }, |
4306 | { -1, -1 }, |
4307 | { -1, -1 }, |
4308 | { -1, -1 }, |
4309 | { -1, -1 }, |
4310 | { 365, -1 }, |
4311 | { 6, -1 }, |
4312 | { -1, -1 }, |
4313 | { 112, -1 }, |
4314 | { -1, -1 }, |
4315 | { 434, -1 }, |
4316 | { -1, -1 }, |
4317 | { -1, -1 }, |
4318 | { 293, -1 }, |
4319 | { -1, -1 }, |
4320 | { -1, -1 }, |
4321 | { -1, -1 }, |
4322 | { -1, -1 }, |
4323 | { -1, -1 }, |
4324 | { -1, -1 }, |
4325 | { 205, -1 }, |
4326 | { -1, -1 }, |
4327 | { -1, -1 }, |
4328 | { -1, -1 }, |
4329 | { -1, -1 }, |
4330 | { -1, -1 }, |
4331 | { -1, -1 }, |
4332 | { -1, -1 }, |
4333 | { -1, -1 }, |
4334 | { 98, -1 }, |
4335 | { 223, -1 }, |
4336 | { 101, 2052 }, |
4337 | { 346, -1 }, |
4338 | { -1, -1 }, |
4339 | { 471, -1 }, |
4340 | { -1, -1 }, |
4341 | { -1, -1 }, |
4342 | { -1, -1 }, |
4343 | { -1, -1 }, |
4344 | { 99, -1 }, |
4345 | { -1, -1 }, |
4346 | { -1, -1 }, |
4347 | { -1, -1 }, |
4348 | { -1, -1 }, |
4349 | { 198, -1 }, |
4350 | { -1, -1 }, |
4351 | { -1, -1 }, |
4352 | { -1, -1 }, |
4353 | { 414, -1 }, |
4354 | { 636, -1 }, |
4355 | { -1, -1 }, |
4356 | { -1, -1 }, |
4357 | { 397, -1 }, |
4358 | { -1, -1 }, |
4359 | { -1, -1 }, |
4360 | { -1, -1 }, |
4361 | { -1, -1 }, |
4362 | { 253, -1 }, |
4363 | { -1, -1 }, |
4364 | { -1, -1 }, |
4365 | { -1, -1 }, |
4366 | { -1, -1 }, |
4367 | { -1, -1 }, |
4368 | { -1, -1 }, |
4369 | { -1, -1 }, |
4370 | { 381, -1 }, |
4371 | { 367, -1 }, |
4372 | { -1, -1 }, |
4373 | { -1, -1 }, |
4374 | { -1, -1 }, |
4375 | { 67, -1 }, |
4376 | { -1, -1 }, |
4377 | { 237, -1 }, |
4378 | { 634, -1 }, |
4379 | { 416, -1 }, |
4380 | { 4, -1 }, |
4381 | { -1, -1 }, |
4382 | { 565, -1 }, |
4383 | { 9, 2118 }, |
4384 | { -1, -1 }, |
4385 | { -1, -1 }, |
4386 | { -1, -1 }, |
4387 | { -1, -1 }, |
4388 | { -1, -1 }, |
4389 | { -1, -1 }, |
4390 | { -1, -1 }, |
4391 | { -1, -1 }, |
4392 | { 235, 2081 }, |
4393 | { -1, -1 }, |
4394 | { -1, -1 }, |
4395 | { -1, -1 }, |
4396 | { 158, -1 }, |
4397 | { 410, -1 }, |
4398 | { -1, -1 }, |
4399 | { -1, -1 }, |
4400 | { -1, -1 }, |
4401 | { 246, -1 }, |
4402 | { -1, -1 }, |
4403 | { -1, -1 }, |
4404 | { 17, 2054 }, |
4405 | { -1, -1 }, |
4406 | { -1, -1 }, |
4407 | { -1, -1 }, |
4408 | { -1, -1 }, |
4409 | { -1, -1 }, |
4410 | { -1, -1 }, |
4411 | { -1, -1 }, |
4412 | { -1, -1 }, |
4413 | { 535, -1 }, |
4414 | { -1, -1 }, |
4415 | { 280, -1 }, |
4416 | { -1, -1 }, |
4417 | { 474, -1 }, |
4418 | { -1, -1 }, |
4419 | { 250, -1 }, |
4420 | { -1, -1 }, |
4421 | { -1, -1 }, |
4422 | { 119, 2055 }, |
4423 | { -1, -1 }, |
4424 | { 517, -1 }, |
4425 | { 532, -1 }, |
4426 | { 478, -1 }, |
4427 | { -1, -1 }, |
4428 | { -1, -1 }, |
4429 | { -1, -1 }, |
4430 | { 357, -1 }, |
4431 | { 399, 2131 }, |
4432 | { 373, -1 }, |
4433 | { 13, -1 }, |
4434 | { -1, -1 }, |
4435 | { -1, -1 }, |
4436 | { 134, -1 }, |
4437 | { 502, -1 }, |
4438 | { -1, -1 }, |
4439 | { -1, -1 }, |
4440 | { 20, -1 }, |
4441 | { -1, -1 }, |
4442 | { 217, -1 }, |
4443 | { -1, -1 }, |
4444 | { 454, -1 }, |
4445 | { -1, -1 }, |
4446 | { -1, -1 }, |
4447 | { -1, -1 }, |
4448 | { -1, -1 }, |
4449 | { -1, -1 }, |
4450 | { 507, -1 }, |
4451 | { -1, -1 }, |
4452 | { -1, -1 }, |
4453 | { -1, -1 }, |
4454 | { -1, -1 }, |
4455 | { -1, -1 }, |
4456 | { -1, -1 }, |
4457 | { 619, -1 }, |
4458 | { -1, -1 }, |
4459 | { -1, -1 }, |
4460 | { 546, -1 }, |
4461 | { 57, -1 }, |
4462 | { 592, -1 }, |
4463 | { 157, -1 }, |
4464 | { -1, -1 }, |
4465 | { 426, -1 }, |
4466 | { -1, -1 }, |
4467 | { -1, -1 }, |
4468 | { -1, -1 }, |
4469 | { -1, -1 }, |
4470 | { -1, -1 }, |
4471 | { -1, -1 }, |
4472 | { -1, -1 }, |
4473 | { 444, -1 }, |
4474 | { 313, -1 }, |
4475 | { -1, -1 }, |
4476 | { -1, -1 }, |
4477 | { -1, -1 }, |
4478 | { -1, -1 }, |
4479 | { -1, -1 }, |
4480 | { -1, -1 }, |
4481 | { 560, -1 }, |
4482 | { 361, -1 }, |
4483 | { -1, -1 }, |
4484 | { -1, -1 }, |
4485 | { 343, -1 }, |
4486 | { 73, 2129 }, |
4487 | { -1, -1 }, |
4488 | { 26, -1 }, |
4489 | { -1, -1 }, |
4490 | { -1, -1 }, |
4491 | { -1, -1 }, |
4492 | { -1, -1 }, |
4493 | { -1, -1 }, |
4494 | { -1, -1 }, |
4495 | { -1, -1 }, |
4496 | { -1, -1 }, |
4497 | { -1, -1 }, |
4498 | { 133, -1 }, |
4499 | { -1, -1 }, |
4500 | { -1, -1 }, |
4501 | { -1, -1 }, |
4502 | { -1, -1 }, |
4503 | { -1, -1 }, |
4504 | { -1, -1 }, |
4505 | { 362, -1 }, |
4506 | { -1, -1 }, |
4507 | { 514, -1 }, |
4508 | { -1, -1 }, |
4509 | { -1, -1 }, |
4510 | { -1, -1 }, |
4511 | { -1, -1 }, |
4512 | { -1, -1 }, |
4513 | { -1, -1 }, |
4514 | { -1, -1 }, |
4515 | { -1, -1 }, |
4516 | { -1, -1 }, |
4517 | { 315, -1 }, |
4518 | { -1, -1 }, |
4519 | { -1, -1 }, |
4520 | { 452, -1 }, |
4521 | { -1, -1 }, |
4522 | { 331, -1 }, |
4523 | { -1, -1 }, |
4524 | { -1, -1 }, |
4525 | { -1, -1 }, |
4526 | { -1, -1 }, |
4527 | { -1, -1 }, |
4528 | { -1, -1 }, |
4529 | { -1, -1 }, |
4530 | { -1, -1 }, |
4531 | { -1, -1 }, |
4532 | { 251, -1 }, |
4533 | { -1, -1 }, |
4534 | { -1, -1 }, |
4535 | { 558, -1 }, |
4536 | { 384, 2106 }, |
4537 | { 314, 2096 }, |
4538 | { -1, -1 }, |
4539 | { 544, -1 }, |
4540 | { -1, -1 }, |
4541 | { -1, -1 }, |
4542 | { -1, -1 }, |
4543 | { 629, -1 }, |
4544 | { 604, -1 }, |
4545 | { -1, -1 }, |
4546 | { -1, -1 }, |
4547 | { 240, 2109 }, |
4548 | { -1, -1 }, |
4549 | { -1, -1 }, |
4550 | { -1, -1 }, |
4551 | { -1, -1 }, |
4552 | { -1, -1 }, |
4553 | { 447, -1 }, |
4554 | { -1, -1 }, |
4555 | { 379, -1 }, |
4556 | { -1, -1 }, |
4557 | { -1, -1 }, |
4558 | { 391, -1 }, |
4559 | { 151, -1 }, |
4560 | { 243, -1 }, |
4561 | { -1, -1 }, |
4562 | { -1, -1 }, |
4563 | { -1, -1 }, |
4564 | { -1, -1 }, |
4565 | { -1, -1 }, |
4566 | { 139, -1 }, |
4567 | { -1, -1 }, |
4568 | { 85, 2100 }, |
4569 | { -1, -1 }, |
4570 | { -1, -1 }, |
4571 | { -1, -1 }, |
4572 | { -1, -1 }, |
4573 | { -1, -1 }, |
4574 | { -1, -1 }, |
4575 | { 49, -1 }, |
4576 | { 389, -1 }, |
4577 | { 54, -1 }, |
4578 | { -1, -1 }, |
4579 | { -1, -1 }, |
4580 | { -1, -1 }, |
4581 | { -1, -1 }, |
4582 | { -1, -1 }, |
4583 | { -1, -1 }, |
4584 | { 637, -1 }, |
4585 | { -1, -1 }, |
4586 | { -1, -1 }, |
4587 | { -1, -1 }, |
4588 | { -1, -1 }, |
4589 | { -1, -1 }, |
4590 | { -1, -1 }, |
4591 | { -1, -1 }, |
4592 | { -1, -1 }, |
4593 | { -1, -1 }, |
4594 | { 312, -1 }, |
4595 | { 388, 2086 }, |
4596 | { -1, -1 }, |
4597 | { 191, -1 }, |
4598 | { -1, -1 }, |
4599 | { -1, -1 }, |
4600 | { -1, -1 }, |
4601 | { 430, -1 }, |
4602 | { -1, -1 }, |
4603 | { -1, -1 }, |
4604 | { 300, -1 }, |
4605 | { -1, -1 }, |
4606 | { -1, -1 }, |
4607 | { 564, -1 }, |
4608 | { -1, -1 }, |
4609 | { -1, -1 }, |
4610 | { -1, -1 }, |
4611 | { -1, -1 }, |
4612 | { -1, -1 }, |
4613 | { -1, -1 }, |
4614 | { -1, -1 }, |
4615 | { -1, -1 }, |
4616 | { 590, -1 }, |
4617 | { -1, -1 }, |
4618 | { -1, -1 }, |
4619 | { -1, -1 }, |
4620 | { -1, -1 }, |
4621 | { -1, -1 }, |
4622 | { -1, -1 }, |
4623 | { -1, -1 }, |
4624 | { -1, -1 }, |
4625 | { -1, -1 }, |
4626 | { -1, -1 }, |
4627 | { 121, -1 }, |
4628 | { 59, -1 }, |
4629 | { -1, -1 }, |
4630 | { -1, -1 }, |
4631 | { -1, -1 }, |
4632 | { 497, 2133 }, |
4633 | { -1, -1 }, |
4634 | { -1, -1 }, |
4635 | { -1, -1 }, |
4636 | { -1, -1 }, |
4637 | { -1, -1 }, |
4638 | { -1, -1 }, |
4639 | { -1, -1 }, |
4640 | { -1, -1 }, |
4641 | { -1, -1 }, |
4642 | { -1, -1 }, |
4643 | { -1, -1 }, |
4644 | { 238, -1 }, |
4645 | { -1, -1 }, |
4646 | { -1, -1 }, |
4647 | { 492, -1 }, |
4648 | { 485, -1 }, |
4649 | { -1, -1 }, |
4650 | { -1, -1 }, |
4651 | { -1, -1 }, |
4652 | { 257, -1 }, |
4653 | { -1, -1 }, |
4654 | { -1, -1 }, |
4655 | { -1, -1 }, |
4656 | { 273, -1 }, |
4657 | { -1, -1 }, |
4658 | { -1, -1 }, |
4659 | { -1, -1 }, |
4660 | { 143, 2080 }, |
4661 | { -1, -1 }, |
4662 | { -1, -1 }, |
4663 | { -1, -1 }, |
4664 | { -1, -1 }, |
4665 | { -1, -1 }, |
4666 | { -1, -1 }, |
4667 | { -1, -1 }, |
4668 | { -1, -1 }, |
4669 | { -1, -1 }, |
4670 | { -1, -1 }, |
4671 | { -1, -1 }, |
4672 | { -1, -1 }, |
4673 | { -1, -1 }, |
4674 | { -1, -1 }, |
4675 | { -1, -1 }, |
4676 | { -1, -1 }, |
4677 | { 216, -1 }, |
4678 | { -1, -1 }, |
4679 | { 621, -1 }, |
4680 | { 409, -1 }, |
4681 | { -1, -1 }, |
4682 | { 616, -1 }, |
4683 | { -1, -1 }, |
4684 | { 539, -1 }, |
4685 | { -1, -1 }, |
4686 | { -1, -1 }, |
4687 | { 11, -1 }, |
4688 | { -1, -1 }, |
4689 | { -1, -1 }, |
4690 | { -1, -1 }, |
4691 | { -1, -1 }, |
4692 | { -1, -1 }, |
4693 | { -1, -1 }, |
4694 | { -1, -1 }, |
4695 | { -1, -1 }, |
4696 | { -1, -1 }, |
4697 | { 336, -1 }, |
4698 | { -1, -1 }, |
4699 | { -1, -1 }, |
4700 | { -1, -1 }, |
4701 | { -1, -1 }, |
4702 | { -1, -1 }, |
4703 | { -1, -1 }, |
4704 | { -1, -1 }, |
4705 | { -1, -1 }, |
4706 | { -1, -1 }, |
4707 | { 332, 2093 }, |
4708 | { -1, -1 }, |
4709 | { -1, -1 }, |
4710 | { -1, -1 }, |
4711 | { 171, 2066 }, |
4712 | { -1, -1 }, |
4713 | { 479, -1 }, |
4714 | { -1, -1 }, |
4715 | { -1, -1 }, |
4716 | { 480, -1 }, |
4717 | { -1, -1 }, |
4718 | { -1, -1 }, |
4719 | { -1, -1 }, |
4720 | { -1, -1 }, |
4721 | { -1, -1 }, |
4722 | { -1, -1 }, |
4723 | { 60, 2049 }, |
4724 | { -1, -1 }, |
4725 | { -1, -1 }, |
4726 | { -1, -1 }, |
4727 | { -1, -1 }, |
4728 | { 297, -1 }, |
4729 | { -1, -1 }, |
4730 | { 483, -1 }, |
4731 | { -1, -1 }, |
4732 | { -1, -1 }, |
4733 | { -1, -1 }, |
4734 | { -1, -1 }, |
4735 | { 350, -1 }, |
4736 | { 646, -1 }, |
4737 | { -1, -1 }, |
4738 | { 342, -1 }, |
4739 | { -1, -1 }, |
4740 | { -1, -1 }, |
4741 | { -1, -1 }, |
4742 | { -1, -1 }, |
4743 | { -1, -1 }, |
4744 | { -1, -1 }, |
4745 | { -1, -1 }, |
4746 | { -1, -1 }, |
4747 | { -1, -1 }, |
4748 | { -1, -1 }, |
4749 | { -1, -1 }, |
4750 | { 228, -1 }, |
4751 | { 170, 2079 }, |
4752 | { -1, -1 }, |
4753 | { 66, -1 }, |
4754 | { -1, -1 }, |
4755 | { 597, -1 }, |
4756 | { -1, -1 }, |
4757 | { 48, 2063 }, |
4758 | { -1, -1 }, |
4759 | { 576, -1 }, |
4760 | { 166, 2132 }, |
4761 | { -1, -1 }, |
4762 | { 38, -1 }, |
4763 | { -1, -1 }, |
4764 | { 453, -1 }, |
4765 | { -1, -1 }, |
4766 | { -1, -1 }, |
4767 | { 50, -1 }, |
4768 | { -1, -1 }, |
4769 | { 31, -1 }, |
4770 | { -1, -1 }, |
4771 | { -1, -1 }, |
4772 | { -1, -1 }, |
4773 | { -1, -1 }, |
4774 | { -1, -1 }, |
4775 | { -1, -1 }, |
4776 | { -1, -1 }, |
4777 | { -1, -1 }, |
4778 | { 449, 2124 }, |
4779 | { -1, -1 }, |
4780 | { -1, -1 }, |
4781 | { -1, -1 }, |
4782 | { -1, -1 }, |
4783 | { -1, -1 }, |
4784 | { 613, -1 }, |
4785 | { -1, -1 }, |
4786 | { 334, -1 }, |
4787 | { -1, -1 }, |
4788 | { -1, -1 }, |
4789 | { -1, -1 }, |
4790 | { 398, -1 }, |
4791 | { 94, 2051 }, |
4792 | { -1, -1 }, |
4793 | { -1, -1 }, |
4794 | { -1, -1 }, |
4795 | { 206, -1 }, |
4796 | { -1, -1 }, |
4797 | { 457, -1 }, |
4798 | { 80, 2120 }, |
4799 | { -1, -1 }, |
4800 | { -1, -1 }, |
4801 | { 438, -1 }, |
4802 | { -1, -1 }, |
4803 | { -1, -1 }, |
4804 | { 91, -1 }, |
4805 | { 115, -1 }, |
4806 | { -1, -1 }, |
4807 | { -1, -1 }, |
4808 | { -1, -1 }, |
4809 | { -1, -1 }, |
4810 | { -1, -1 }, |
4811 | { -1, -1 }, |
4812 | { -1, -1 }, |
4813 | { -1, -1 }, |
4814 | { 168, 2059 }, |
4815 | { 617, -1 }, |
4816 | { -1, -1 }, |
4817 | { -1, -1 }, |
4818 | { -1, -1 }, |
4819 | { -1, -1 }, |
4820 | { 21, -1 }, |
4821 | { -1, -1 }, |
4822 | { 120, -1 }, |
4823 | { -1, -1 }, |
4824 | { 385, 2113 }, |
4825 | { -1, -1 }, |
4826 | { 534, -1 }, |
4827 | { -1, -1 }, |
4828 | { 307, -1 }, |
4829 | { 436, -1 }, |
4830 | { 508, -1 }, |
4831 | { 76, 2090 }, |
4832 | { -1, -1 }, |
4833 | { 345, -1 }, |
4834 | { -1, -1 }, |
4835 | { -1, -1 }, |
4836 | { -1, -1 }, |
4837 | { 625, -1 }, |
4838 | { 407, -1 }, |
4839 | { -1, -1 }, |
4840 | { -1, -1 }, |
4841 | { -1, -1 }, |
4842 | { -1, -1 }, |
4843 | { 138, -1 }, |
4844 | { 55, 2091 }, |
4845 | { 87, -1 }, |
4846 | { 93, -1 }, |
4847 | { 107, -1 }, |
4848 | { 110, -1 }, |
4849 | { 125, -1 }, |
4850 | { 137, -1 }, |
4851 | { 141, -1 }, |
4852 | { 152, -1 }, |
4853 | { 156, -1 }, |
4854 | { 167, -1 }, |
4855 | { 169, -1 }, |
4856 | { 174, -1 }, |
4857 | { 178, 2085 }, |
4858 | { 194, -1 }, |
4859 | { 208, -1 }, |
4860 | { 214, 2117 }, |
4861 | { 259, 2089 }, |
4862 | { 261, -1 }, |
4863 | { 263, -1 }, |
4864 | { 289, 2101 }, |
4865 | { 292, -1 }, |
4866 | { 295, -1 }, |
4867 | { 306, -1 }, |
4868 | { 320, -1 }, |
4869 | { 325, -1 }, |
4870 | { 330, 2092 }, |
4871 | { 333, -1 }, |
4872 | { 358, -1 }, |
4873 | { 369, -1 }, |
4874 | { 370, -1 }, |
4875 | { 377, -1 }, |
4876 | { 392, -1 }, |
4877 | { 395, -1 }, |
4878 | { 406, -1 }, |
4879 | { 408, -1 }, |
4880 | { 411, -1 }, |
4881 | { 412, -1 }, |
4882 | { 417, -1 }, |
4883 | { 418, -1 }, |
4884 | { 419, -1 }, |
4885 | { 427, -1 }, |
4886 | { 433, -1 }, |
4887 | { 442, -1 }, |
4888 | { 443, -1 }, |
4889 | { 455, -1 }, |
4890 | { 459, -1 }, |
4891 | { 461, 2104 }, |
4892 | { 464, -1 }, |
4893 | { 467, -1 }, |
4894 | { 470, -1 }, |
4895 | { 473, -1 }, |
4896 | { 475, -1 }, |
4897 | { 476, -1 }, |
4898 | { 477, -1 }, |
4899 | { 482, -1 }, |
4900 | { 484, -1 }, |
4901 | { 490, -1 }, |
4902 | { 501, -1 }, |
4903 | { 506, -1 }, |
4904 | { 515, -1 }, |
4905 | { 516, -1 }, |
4906 | { 524, -1 }, |
4907 | { 526, -1 }, |
4908 | { 533, -1 }, |
4909 | { 541, -1 }, |
4910 | { 545, -1 }, |
4911 | { 550, -1 }, |
4912 | { 553, -1 }, |
4913 | { 557, -1 }, |
4914 | { 561, -1 }, |
4915 | { 563, -1 }, |
4916 | { 569, -1 }, |
4917 | { 571, -1 }, |
4918 | { 580, -1 }, |
4919 | { 586, -1 }, |
4920 | { 587, -1 }, |
4921 | { 596, -1 }, |
4922 | { 601, -1 }, |
4923 | { 609, -1 }, |
4924 | { 618, -1 }, |
4925 | { 622, -1 }, |
4926 | { 624, -1 }, |
4927 | { 626, -1 }, |
4928 | { 627, -1 }, |
4929 | { 630, -1 }, |
4930 | { 633, -1 }, |
4931 | { 645, -1 }, |
4932 | { 652, -1 }, |
4933 | }; |
4934 | |
4935 | |
4936 | static const HashTableValue JSDOMWindowTableValues[] = |
4937 | { |
4938 | { "window" , static_cast<unsigned>(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWindow), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4939 | { "self" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSelf), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSelf) } }, |
4940 | { "document" , static_cast<unsigned>(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDocument), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4941 | { "name" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowName), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowName) } }, |
4942 | { "location" , static_cast<unsigned>(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowLocation), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowLocation) } }, |
4943 | { "history" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHistory), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4944 | { "locationbar" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowLocationbar), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowLocationbar) } }, |
4945 | { "menubar" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMenubar), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMenubar) } }, |
4946 | { "personalbar" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPersonalbar), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPersonalbar) } }, |
4947 | { "scrollbars" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScrollbars), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScrollbars) } }, |
4948 | { "statusbar" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStatusbar), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowStatusbar) } }, |
4949 | { "toolbar" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowToolbar), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowToolbar) } }, |
4950 | { "status" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStatus), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowStatus) } }, |
4951 | { "closed" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowClosed), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4952 | { "frames" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFrames), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFrames) } }, |
4953 | { "length" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowLength), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowLength) } }, |
4954 | { "top" , static_cast<unsigned>(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTop), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4955 | { "opener" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOpener), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOpener) } }, |
4956 | { "parent" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowParent), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowParent) } }, |
4957 | { "frameElement" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFrameElement), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4958 | { "navigator" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNavigator), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4959 | { "applicationCache" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowApplicationCache), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4960 | { "sessionStorage" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSessionStorage), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4961 | { "localStorage" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowLocalStorage), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4962 | { "screen" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScreen), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScreen) } }, |
4963 | { "innerHeight" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowInnerHeight), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowInnerHeight) } }, |
4964 | { "innerWidth" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowInnerWidth), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowInnerWidth) } }, |
4965 | { "scrollX" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScrollX), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScrollX) } }, |
4966 | { "pageXOffset" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPageXOffset), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPageXOffset) } }, |
4967 | { "scrollY" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScrollY), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScrollY) } }, |
4968 | { "pageYOffset" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPageYOffset), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPageYOffset) } }, |
4969 | { "screenX" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScreenX), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScreenX) } }, |
4970 | { "screenY" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScreenY), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScreenY) } }, |
4971 | { "outerWidth" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOuterWidth), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOuterWidth) } }, |
4972 | { "outerHeight" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOuterHeight), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOuterHeight) } }, |
4973 | { "devicePixelRatio" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDevicePixelRatio), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDevicePixelRatio) } }, |
4974 | #if ENABLE(ORIENTATION_EVENTS) |
4975 | { "orientation" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOrientation), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4976 | #else |
4977 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
4978 | #endif |
4979 | { "event" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowEvent), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowEvent) } }, |
4980 | { "defaultStatus" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDefaultStatus), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDefaultStatus) } }, |
4981 | { "defaultstatus" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDefaultstatus), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDefaultstatus) } }, |
4982 | { "offscreenBuffering" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOffscreenBuffering), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOffscreenBuffering) } }, |
4983 | { "screenLeft" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScreenLeft), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScreenLeft) } }, |
4984 | { "screenTop" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScreenTop), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScreenTop) } }, |
4985 | { "clientInformation" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowClientInformation), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowClientInformation) } }, |
4986 | { "styleMedia" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStyleMedia), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
4987 | #if ENABLE(IOS_GESTURE_EVENTS) |
4988 | { "ongesturechange" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOngesturechange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOngesturechange) } }, |
4989 | #else |
4990 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
4991 | #endif |
4992 | #if ENABLE(IOS_GESTURE_EVENTS) |
4993 | { "ongestureend" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOngestureend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOngestureend) } }, |
4994 | #else |
4995 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
4996 | #endif |
4997 | #if ENABLE(IOS_GESTURE_EVENTS) |
4998 | { "ongesturestart" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOngesturestart), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOngesturestart) } }, |
4999 | #else |
5000 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5001 | #endif |
5002 | #if ENABLE(DEVICE_ORIENTATION) |
5003 | { "ondevicemotion" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndevicemotion), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndevicemotion) } }, |
5004 | #else |
5005 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5006 | #endif |
5007 | #if ENABLE(DEVICE_ORIENTATION) |
5008 | { "ondeviceorientation" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndeviceorientation), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndeviceorientation) } }, |
5009 | #else |
5010 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5011 | #endif |
5012 | { "onwebkitanimationend" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitanimationend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitanimationend) } }, |
5013 | { "onwebkitanimationiteration" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitanimationiteration), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitanimationiteration) } }, |
5014 | { "onwebkitanimationstart" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitanimationstart), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitanimationstart) } }, |
5015 | { "onwebkittransitionend" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkittransitionend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkittransitionend) } }, |
5016 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
5017 | { "WebKitPlaybackTargetAvailabilityEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitPlaybackTargetAvailabilityEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitPlaybackTargetAvailabilityEventConstructor) } }, |
5018 | #else |
5019 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5020 | #endif |
5021 | #if ENABLE(INDEXED_DATABASE) |
5022 | { "IDBCursor" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBCursorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBCursorConstructor) } }, |
5023 | #else |
5024 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5025 | #endif |
5026 | #if ENABLE(INDEXED_DATABASE) |
5027 | { "IDBCursorWithValue" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBCursorWithValueConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBCursorWithValueConstructor) } }, |
5028 | #else |
5029 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5030 | #endif |
5031 | #if ENABLE(INDEXED_DATABASE) |
5032 | { "IDBDatabase" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBDatabaseConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBDatabaseConstructor) } }, |
5033 | #else |
5034 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5035 | #endif |
5036 | #if ENABLE(INDEXED_DATABASE) |
5037 | { "IDBFactory" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBFactoryConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBFactoryConstructor) } }, |
5038 | #else |
5039 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5040 | #endif |
5041 | #if ENABLE(INDEXED_DATABASE) |
5042 | { "IDBIndex" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBIndexConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBIndexConstructor) } }, |
5043 | #else |
5044 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5045 | #endif |
5046 | #if ENABLE(INDEXED_DATABASE) |
5047 | { "IDBKeyRange" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBKeyRangeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBKeyRangeConstructor) } }, |
5048 | #else |
5049 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5050 | #endif |
5051 | #if ENABLE(INDEXED_DATABASE) |
5052 | { "IDBObjectStore" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBObjectStoreConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBObjectStoreConstructor) } }, |
5053 | #else |
5054 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5055 | #endif |
5056 | #if ENABLE(INDEXED_DATABASE) |
5057 | { "IDBOpenDBRequest" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBOpenDBRequestConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBOpenDBRequestConstructor) } }, |
5058 | #else |
5059 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5060 | #endif |
5061 | #if ENABLE(INDEXED_DATABASE) |
5062 | { "IDBRequest" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBRequestConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBRequestConstructor) } }, |
5063 | #else |
5064 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5065 | #endif |
5066 | #if ENABLE(INDEXED_DATABASE) |
5067 | { "IDBTransaction" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBTransactionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBTransactionConstructor) } }, |
5068 | #else |
5069 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5070 | #endif |
5071 | #if ENABLE(INDEXED_DATABASE) |
5072 | { "IDBVersionChangeEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIDBVersionChangeEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowIDBVersionChangeEventConstructor) } }, |
5073 | #else |
5074 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5075 | #endif |
5076 | #if ENABLE(MEDIA_SESSION) |
5077 | { "MediaRemoteControls" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaRemoteControlsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaRemoteControlsConstructor) } }, |
5078 | #else |
5079 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5080 | #endif |
5081 | #if ENABLE(MEDIA_SESSION) |
5082 | { "MediaSession" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaSessionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaSessionConstructor) } }, |
5083 | #else |
5084 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5085 | #endif |
5086 | #if ENABLE(MEDIA_SOURCE) |
5087 | { "SourceBuffer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSourceBufferConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSourceBufferConstructor) } }, |
5088 | #else |
5089 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5090 | #endif |
5091 | #if ENABLE(MEDIA_SOURCE) |
5092 | { "SourceBufferList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSourceBufferListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSourceBufferListConstructor) } }, |
5093 | #else |
5094 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5095 | #endif |
5096 | #if ENABLE(MEDIA_STREAM) |
5097 | { "CanvasCaptureMediaStreamTrack" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCanvasCaptureMediaStreamTrackConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCanvasCaptureMediaStreamTrackConstructor) } }, |
5098 | #else |
5099 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5100 | #endif |
5101 | #if ENABLE(MEDIA_STREAM) |
5102 | { "MediaDeviceInfo" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaDeviceInfoConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaDeviceInfoConstructor) } }, |
5103 | #else |
5104 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5105 | #endif |
5106 | #if ENABLE(MEDIA_STREAM) |
5107 | { "MediaDevices" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaDevicesConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaDevicesConstructor) } }, |
5108 | #else |
5109 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5110 | #endif |
5111 | #if ENABLE(MEDIA_STREAM) |
5112 | { "MediaStream" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaStreamConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaStreamConstructor) } }, |
5113 | #else |
5114 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5115 | #endif |
5116 | #if ENABLE(MEDIA_STREAM) |
5117 | { "MediaStreamTrack" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaStreamTrackConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaStreamTrackConstructor) } }, |
5118 | #else |
5119 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5120 | #endif |
5121 | #if ENABLE(MEDIA_STREAM) |
5122 | { "MediaStreamTrackEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaStreamTrackEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaStreamTrackEventConstructor) } }, |
5123 | #else |
5124 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5125 | #endif |
5126 | #if ENABLE(MEDIA_STREAM) |
5127 | { "OverconstrainedError" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOverconstrainedErrorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOverconstrainedErrorConstructor) } }, |
5128 | #else |
5129 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5130 | #endif |
5131 | #if ENABLE(MEDIA_STREAM) |
5132 | { "OverconstrainedErrorEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOverconstrainedErrorEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOverconstrainedErrorEventConstructor) } }, |
5133 | #else |
5134 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5135 | #endif |
5136 | #if ENABLE(NOTIFICATIONS) |
5137 | { "Notification" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNotificationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNotificationConstructor) } }, |
5138 | #else |
5139 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5140 | #endif |
5141 | #if ENABLE(SPEECH_SYNTHESIS) |
5142 | { "SpeechSynthesisEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSpeechSynthesisEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSpeechSynthesisEventConstructor) } }, |
5143 | #else |
5144 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5145 | #endif |
5146 | #if ENABLE(SPEECH_SYNTHESIS) |
5147 | { "SpeechSynthesisUtterance" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSpeechSynthesisUtteranceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSpeechSynthesisUtteranceConstructor) } }, |
5148 | #else |
5149 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5150 | #endif |
5151 | #if ENABLE(STREAMS_API) |
5152 | { "ByteLengthQueuingStrategy" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowByteLengthQueuingStrategyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowByteLengthQueuingStrategyConstructor) } }, |
5153 | #else |
5154 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5155 | #endif |
5156 | #if ENABLE(STREAMS_API) |
5157 | { "CountQueuingStrategy" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCountQueuingStrategyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCountQueuingStrategyConstructor) } }, |
5158 | #else |
5159 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5160 | #endif |
5161 | #if ENABLE(STREAMS_API) |
5162 | { "ReadableStream" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowReadableStreamConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowReadableStreamConstructor) } }, |
5163 | #else |
5164 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5165 | #endif |
5166 | #if ENABLE(WEB_AUDIO) |
5167 | { "AnalyserNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAnalyserNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAnalyserNodeConstructor) } }, |
5168 | #else |
5169 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5170 | #endif |
5171 | #if ENABLE(WEB_AUDIO) |
5172 | { "AudioBuffer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioBufferConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioBufferConstructor) } }, |
5173 | #else |
5174 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5175 | #endif |
5176 | #if ENABLE(WEB_AUDIO) |
5177 | { "AudioBufferSourceNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioBufferSourceNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioBufferSourceNodeConstructor) } }, |
5178 | #else |
5179 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5180 | #endif |
5181 | #if ENABLE(WEB_AUDIO) |
5182 | { "AudioDestinationNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioDestinationNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioDestinationNodeConstructor) } }, |
5183 | #else |
5184 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5185 | #endif |
5186 | #if ENABLE(WEB_AUDIO) |
5187 | { "AudioListener" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioListenerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioListenerConstructor) } }, |
5188 | #else |
5189 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5190 | #endif |
5191 | #if ENABLE(WEB_AUDIO) |
5192 | { "AudioNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioNodeConstructor) } }, |
5193 | #else |
5194 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5195 | #endif |
5196 | #if ENABLE(WEB_AUDIO) |
5197 | { "AudioParam" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioParamConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioParamConstructor) } }, |
5198 | #else |
5199 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5200 | #endif |
5201 | #if ENABLE(WEB_AUDIO) |
5202 | { "AudioProcessingEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioProcessingEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioProcessingEventConstructor) } }, |
5203 | #else |
5204 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5205 | #endif |
5206 | #if ENABLE(WEB_AUDIO) |
5207 | { "BiquadFilterNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowBiquadFilterNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowBiquadFilterNodeConstructor) } }, |
5208 | #else |
5209 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5210 | #endif |
5211 | #if ENABLE(WEB_AUDIO) |
5212 | { "ChannelMergerNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowChannelMergerNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowChannelMergerNodeConstructor) } }, |
5213 | #else |
5214 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5215 | #endif |
5216 | #if ENABLE(WEB_AUDIO) |
5217 | { "ChannelSplitterNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowChannelSplitterNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowChannelSplitterNodeConstructor) } }, |
5218 | #else |
5219 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5220 | #endif |
5221 | #if ENABLE(WEB_AUDIO) |
5222 | { "ConvolverNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowConvolverNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowConvolverNodeConstructor) } }, |
5223 | #else |
5224 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5225 | #endif |
5226 | #if ENABLE(WEB_AUDIO) |
5227 | { "DelayNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDelayNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDelayNodeConstructor) } }, |
5228 | #else |
5229 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5230 | #endif |
5231 | #if ENABLE(WEB_AUDIO) |
5232 | { "DynamicsCompressorNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDynamicsCompressorNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDynamicsCompressorNodeConstructor) } }, |
5233 | #else |
5234 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5235 | #endif |
5236 | #if ENABLE(WEB_AUDIO) |
5237 | { "GainNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowGainNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowGainNodeConstructor) } }, |
5238 | #else |
5239 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5240 | #endif |
5241 | #if ENABLE(VIDEO) && ENABLE(WEB_AUDIO) |
5242 | { "MediaElementAudioSourceNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaElementAudioSourceNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaElementAudioSourceNodeConstructor) } }, |
5243 | #else |
5244 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5245 | #endif |
5246 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
5247 | { "MediaStreamAudioDestinationNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaStreamAudioDestinationNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaStreamAudioDestinationNodeConstructor) } }, |
5248 | #else |
5249 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5250 | #endif |
5251 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
5252 | { "MediaStreamAudioSourceNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaStreamAudioSourceNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaStreamAudioSourceNodeConstructor) } }, |
5253 | #else |
5254 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5255 | #endif |
5256 | #if ENABLE(WEB_AUDIO) |
5257 | { "OfflineAudioCompletionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOfflineAudioCompletionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOfflineAudioCompletionEventConstructor) } }, |
5258 | #else |
5259 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5260 | #endif |
5261 | #if ENABLE(WEB_AUDIO) |
5262 | { "webkitOfflineAudioContext" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebkitOfflineAudioContextConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebkitOfflineAudioContextConstructor) } }, |
5263 | #else |
5264 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5265 | #endif |
5266 | #if ENABLE(WEB_AUDIO) |
5267 | { "OscillatorNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOscillatorNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOscillatorNodeConstructor) } }, |
5268 | #else |
5269 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5270 | #endif |
5271 | #if ENABLE(WEB_AUDIO) |
5272 | { "webkitAudioPannerNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebkitAudioPannerNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebkitAudioPannerNodeConstructor) } }, |
5273 | #else |
5274 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5275 | #endif |
5276 | #if ENABLE(WEB_AUDIO) |
5277 | { "PeriodicWave" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPeriodicWaveConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPeriodicWaveConstructor) } }, |
5278 | #else |
5279 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5280 | #endif |
5281 | #if ENABLE(WEB_AUDIO) |
5282 | { "ScriptProcessorNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScriptProcessorNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScriptProcessorNodeConstructor) } }, |
5283 | #else |
5284 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5285 | #endif |
5286 | #if ENABLE(WEB_AUDIO) |
5287 | { "WaveShaperNode" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWaveShaperNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWaveShaperNodeConstructor) } }, |
5288 | #else |
5289 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5290 | #endif |
5291 | { "SQLTransaction" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSQLTransactionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSQLTransactionConstructor) } }, |
5292 | { "CloseEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCloseEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCloseEventConstructor) } }, |
5293 | { "VRPose" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowVRPoseConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowVRPoseConstructor) } }, |
5294 | #if ENABLE(WEB_CRYPTO) |
5295 | { "CryptoKey" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCryptoKeyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCryptoKeyConstructor) } }, |
5296 | #else |
5297 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5298 | #endif |
5299 | #if ENABLE(WEB_CRYPTO) |
5300 | { "SubtleCrypto" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSubtleCryptoConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSubtleCryptoConstructor) } }, |
5301 | #else |
5302 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5303 | #endif |
5304 | { "CSSFontFaceRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSFontFaceRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSFontFaceRuleConstructor) } }, |
5305 | { "CSSImportRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSImportRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSImportRuleConstructor) } }, |
5306 | { "CSSKeyframeRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSKeyframeRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSKeyframeRuleConstructor) } }, |
5307 | { "CSSKeyframesRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSKeyframesRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSKeyframesRuleConstructor) } }, |
5308 | { "CSSMediaRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSMediaRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSMediaRuleConstructor) } }, |
5309 | { "CSSNamespaceRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSNamespaceRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSNamespaceRuleConstructor) } }, |
5310 | { "CSSPageRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSPageRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSPageRuleConstructor) } }, |
5311 | { "CSSRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSRuleConstructor) } }, |
5312 | { "CSSRuleList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSRuleListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSRuleListConstructor) } }, |
5313 | { "CSSStyleDeclaration" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSStyleDeclarationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSStyleDeclarationConstructor) } }, |
5314 | { "CSSStyleRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSStyleRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSStyleRuleConstructor) } }, |
5315 | { "CSSStyleSheet" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSStyleSheetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSStyleSheetConstructor) } }, |
5316 | { "CSSSupportsRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSSupportsRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSSupportsRuleConstructor) } }, |
5317 | { "CSS" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSConstructor) } }, |
5318 | { "DOMMatrix" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMMatrixConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMMatrixConstructor) } }, |
5319 | { "DOMMatrixReadOnly" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMMatrixReadOnlyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMMatrixReadOnlyConstructor) } }, |
5320 | { "Counter" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCounterConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCounterConstructor) } }, |
5321 | { "CSSPrimitiveValue" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSPrimitiveValueConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSPrimitiveValueConstructor) } }, |
5322 | { "RGBColor" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowRGBColorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowRGBColorConstructor) } }, |
5323 | { "Rect" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowRectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowRectConstructor) } }, |
5324 | { "CSSValue" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSValueConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSValueConstructor) } }, |
5325 | { "CSSValueList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCSSValueListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCSSValueListConstructor) } }, |
5326 | { "FontFace" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFontFaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFontFaceConstructor) } }, |
5327 | { "FontFaceSet" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFontFaceSetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFontFaceSetConstructor) } }, |
5328 | { "MediaList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaListConstructor) } }, |
5329 | { "StyleSheet" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStyleSheetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowStyleSheetConstructor) } }, |
5330 | { "StyleSheetList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStyleSheetListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowStyleSheetListConstructor) } }, |
5331 | { "WebKitCSSMatrix" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitCSSMatrixConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitCSSMatrixConstructor) } }, |
5332 | #if ENABLE(CSS_DEVICE_ADAPTATION) |
5333 | { "WebKitCSSViewportRule" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitCSSViewportRuleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitCSSViewportRuleConstructor) } }, |
5334 | #else |
5335 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5336 | #endif |
5337 | { "AbortController" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAbortControllerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAbortControllerConstructor) } }, |
5338 | { "AbortSignal" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAbortSignalConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAbortSignalConstructor) } }, |
5339 | { "AnimationEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAnimationEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAnimationEventConstructor) } }, |
5340 | { "Attr" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAttrConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAttrConstructor) } }, |
5341 | { "BeforeLoadEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowBeforeLoadEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowBeforeLoadEventConstructor) } }, |
5342 | { "BeforeUnloadEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowBeforeUnloadEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowBeforeUnloadEventConstructor) } }, |
5343 | { "CDATASection" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCDATASectionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCDATASectionConstructor) } }, |
5344 | { "CharacterData" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCharacterDataConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCharacterDataConstructor) } }, |
5345 | { "ClipboardEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowClipboardEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowClipboardEventConstructor) } }, |
5346 | { "Comment" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCommentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCommentConstructor) } }, |
5347 | { "CompositionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCompositionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCompositionEventConstructor) } }, |
5348 | { "CustomEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCustomEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCustomEventConstructor) } }, |
5349 | { "DOMException" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMExceptionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMExceptionConstructor) } }, |
5350 | { "DOMImplementation" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMImplementationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMImplementationConstructor) } }, |
5351 | { "DOMPoint" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMPointConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMPointConstructor) } }, |
5352 | { "DOMPointReadOnly" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMPointReadOnlyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMPointReadOnlyConstructor) } }, |
5353 | { "DOMQuad" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMQuadConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMQuadConstructor) } }, |
5354 | { "DOMRect" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMRectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMRectConstructor) } }, |
5355 | { "DOMRectList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMRectListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMRectListConstructor) } }, |
5356 | { "DOMRectReadOnly" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMRectReadOnlyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMRectReadOnlyConstructor) } }, |
5357 | { "DOMStringList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMStringListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMStringListConstructor) } }, |
5358 | { "DOMStringMap" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMStringMapConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMStringMapConstructor) } }, |
5359 | { "DataTransfer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDataTransferConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDataTransferConstructor) } }, |
5360 | #if ENABLE(DEVICE_ORIENTATION) |
5361 | { "DeviceMotionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDeviceMotionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDeviceMotionEventConstructor) } }, |
5362 | #else |
5363 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5364 | #endif |
5365 | #if ENABLE(DEVICE_ORIENTATION) |
5366 | { "DeviceOrientationEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDeviceOrientationEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDeviceOrientationEventConstructor) } }, |
5367 | #else |
5368 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5369 | #endif |
5370 | { "Document" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDocumentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDocumentConstructor) } }, |
5371 | { "DocumentFragment" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDocumentFragmentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDocumentFragmentConstructor) } }, |
5372 | { "DocumentType" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDocumentTypeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDocumentTypeConstructor) } }, |
5373 | { "Element" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowElementConstructor) } }, |
5374 | { "ErrorEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowErrorEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowErrorEventConstructor) } }, |
5375 | { "Event" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowEventConstructor) } }, |
5376 | { "EventTarget" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowEventTargetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowEventTargetConstructor) } }, |
5377 | { "FocusEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFocusEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFocusEventConstructor) } }, |
5378 | { "HashChangeEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHashChangeEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHashChangeEventConstructor) } }, |
5379 | { "KeyboardEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowKeyboardEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowKeyboardEventConstructor) } }, |
5380 | #if ENABLE(CHANNEL_MESSAGING) |
5381 | { "MessageChannel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMessageChannelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMessageChannelConstructor) } }, |
5382 | #else |
5383 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5384 | #endif |
5385 | { "MessageEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMessageEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMessageEventConstructor) } }, |
5386 | { "MessagePort" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMessagePortConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMessagePortConstructor) } }, |
5387 | { "MouseEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMouseEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMouseEventConstructor) } }, |
5388 | { "MutationEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMutationEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMutationEventConstructor) } }, |
5389 | { "MutationObserver" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMutationObserverConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMutationObserverConstructor) } }, |
5390 | { "WebKitMutationObserver" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitMutationObserverConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitMutationObserverConstructor) } }, |
5391 | { "MutationRecord" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMutationRecordConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMutationRecordConstructor) } }, |
5392 | { "NamedNodeMap" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNamedNodeMapConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNamedNodeMapConstructor) } }, |
5393 | { "Node" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNodeConstructor) } }, |
5394 | { "NodeFilter" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNodeFilterConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNodeFilterConstructor) } }, |
5395 | { "NodeIterator" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNodeIteratorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNodeIteratorConstructor) } }, |
5396 | { "NodeList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNodeListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNodeListConstructor) } }, |
5397 | { "OverflowEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOverflowEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOverflowEventConstructor) } }, |
5398 | { "PageTransitionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPageTransitionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPageTransitionEventConstructor) } }, |
5399 | { "PopStateEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPopStateEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPopStateEventConstructor) } }, |
5400 | { "ProcessingInstruction" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowProcessingInstructionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowProcessingInstructionConstructor) } }, |
5401 | { "ProgressEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowProgressEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowProgressEventConstructor) } }, |
5402 | { "PromiseRejectionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPromiseRejectionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPromiseRejectionEventConstructor) } }, |
5403 | { "Range" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowRangeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowRangeConstructor) } }, |
5404 | { "SecurityPolicyViolationEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSecurityPolicyViolationEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSecurityPolicyViolationEventConstructor) } }, |
5405 | { "Text" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextConstructor) } }, |
5406 | { "TextDecoder" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextDecoderConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextDecoderConstructor) } }, |
5407 | { "TextEncoder" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextEncoderConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextEncoderConstructor) } }, |
5408 | { "TextEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextEventConstructor) } }, |
5409 | #if ENABLE(TOUCH_EVENTS) |
5410 | { "Touch" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTouchConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTouchConstructor) } }, |
5411 | #else |
5412 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5413 | #endif |
5414 | #if ENABLE(TOUCH_EVENTS) |
5415 | { "TouchEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTouchEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTouchEventConstructor) } }, |
5416 | #else |
5417 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5418 | #endif |
5419 | #if ENABLE(TOUCH_EVENTS) |
5420 | { "TouchList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTouchListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTouchListConstructor) } }, |
5421 | #else |
5422 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5423 | #endif |
5424 | { "TransitionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTransitionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTransitionEventConstructor) } }, |
5425 | { "TreeWalker" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTreeWalkerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTreeWalkerConstructor) } }, |
5426 | { "UIEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowUIEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowUIEventConstructor) } }, |
5427 | { "WebKitAnimationEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitAnimationEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitAnimationEventConstructor) } }, |
5428 | { "WebKitTransitionEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitTransitionEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitTransitionEventConstructor) } }, |
5429 | { "WheelEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWheelEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWheelEventConstructor) } }, |
5430 | { "XMLDocument" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXMLDocumentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXMLDocumentConstructor) } }, |
5431 | { "SVGDocument" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGDocumentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGDocumentConstructor) } }, |
5432 | { "Blob" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowBlobConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowBlobConstructor) } }, |
5433 | { "File" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFileConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFileConstructor) } }, |
5434 | { "FileError" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFileErrorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFileErrorConstructor) } }, |
5435 | { "FileList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFileListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFileListConstructor) } }, |
5436 | { "FileReader" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFileReaderConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFileReaderConstructor) } }, |
5437 | { "FormData" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowFormDataConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowFormDataConstructor) } }, |
5438 | { "DOMTokenList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMTokenListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMTokenListConstructor) } }, |
5439 | { "URL" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowURLConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowURLConstructor) } }, |
5440 | { "webkitURL" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebkitURLConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebkitURLConstructor) } }, |
5441 | { "HTMLAllCollection" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLAllCollectionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLAllCollectionConstructor) } }, |
5442 | { "HTMLAnchorElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLAnchorElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLAnchorElementConstructor) } }, |
5443 | { "HTMLAppletElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLAppletElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLAppletElementConstructor) } }, |
5444 | { "HTMLAreaElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLAreaElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLAreaElementConstructor) } }, |
5445 | #if ENABLE(VIDEO) |
5446 | { "HTMLAudioElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLAudioElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLAudioElementConstructor) } }, |
5447 | #else |
5448 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5449 | #endif |
5450 | #if ENABLE(VIDEO) |
5451 | { "Audio" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioConstructor) } }, |
5452 | #else |
5453 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5454 | #endif |
5455 | { "HTMLBRElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLBRElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLBRElementConstructor) } }, |
5456 | { "HTMLBaseElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLBaseElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLBaseElementConstructor) } }, |
5457 | { "HTMLBodyElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLBodyElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLBodyElementConstructor) } }, |
5458 | { "HTMLButtonElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLButtonElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLButtonElementConstructor) } }, |
5459 | { "HTMLCanvasElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLCanvasElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLCanvasElementConstructor) } }, |
5460 | { "HTMLCollection" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLCollectionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLCollectionConstructor) } }, |
5461 | { "HTMLDListElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLDListElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLDListElementConstructor) } }, |
5462 | { "HTMLDataElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLDataElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLDataElementConstructor) } }, |
5463 | { "HTMLDetailsElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLDetailsElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLDetailsElementConstructor) } }, |
5464 | { "HTMLDirectoryElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLDirectoryElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLDirectoryElementConstructor) } }, |
5465 | { "HTMLDivElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLDivElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLDivElementConstructor) } }, |
5466 | { "HTMLDocument" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLDocumentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLDocumentConstructor) } }, |
5467 | { "HTMLElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLElementConstructor) } }, |
5468 | { "HTMLEmbedElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLEmbedElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLEmbedElementConstructor) } }, |
5469 | { "HTMLFieldSetElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLFieldSetElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLFieldSetElementConstructor) } }, |
5470 | { "HTMLFontElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLFontElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLFontElementConstructor) } }, |
5471 | { "HTMLFormControlsCollection" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLFormControlsCollectionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLFormControlsCollectionConstructor) } }, |
5472 | { "HTMLFormElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLFormElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLFormElementConstructor) } }, |
5473 | { "HTMLFrameElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLFrameElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLFrameElementConstructor) } }, |
5474 | { "HTMLFrameSetElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLFrameSetElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLFrameSetElementConstructor) } }, |
5475 | { "HTMLHRElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLHRElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLHRElementConstructor) } }, |
5476 | { "HTMLHeadElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLHeadElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLHeadElementConstructor) } }, |
5477 | { "HTMLHeadingElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLHeadingElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLHeadingElementConstructor) } }, |
5478 | { "HTMLHtmlElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLHtmlElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLHtmlElementConstructor) } }, |
5479 | { "HTMLIFrameElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLIFrameElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLIFrameElementConstructor) } }, |
5480 | { "HTMLImageElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLImageElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLImageElementConstructor) } }, |
5481 | { "Image" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowImageConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowImageConstructor) } }, |
5482 | { "HTMLInputElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLInputElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLInputElementConstructor) } }, |
5483 | { "HTMLKeygenElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLKeygenElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLKeygenElementConstructor) } }, |
5484 | { "HTMLLIElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLLIElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLLIElementConstructor) } }, |
5485 | { "HTMLLabelElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLLabelElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLLabelElementConstructor) } }, |
5486 | { "HTMLLegendElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLLegendElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLLegendElementConstructor) } }, |
5487 | { "HTMLLinkElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLLinkElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLLinkElementConstructor) } }, |
5488 | { "HTMLMapElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLMapElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLMapElementConstructor) } }, |
5489 | { "HTMLMarqueeElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLMarqueeElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLMarqueeElementConstructor) } }, |
5490 | #if ENABLE(VIDEO) |
5491 | { "HTMLMediaElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLMediaElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLMediaElementConstructor) } }, |
5492 | #else |
5493 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5494 | #endif |
5495 | { "HTMLMenuElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLMenuElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLMenuElementConstructor) } }, |
5496 | { "HTMLMetaElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLMetaElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLMetaElementConstructor) } }, |
5497 | #if ENABLE(METER_ELEMENT) |
5498 | { "HTMLMeterElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLMeterElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLMeterElementConstructor) } }, |
5499 | #else |
5500 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5501 | #endif |
5502 | { "HTMLModElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLModElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLModElementConstructor) } }, |
5503 | { "HTMLOListElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLOListElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLOListElementConstructor) } }, |
5504 | { "HTMLObjectElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLObjectElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLObjectElementConstructor) } }, |
5505 | { "HTMLOptGroupElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLOptGroupElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLOptGroupElementConstructor) } }, |
5506 | { "HTMLOptionElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLOptionElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLOptionElementConstructor) } }, |
5507 | { "Option" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOptionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOptionConstructor) } }, |
5508 | { "HTMLOptionsCollection" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLOptionsCollectionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLOptionsCollectionConstructor) } }, |
5509 | { "HTMLOutputElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLOutputElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLOutputElementConstructor) } }, |
5510 | { "HTMLParagraphElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLParagraphElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLParagraphElementConstructor) } }, |
5511 | { "HTMLParamElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLParamElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLParamElementConstructor) } }, |
5512 | { "HTMLPictureElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLPictureElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLPictureElementConstructor) } }, |
5513 | { "HTMLPreElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLPreElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLPreElementConstructor) } }, |
5514 | { "HTMLProgressElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLProgressElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLProgressElementConstructor) } }, |
5515 | { "HTMLQuoteElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLQuoteElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLQuoteElementConstructor) } }, |
5516 | { "HTMLScriptElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLScriptElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLScriptElementConstructor) } }, |
5517 | { "HTMLSelectElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLSelectElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLSelectElementConstructor) } }, |
5518 | { "HTMLSourceElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLSourceElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLSourceElementConstructor) } }, |
5519 | { "HTMLSpanElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLSpanElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLSpanElementConstructor) } }, |
5520 | { "HTMLStyleElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLStyleElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLStyleElementConstructor) } }, |
5521 | { "HTMLTableCaptionElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTableCaptionElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTableCaptionElementConstructor) } }, |
5522 | { "HTMLTableCellElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTableCellElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTableCellElementConstructor) } }, |
5523 | { "HTMLTableColElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTableColElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTableColElementConstructor) } }, |
5524 | { "HTMLTableElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTableElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTableElementConstructor) } }, |
5525 | { "HTMLTableRowElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTableRowElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTableRowElementConstructor) } }, |
5526 | { "HTMLTableSectionElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTableSectionElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTableSectionElementConstructor) } }, |
5527 | { "HTMLTemplateElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTemplateElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTemplateElementConstructor) } }, |
5528 | { "HTMLTextAreaElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTextAreaElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTextAreaElementConstructor) } }, |
5529 | { "HTMLTimeElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTimeElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTimeElementConstructor) } }, |
5530 | { "HTMLTitleElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTitleElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTitleElementConstructor) } }, |
5531 | #if ENABLE(VIDEO_TRACK) |
5532 | { "HTMLTrackElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLTrackElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLTrackElementConstructor) } }, |
5533 | #else |
5534 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5535 | #endif |
5536 | { "HTMLUListElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLUListElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLUListElementConstructor) } }, |
5537 | { "HTMLUnknownElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLUnknownElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLUnknownElementConstructor) } }, |
5538 | #if ENABLE(VIDEO) |
5539 | { "HTMLVideoElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHTMLVideoElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHTMLVideoElementConstructor) } }, |
5540 | #else |
5541 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5542 | #endif |
5543 | { "ImageData" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowImageDataConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowImageDataConstructor) } }, |
5544 | #if ENABLE(VIDEO) |
5545 | { "MediaController" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaControllerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaControllerConstructor) } }, |
5546 | #else |
5547 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5548 | #endif |
5549 | #if ENABLE(VIDEO) |
5550 | { "MediaError" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMediaErrorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMediaErrorConstructor) } }, |
5551 | #else |
5552 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5553 | #endif |
5554 | { "RadioNodeList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowRadioNodeListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowRadioNodeListConstructor) } }, |
5555 | { "TextMetrics" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextMetricsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextMetricsConstructor) } }, |
5556 | #if ENABLE(VIDEO) |
5557 | { "TimeRanges" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTimeRangesConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTimeRangesConstructor) } }, |
5558 | #else |
5559 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5560 | #endif |
5561 | { "URLSearchParams" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowURLSearchParamsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowURLSearchParamsConstructor) } }, |
5562 | { "ValidityState" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowValidityStateConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowValidityStateConstructor) } }, |
5563 | { "CanvasGradient" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCanvasGradientConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCanvasGradientConstructor) } }, |
5564 | { "CanvasPattern" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCanvasPatternConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCanvasPatternConstructor) } }, |
5565 | { "CanvasRenderingContext2D" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCanvasRenderingContext2DConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCanvasRenderingContext2DConstructor) } }, |
5566 | { "Path2D" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPath2DConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPath2DConstructor) } }, |
5567 | #if ENABLE(WEBGL) |
5568 | { "WebGLActiveInfo" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLActiveInfoConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLActiveInfoConstructor) } }, |
5569 | #else |
5570 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5571 | #endif |
5572 | #if ENABLE(WEBGL) |
5573 | { "WebGLBuffer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLBufferConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLBufferConstructor) } }, |
5574 | #else |
5575 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5576 | #endif |
5577 | #if ENABLE(WEBGL) |
5578 | { "WebGLContextEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLContextEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLContextEventConstructor) } }, |
5579 | #else |
5580 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5581 | #endif |
5582 | #if ENABLE(WEBGL) |
5583 | { "WebGLFramebuffer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLFramebufferConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLFramebufferConstructor) } }, |
5584 | #else |
5585 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5586 | #endif |
5587 | #if ENABLE(WEBGL) |
5588 | { "WebGLProgram" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLProgramConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLProgramConstructor) } }, |
5589 | #else |
5590 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5591 | #endif |
5592 | #if ENABLE(WEBGL) |
5593 | { "WebGLQuery" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLQueryConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLQueryConstructor) } }, |
5594 | #else |
5595 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5596 | #endif |
5597 | #if ENABLE(WEBGL) |
5598 | { "WebGLRenderbuffer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLRenderbufferConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLRenderbufferConstructor) } }, |
5599 | #else |
5600 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5601 | #endif |
5602 | #if ENABLE(WEBGL) |
5603 | { "WebGLRenderingContext" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLRenderingContextConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLRenderingContextConstructor) } }, |
5604 | #else |
5605 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5606 | #endif |
5607 | #if ENABLE(WEBGL) |
5608 | { "WebGLSampler" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLSamplerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLSamplerConstructor) } }, |
5609 | #else |
5610 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5611 | #endif |
5612 | #if ENABLE(WEBGL) |
5613 | { "WebGLShader" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLShaderConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLShaderConstructor) } }, |
5614 | #else |
5615 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5616 | #endif |
5617 | #if ENABLE(WEBGL) |
5618 | { "WebGLShaderPrecisionFormat" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLShaderPrecisionFormatConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLShaderPrecisionFormatConstructor) } }, |
5619 | #else |
5620 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5621 | #endif |
5622 | #if ENABLE(WEBGL) |
5623 | { "WebGLSync" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLSyncConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLSyncConstructor) } }, |
5624 | #else |
5625 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5626 | #endif |
5627 | #if ENABLE(WEBGL) |
5628 | { "WebGLTexture" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLTextureConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLTextureConstructor) } }, |
5629 | #else |
5630 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5631 | #endif |
5632 | #if ENABLE(WEBGL) |
5633 | { "WebGLTransformFeedback" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLTransformFeedbackConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLTransformFeedbackConstructor) } }, |
5634 | #else |
5635 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5636 | #endif |
5637 | #if ENABLE(WEBGL) |
5638 | { "WebGLUniformLocation" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebGLUniformLocationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebGLUniformLocationConstructor) } }, |
5639 | #else |
5640 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5641 | #endif |
5642 | #if ENABLE(VIDEO_TRACK) |
5643 | { "AudioTrack" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioTrackConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioTrackConstructor) } }, |
5644 | #else |
5645 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5646 | #endif |
5647 | #if ENABLE(VIDEO_TRACK) |
5648 | { "AudioTrackList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowAudioTrackListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowAudioTrackListConstructor) } }, |
5649 | #else |
5650 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5651 | #endif |
5652 | #if ENABLE(VIDEO_TRACK) |
5653 | { "DataCue" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDataCueConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDataCueConstructor) } }, |
5654 | #else |
5655 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5656 | #endif |
5657 | #if ENABLE(VIDEO_TRACK) |
5658 | { "TextTrack" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextTrackConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextTrackConstructor) } }, |
5659 | #else |
5660 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5661 | #endif |
5662 | #if ENABLE(VIDEO_TRACK) |
5663 | { "TextTrackCue" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextTrackCueConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextTrackCueConstructor) } }, |
5664 | #else |
5665 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5666 | #endif |
5667 | #if ENABLE(VIDEO_TRACK) |
5668 | { "TextTrackCueList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextTrackCueListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextTrackCueListConstructor) } }, |
5669 | #else |
5670 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5671 | #endif |
5672 | #if ENABLE(VIDEO_TRACK) |
5673 | { "TextTrackList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTextTrackListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTextTrackListConstructor) } }, |
5674 | #else |
5675 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5676 | #endif |
5677 | #if ENABLE(VIDEO_TRACK) |
5678 | { "TrackEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowTrackEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowTrackEventConstructor) } }, |
5679 | #else |
5680 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5681 | #endif |
5682 | #if ENABLE(VIDEO_TRACK) |
5683 | { "VTTCue" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowVTTCueConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowVTTCueConstructor) } }, |
5684 | #else |
5685 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5686 | #endif |
5687 | #if ENABLE(VIDEO_TRACK) |
5688 | { "VTTRegion" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowVTTRegionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowVTTRegionConstructor) } }, |
5689 | #else |
5690 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5691 | #endif |
5692 | #if ENABLE(VIDEO_TRACK) |
5693 | { "VideoTrack" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowVideoTrackConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowVideoTrackConstructor) } }, |
5694 | #else |
5695 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5696 | #endif |
5697 | #if ENABLE(VIDEO_TRACK) |
5698 | { "VideoTrackList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowVideoTrackListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowVideoTrackListConstructor) } }, |
5699 | #else |
5700 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5701 | #endif |
5702 | { "ApplicationCache" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowApplicationCacheConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowApplicationCacheConstructor) } }, |
5703 | { "BarProp" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowBarPropConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowBarPropConstructor) } }, |
5704 | { "Crypto" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCryptoConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowCryptoConstructor) } }, |
5705 | { "Selection" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSelectionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSelectionConstructor) } }, |
5706 | { "Window" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWindowConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWindowConstructor) } }, |
5707 | { "EventSource" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowEventSourceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowEventSourceConstructor) } }, |
5708 | { "History" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowHistoryConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowHistoryConstructor) } }, |
5709 | { "Location" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowLocationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowLocationConstructor) } }, |
5710 | { "Navigator" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowNavigatorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowNavigatorConstructor) } }, |
5711 | { "Performance" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPerformanceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPerformanceConstructor) } }, |
5712 | { "PerformanceNavigation" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPerformanceNavigationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPerformanceNavigationConstructor) } }, |
5713 | { "PerformanceTiming" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPerformanceTimingConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPerformanceTimingConstructor) } }, |
5714 | { "Screen" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowScreenConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowScreenConstructor) } }, |
5715 | #if ENABLE(USER_MESSAGE_HANDLERS) |
5716 | { "UserMessageHandler" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowUserMessageHandlerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowUserMessageHandlerConstructor) } }, |
5717 | #else |
5718 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5719 | #endif |
5720 | #if ENABLE(USER_MESSAGE_HANDLERS) |
5721 | { "UserMessageHandlersNamespace" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowUserMessageHandlersNamespaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowUserMessageHandlersNamespaceConstructor) } }, |
5722 | #else |
5723 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5724 | #endif |
5725 | #if ENABLE(USER_MESSAGE_HANDLERS) |
5726 | { "WebKitNamespace" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitNamespaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitNamespaceConstructor) } }, |
5727 | #else |
5728 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5729 | #endif |
5730 | { "WebKitPoint" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebKitPointConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWebKitPointConstructor) } }, |
5731 | { "MimeType" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMimeTypeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMimeTypeConstructor) } }, |
5732 | { "MimeTypeArray" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowMimeTypeArrayConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowMimeTypeArrayConstructor) } }, |
5733 | { "Plugin" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPluginConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPluginConstructor) } }, |
5734 | { "PluginArray" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPluginArrayConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPluginArrayConstructor) } }, |
5735 | { "Storage" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStorageConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowStorageConstructor) } }, |
5736 | { "StorageEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowStorageEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowStorageEventConstructor) } }, |
5737 | { "SVGAElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAElementConstructor) } }, |
5738 | #if ENABLE(SVG_FONTS) |
5739 | { "SVGAltGlyphDefElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAltGlyphDefElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAltGlyphDefElementConstructor) } }, |
5740 | #else |
5741 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5742 | #endif |
5743 | #if ENABLE(SVG_FONTS) |
5744 | { "SVGAltGlyphElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAltGlyphElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAltGlyphElementConstructor) } }, |
5745 | #else |
5746 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5747 | #endif |
5748 | #if ENABLE(SVG_FONTS) |
5749 | { "SVGAltGlyphItemElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAltGlyphItemElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAltGlyphItemElementConstructor) } }, |
5750 | #else |
5751 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5752 | #endif |
5753 | { "SVGAngle" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAngleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAngleConstructor) } }, |
5754 | { "SVGAnimateColorElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimateColorElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimateColorElementConstructor) } }, |
5755 | { "SVGAnimateElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimateElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimateElementConstructor) } }, |
5756 | { "SVGAnimateMotionElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimateMotionElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimateMotionElementConstructor) } }, |
5757 | { "SVGAnimateTransformElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimateTransformElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimateTransformElementConstructor) } }, |
5758 | { "SVGAnimatedAngle" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedAngleConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedAngleConstructor) } }, |
5759 | { "SVGAnimatedBoolean" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedBooleanConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedBooleanConstructor) } }, |
5760 | { "SVGAnimatedEnumeration" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedEnumerationConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedEnumerationConstructor) } }, |
5761 | { "SVGAnimatedInteger" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedIntegerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedIntegerConstructor) } }, |
5762 | { "SVGAnimatedLength" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedLengthConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedLengthConstructor) } }, |
5763 | { "SVGAnimatedLengthList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedLengthListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedLengthListConstructor) } }, |
5764 | { "SVGAnimatedNumber" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedNumberConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedNumberConstructor) } }, |
5765 | { "SVGAnimatedNumberList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedNumberListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedNumberListConstructor) } }, |
5766 | { "SVGAnimatedPreserveAspectRatio" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedPreserveAspectRatioConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructor) } }, |
5767 | { "SVGAnimatedRect" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedRectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedRectConstructor) } }, |
5768 | { "SVGAnimatedString" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedStringConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedStringConstructor) } }, |
5769 | { "SVGAnimatedTransformList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimatedTransformListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimatedTransformListConstructor) } }, |
5770 | { "SVGAnimationElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGAnimationElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGAnimationElementConstructor) } }, |
5771 | { "SVGCircleElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGCircleElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGCircleElementConstructor) } }, |
5772 | { "SVGClipPathElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGClipPathElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGClipPathElementConstructor) } }, |
5773 | { "SVGComponentTransferFunctionElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGComponentTransferFunctionElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGComponentTransferFunctionElementConstructor) } }, |
5774 | { "SVGCursorElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGCursorElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGCursorElementConstructor) } }, |
5775 | { "SVGDefsElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGDefsElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGDefsElementConstructor) } }, |
5776 | { "SVGDescElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGDescElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGDescElementConstructor) } }, |
5777 | { "SVGElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGElementConstructor) } }, |
5778 | { "SVGEllipseElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGEllipseElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGEllipseElementConstructor) } }, |
5779 | { "SVGFEBlendElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEBlendElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEBlendElementConstructor) } }, |
5780 | { "SVGFEColorMatrixElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEColorMatrixElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEColorMatrixElementConstructor) } }, |
5781 | { "SVGFEComponentTransferElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEComponentTransferElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEComponentTransferElementConstructor) } }, |
5782 | { "SVGFECompositeElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFECompositeElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFECompositeElementConstructor) } }, |
5783 | { "SVGFEConvolveMatrixElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEConvolveMatrixElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEConvolveMatrixElementConstructor) } }, |
5784 | { "SVGFEDiffuseLightingElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEDiffuseLightingElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEDiffuseLightingElementConstructor) } }, |
5785 | { "SVGFEDisplacementMapElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEDisplacementMapElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEDisplacementMapElementConstructor) } }, |
5786 | { "SVGFEDistantLightElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEDistantLightElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEDistantLightElementConstructor) } }, |
5787 | { "SVGFEDropShadowElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEDropShadowElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEDropShadowElementConstructor) } }, |
5788 | { "SVGFEFloodElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEFloodElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEFloodElementConstructor) } }, |
5789 | { "SVGFEFuncAElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEFuncAElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEFuncAElementConstructor) } }, |
5790 | { "SVGFEFuncBElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEFuncBElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEFuncBElementConstructor) } }, |
5791 | { "SVGFEFuncGElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEFuncGElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEFuncGElementConstructor) } }, |
5792 | { "SVGFEFuncRElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEFuncRElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEFuncRElementConstructor) } }, |
5793 | { "SVGFEGaussianBlurElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEGaussianBlurElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEGaussianBlurElementConstructor) } }, |
5794 | { "SVGFEImageElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEImageElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEImageElementConstructor) } }, |
5795 | { "SVGFEMergeElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEMergeElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEMergeElementConstructor) } }, |
5796 | { "SVGFEMergeNodeElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEMergeNodeElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEMergeNodeElementConstructor) } }, |
5797 | { "SVGFEMorphologyElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEMorphologyElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEMorphologyElementConstructor) } }, |
5798 | { "SVGFEOffsetElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEOffsetElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEOffsetElementConstructor) } }, |
5799 | { "SVGFEPointLightElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFEPointLightElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFEPointLightElementConstructor) } }, |
5800 | { "SVGFESpecularLightingElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFESpecularLightingElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFESpecularLightingElementConstructor) } }, |
5801 | { "SVGFESpotLightElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFESpotLightElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFESpotLightElementConstructor) } }, |
5802 | { "SVGFETileElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFETileElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFETileElementConstructor) } }, |
5803 | { "SVGFETurbulenceElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFETurbulenceElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFETurbulenceElementConstructor) } }, |
5804 | { "SVGFilterElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFilterElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFilterElementConstructor) } }, |
5805 | #if ENABLE(SVG_FONTS) |
5806 | { "SVGFontElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFontElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFontElementConstructor) } }, |
5807 | #else |
5808 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5809 | #endif |
5810 | #if ENABLE(SVG_FONTS) |
5811 | { "SVGFontFaceElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFontFaceElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFontFaceElementConstructor) } }, |
5812 | #else |
5813 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5814 | #endif |
5815 | #if ENABLE(SVG_FONTS) |
5816 | { "SVGFontFaceFormatElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFontFaceFormatElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFontFaceFormatElementConstructor) } }, |
5817 | #else |
5818 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5819 | #endif |
5820 | #if ENABLE(SVG_FONTS) |
5821 | { "SVGFontFaceNameElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFontFaceNameElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFontFaceNameElementConstructor) } }, |
5822 | #else |
5823 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5824 | #endif |
5825 | #if ENABLE(SVG_FONTS) |
5826 | { "SVGFontFaceSrcElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFontFaceSrcElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFontFaceSrcElementConstructor) } }, |
5827 | #else |
5828 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5829 | #endif |
5830 | #if ENABLE(SVG_FONTS) |
5831 | { "SVGFontFaceUriElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGFontFaceUriElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGFontFaceUriElementConstructor) } }, |
5832 | #else |
5833 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5834 | #endif |
5835 | { "SVGForeignObjectElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGForeignObjectElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGForeignObjectElementConstructor) } }, |
5836 | { "SVGGElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGGElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGGElementConstructor) } }, |
5837 | { "SVGGeometryElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGGeometryElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGGeometryElementConstructor) } }, |
5838 | #if ENABLE(SVG_FONTS) |
5839 | { "SVGGlyphElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGGlyphElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGGlyphElementConstructor) } }, |
5840 | #else |
5841 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5842 | #endif |
5843 | #if ENABLE(SVG_FONTS) |
5844 | { "SVGGlyphRefElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGGlyphRefElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGGlyphRefElementConstructor) } }, |
5845 | #else |
5846 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5847 | #endif |
5848 | { "SVGGradientElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGGradientElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGGradientElementConstructor) } }, |
5849 | { "SVGGraphicsElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGGraphicsElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGGraphicsElementConstructor) } }, |
5850 | #if ENABLE(SVG_FONTS) |
5851 | { "SVGHKernElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGHKernElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGHKernElementConstructor) } }, |
5852 | #else |
5853 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5854 | #endif |
5855 | { "SVGImageElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGImageElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGImageElementConstructor) } }, |
5856 | { "SVGLength" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGLengthConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGLengthConstructor) } }, |
5857 | { "SVGLengthList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGLengthListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGLengthListConstructor) } }, |
5858 | { "SVGLineElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGLineElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGLineElementConstructor) } }, |
5859 | { "SVGLinearGradientElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGLinearGradientElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGLinearGradientElementConstructor) } }, |
5860 | { "SVGMPathElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGMPathElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGMPathElementConstructor) } }, |
5861 | { "SVGMarkerElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGMarkerElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGMarkerElementConstructor) } }, |
5862 | { "SVGMaskElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGMaskElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGMaskElementConstructor) } }, |
5863 | { "SVGMatrix" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGMatrixConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGMatrixConstructor) } }, |
5864 | { "SVGMetadataElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGMetadataElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGMetadataElementConstructor) } }, |
5865 | #if ENABLE(SVG_FONTS) |
5866 | { "SVGMissingGlyphElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGMissingGlyphElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGMissingGlyphElementConstructor) } }, |
5867 | #else |
5868 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5869 | #endif |
5870 | { "SVGNumber" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGNumberConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGNumberConstructor) } }, |
5871 | { "SVGNumberList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGNumberListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGNumberListConstructor) } }, |
5872 | { "SVGPathElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathElementConstructor) } }, |
5873 | { "SVGPathSeg" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegConstructor) } }, |
5874 | { "SVGPathSegArcAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegArcAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegArcAbsConstructor) } }, |
5875 | { "SVGPathSegArcRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegArcRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegArcRelConstructor) } }, |
5876 | { "SVGPathSegClosePath" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegClosePathConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegClosePathConstructor) } }, |
5877 | { "SVGPathSegCurvetoCubicAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoCubicAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructor) } }, |
5878 | { "SVGPathSegCurvetoCubicRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoCubicRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoCubicRelConstructor) } }, |
5879 | { "SVGPathSegCurvetoCubicSmoothAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor) } }, |
5880 | { "SVGPathSegCurvetoCubicSmoothRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor) } }, |
5881 | { "SVGPathSegCurvetoQuadraticAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor) } }, |
5882 | { "SVGPathSegCurvetoQuadraticRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructor) } }, |
5883 | { "SVGPathSegCurvetoQuadraticSmoothAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor) } }, |
5884 | { "SVGPathSegCurvetoQuadraticSmoothRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor) } }, |
5885 | { "SVGPathSegLinetoAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegLinetoAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegLinetoAbsConstructor) } }, |
5886 | { "SVGPathSegLinetoHorizontalAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructor) } }, |
5887 | { "SVGPathSegLinetoHorizontalRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegLinetoHorizontalRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructor) } }, |
5888 | { "SVGPathSegLinetoRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegLinetoRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegLinetoRelConstructor) } }, |
5889 | { "SVGPathSegLinetoVerticalAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegLinetoVerticalAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructor) } }, |
5890 | { "SVGPathSegLinetoVerticalRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegLinetoVerticalRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegLinetoVerticalRelConstructor) } }, |
5891 | { "SVGPathSegList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegListConstructor) } }, |
5892 | { "SVGPathSegMovetoAbs" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegMovetoAbsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegMovetoAbsConstructor) } }, |
5893 | { "SVGPathSegMovetoRel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPathSegMovetoRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPathSegMovetoRelConstructor) } }, |
5894 | { "SVGPatternElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPatternElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPatternElementConstructor) } }, |
5895 | { "SVGPoint" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPointConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPointConstructor) } }, |
5896 | { "SVGPointList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPointListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPointListConstructor) } }, |
5897 | { "SVGPolygonElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPolygonElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPolygonElementConstructor) } }, |
5898 | { "SVGPolylineElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPolylineElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPolylineElementConstructor) } }, |
5899 | { "SVGPreserveAspectRatio" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGPreserveAspectRatioConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGPreserveAspectRatioConstructor) } }, |
5900 | { "SVGRadialGradientElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGRadialGradientElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGRadialGradientElementConstructor) } }, |
5901 | { "SVGRect" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGRectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGRectConstructor) } }, |
5902 | { "SVGRectElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGRectElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGRectElementConstructor) } }, |
5903 | { "SVGRenderingIntent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGRenderingIntentConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGRenderingIntentConstructor) } }, |
5904 | { "SVGSVGElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGSVGElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGSVGElementConstructor) } }, |
5905 | { "SVGScriptElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGScriptElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGScriptElementConstructor) } }, |
5906 | { "SVGSetElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGSetElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGSetElementConstructor) } }, |
5907 | { "SVGStopElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGStopElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGStopElementConstructor) } }, |
5908 | { "SVGStringList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGStringListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGStringListConstructor) } }, |
5909 | { "SVGStyleElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGStyleElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGStyleElementConstructor) } }, |
5910 | { "SVGSwitchElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGSwitchElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGSwitchElementConstructor) } }, |
5911 | { "SVGSymbolElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGSymbolElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGSymbolElementConstructor) } }, |
5912 | { "SVGTRefElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTRefElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTRefElementConstructor) } }, |
5913 | { "SVGTSpanElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTSpanElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTSpanElementConstructor) } }, |
5914 | { "SVGTextContentElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTextContentElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTextContentElementConstructor) } }, |
5915 | { "SVGTextElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTextElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTextElementConstructor) } }, |
5916 | { "SVGTextPathElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTextPathElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTextPathElementConstructor) } }, |
5917 | { "SVGTextPositioningElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTextPositioningElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTextPositioningElementConstructor) } }, |
5918 | { "SVGTitleElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTitleElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTitleElementConstructor) } }, |
5919 | { "SVGTransform" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTransformConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTransformConstructor) } }, |
5920 | { "SVGTransformList" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGTransformListConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGTransformListConstructor) } }, |
5921 | { "SVGUnitTypes" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGUnitTypesConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGUnitTypesConstructor) } }, |
5922 | { "SVGUseElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGUseElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGUseElementConstructor) } }, |
5923 | #if ENABLE(SVG_FONTS) |
5924 | { "SVGVKernElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGVKernElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGVKernElementConstructor) } }, |
5925 | #else |
5926 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5927 | #endif |
5928 | { "SVGViewElement" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGViewElementConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGViewElementConstructor) } }, |
5929 | { "SVGViewSpec" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGViewSpecConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGViewSpecConstructor) } }, |
5930 | { "SVGZoomEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSVGZoomEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowSVGZoomEventConstructor) } }, |
5931 | { "Worker" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWorkerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowWorkerConstructor) } }, |
5932 | { "DOMParser" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowDOMParserConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowDOMParserConstructor) } }, |
5933 | { "XMLHttpRequest" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXMLHttpRequestConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXMLHttpRequestConstructor) } }, |
5934 | { "XMLHttpRequestEventTarget" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXMLHttpRequestEventTargetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXMLHttpRequestEventTargetConstructor) } }, |
5935 | { "XMLHttpRequestProgressEvent" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXMLHttpRequestProgressEventConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXMLHttpRequestProgressEventConstructor) } }, |
5936 | { "XMLHttpRequestUpload" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXMLHttpRequestUploadConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXMLHttpRequestUploadConstructor) } }, |
5937 | { "XMLSerializer" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXMLSerializerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXMLSerializerConstructor) } }, |
5938 | { "XPathEvaluator" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXPathEvaluatorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXPathEvaluatorConstructor) } }, |
5939 | { "XPathExpression" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXPathExpressionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXPathExpressionConstructor) } }, |
5940 | { "XPathResult" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXPathResultConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXPathResultConstructor) } }, |
5941 | #if ENABLE(XSLT) |
5942 | { "XSLTProcessor" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowXSLTProcessorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowXSLTProcessorConstructor) } }, |
5943 | #else |
5944 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5945 | #endif |
5946 | #if ENABLE(INDEXED_DATABASE) |
5947 | { "indexedDB" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowIndexedDB), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
5948 | #else |
5949 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5950 | #endif |
5951 | #if ENABLE(INDEXED_DATABASE) |
5952 | { "webkitIndexedDB" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowWebkitIndexedDB), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
5953 | #else |
5954 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5955 | #endif |
5956 | #if ENABLE(SPEECH_SYNTHESIS) |
5957 | { "speechSynthesis" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowSpeechSynthesis), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
5958 | #else |
5959 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
5960 | #endif |
5961 | { "onabort" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnabort), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnabort) } }, |
5962 | { "onblur" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnblur), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnblur) } }, |
5963 | { "oncanplay" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOncanplay), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOncanplay) } }, |
5964 | { "oncanplaythrough" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOncanplaythrough), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOncanplaythrough) } }, |
5965 | { "onchange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnchange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnchange) } }, |
5966 | { "onclick" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnclick), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnclick) } }, |
5967 | { "oncontextmenu" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOncontextmenu), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOncontextmenu) } }, |
5968 | { "oncuechange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOncuechange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOncuechange) } }, |
5969 | { "ondblclick" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndblclick), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndblclick) } }, |
5970 | { "ondrag" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndrag), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndrag) } }, |
5971 | { "ondragend" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndragend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndragend) } }, |
5972 | { "ondragenter" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndragenter), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndragenter) } }, |
5973 | { "ondragleave" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndragleave), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndragleave) } }, |
5974 | { "ondragover" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndragover), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndragover) } }, |
5975 | { "ondragstart" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndragstart), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndragstart) } }, |
5976 | { "ondrop" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndrop), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndrop) } }, |
5977 | { "ondurationchange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOndurationchange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOndurationchange) } }, |
5978 | { "onemptied" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnemptied), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnemptied) } }, |
5979 | { "onended" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnended), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnended) } }, |
5980 | { "onerror" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnerror), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnerror) } }, |
5981 | { "onfocus" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnfocus), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnfocus) } }, |
5982 | { "oninput" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOninput), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOninput) } }, |
5983 | { "oninvalid" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOninvalid), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOninvalid) } }, |
5984 | { "onkeydown" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnkeydown), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnkeydown) } }, |
5985 | { "onkeypress" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnkeypress), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnkeypress) } }, |
5986 | { "onkeyup" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnkeyup), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnkeyup) } }, |
5987 | { "onload" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnload), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnload) } }, |
5988 | { "onloadeddata" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnloadeddata), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnloadeddata) } }, |
5989 | { "onloadedmetadata" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnloadedmetadata), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnloadedmetadata) } }, |
5990 | { "onloadstart" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnloadstart), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnloadstart) } }, |
5991 | { "onmousedown" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmousedown), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmousedown) } }, |
5992 | { "onmouseenter" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmouseenter), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmouseenter) } }, |
5993 | { "onmouseleave" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmouseleave), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmouseleave) } }, |
5994 | { "onmousemove" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmousemove), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmousemove) } }, |
5995 | { "onmouseout" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmouseout), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmouseout) } }, |
5996 | { "onmouseover" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmouseover), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmouseover) } }, |
5997 | { "onmouseup" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmouseup), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmouseup) } }, |
5998 | { "onmousewheel" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmousewheel), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmousewheel) } }, |
5999 | { "onpause" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpause), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpause) } }, |
6000 | { "onplay" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnplay), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnplay) } }, |
6001 | { "onplaying" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnplaying), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnplaying) } }, |
6002 | { "onprogress" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnprogress), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnprogress) } }, |
6003 | { "onratechange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnratechange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnratechange) } }, |
6004 | { "onrejectionhandled" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnrejectionhandled), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnrejectionhandled) } }, |
6005 | { "onreset" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnreset), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnreset) } }, |
6006 | { "onresize" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnresize), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnresize) } }, |
6007 | { "onscroll" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnscroll), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnscroll) } }, |
6008 | { "onseeked" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnseeked), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnseeked) } }, |
6009 | { "onseeking" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnseeking), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnseeking) } }, |
6010 | { "onselect" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnselect), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnselect) } }, |
6011 | { "onstalled" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnstalled), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnstalled) } }, |
6012 | { "onsubmit" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnsubmit), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnsubmit) } }, |
6013 | { "onsuspend" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnsuspend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnsuspend) } }, |
6014 | { "ontimeupdate" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOntimeupdate), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOntimeupdate) } }, |
6015 | { "ontoggle" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOntoggle), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOntoggle) } }, |
6016 | { "onunhandledrejection" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnunhandledrejection), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnunhandledrejection) } }, |
6017 | { "onvolumechange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnvolumechange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnvolumechange) } }, |
6018 | { "onwaiting" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwaiting), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwaiting) } }, |
6019 | { "ontransitionend" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOntransitionend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOntransitionend) } }, |
6020 | { "ontransitionrun" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOntransitionrun), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOntransitionrun) } }, |
6021 | { "ontransitionstart" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOntransitionstart), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOntransitionstart) } }, |
6022 | { "ontransitioncancel" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOntransitioncancel), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOntransitioncancel) } }, |
6023 | { "onanimationend" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnanimationend), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnanimationend) } }, |
6024 | { "onanimationiteration" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnanimationiteration), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnanimationiteration) } }, |
6025 | { "onanimationstart" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnanimationstart), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnanimationstart) } }, |
6026 | { "onanimationcancel" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnanimationcancel), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnanimationcancel) } }, |
6027 | { "ongotpointercapture" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOngotpointercapture), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOngotpointercapture) } }, |
6028 | { "onlostpointercapture" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnlostpointercapture), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnlostpointercapture) } }, |
6029 | { "onpointerdown" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointerdown), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointerdown) } }, |
6030 | { "onpointermove" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointermove), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointermove) } }, |
6031 | { "onpointerup" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointerup), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointerup) } }, |
6032 | { "onpointercancel" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointercancel), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointercancel) } }, |
6033 | { "onpointerover" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointerover), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointerover) } }, |
6034 | { "onpointerout" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointerout), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointerout) } }, |
6035 | { "onpointerenter" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointerenter), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointerenter) } }, |
6036 | { "onpointerleave" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpointerleave), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpointerleave) } }, |
6037 | { "onsearch" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnsearch), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnsearch) } }, |
6038 | { "onwheel" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwheel), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwheel) } }, |
6039 | #if ENABLE(MOUSE_FORCE_EVENTS) |
6040 | { "onwebkitmouseforcechanged" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitmouseforcechanged), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitmouseforcechanged) } }, |
6041 | #else |
6042 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
6043 | #endif |
6044 | #if ENABLE(MOUSE_FORCE_EVENTS) |
6045 | { "onwebkitmouseforcedown" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitmouseforcedown), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitmouseforcedown) } }, |
6046 | #else |
6047 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
6048 | #endif |
6049 | #if ENABLE(MOUSE_FORCE_EVENTS) |
6050 | { "onwebkitmouseforcewillbegin" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitmouseforcewillbegin), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitmouseforcewillbegin) } }, |
6051 | #else |
6052 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
6053 | #endif |
6054 | #if ENABLE(MOUSE_FORCE_EVENTS) |
6055 | { "onwebkitmouseforceup" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnwebkitmouseforceup), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnwebkitmouseforceup) } }, |
6056 | #else |
6057 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
6058 | #endif |
6059 | { "crypto" , static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowCrypto), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, |
6060 | { "performance" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowPerformance), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowPerformance) } }, |
6061 | { "onafterprint" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnafterprint), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnafterprint) } }, |
6062 | { "onbeforeprint" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnbeforeprint), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnbeforeprint) } }, |
6063 | { "onbeforeunload" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnbeforeunload), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnbeforeunload) } }, |
6064 | { "onhashchange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnhashchange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnhashchange) } }, |
6065 | { "onlanguagechange" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnlanguagechange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnlanguagechange) } }, |
6066 | { "onmessage" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnmessage), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnmessage) } }, |
6067 | { "onoffline" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnoffline), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnoffline) } }, |
6068 | { "ononline" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnonline), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnonline) } }, |
6069 | { "onpagehide" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpagehide), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpagehide) } }, |
6070 | { "onpageshow" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpageshow), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpageshow) } }, |
6071 | { "onpopstate" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnpopstate), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnpopstate) } }, |
6072 | { "onstorage" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnstorage), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnstorage) } }, |
6073 | { "onunload" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnunload), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnunload) } }, |
6074 | #if ENABLE(ORIENTATION_EVENTS) |
6075 | { "onorientationchange" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOnorientationchange), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOnorientationchange) } }, |
6076 | #else |
6077 | { 0, 0, NoIntrinsic, { 0, 0 } }, |
6078 | #endif |
6079 | { "origin" , static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowOrigin), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowOrigin) } }, |
6080 | { "close" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionClose), (intptr_t) (0) } }, |
6081 | { "stop" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionStop), (intptr_t) (0) } }, |
6082 | { "focus" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionFocus), (intptr_t) (0) } }, |
6083 | { "blur" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionBlur), (intptr_t) (0) } }, |
6084 | { "open" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionOpen), (intptr_t) (0) } }, |
6085 | { "alert" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionAlert), (intptr_t) (0) } }, |
6086 | { "confirm" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionConfirm), (intptr_t) (0) } }, |
6087 | { "prompt" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionPrompt), (intptr_t) (0) } }, |
6088 | { "print" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionPrint), (intptr_t) (0) } }, |
6089 | { "requestAnimationFrame" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionRequestAnimationFrame), (intptr_t) (1) } }, |
6090 | { "cancelAnimationFrame" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionCancelAnimationFrame), (intptr_t) (1) } }, |
6091 | { "postMessage" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionPostMessage), (intptr_t) (2) } }, |
6092 | { "captureEvents" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionCaptureEvents), (intptr_t) (0) } }, |
6093 | { "releaseEvents" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionReleaseEvents), (intptr_t) (0) } }, |
6094 | { "getComputedStyle" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionGetComputedStyle), (intptr_t) (1) } }, |
6095 | { "matchMedia" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionMatchMedia), (intptr_t) (1) } }, |
6096 | { "moveTo" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionMoveTo), (intptr_t) (0) } }, |
6097 | { "moveBy" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionMoveBy), (intptr_t) (0) } }, |
6098 | { "resizeTo" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionResizeTo), (intptr_t) (0) } }, |
6099 | { "resizeBy" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionResizeBy), (intptr_t) (0) } }, |
6100 | { "scroll" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionScroll), (intptr_t) (0) } }, |
6101 | { "scrollTo" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionScrollTo), (intptr_t) (0) } }, |
6102 | { "scrollBy" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionScrollBy), (intptr_t) (0) } }, |
6103 | { "getSelection" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionGetSelection), (intptr_t) (0) } }, |
6104 | { "find" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionFind), (intptr_t) (0) } }, |
6105 | { "webkitRequestAnimationFrame" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionWebkitRequestAnimationFrame), (intptr_t) (1) } }, |
6106 | { "webkitCancelAnimationFrame" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionWebkitCancelAnimationFrame), (intptr_t) (1) } }, |
6107 | { "webkitCancelRequestAnimationFrame" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionWebkitCancelRequestAnimationFrame), (intptr_t) (1) } }, |
6108 | { "getMatchedCSSRules" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionGetMatchedCSSRules), (intptr_t) (0) } }, |
6109 | { "showModalDialog" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionShowModalDialog), (intptr_t) (1) } }, |
6110 | { "webkitConvertPointFromPageToNode" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionWebkitConvertPointFromPageToNode), (intptr_t) (0) } }, |
6111 | { "webkitConvertPointFromNodeToPage" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionWebkitConvertPointFromNodeToPage), (intptr_t) (0) } }, |
6112 | { "setTimeout" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionSetTimeout), (intptr_t) (1) } }, |
6113 | { "clearTimeout" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionClearTimeout), (intptr_t) (0) } }, |
6114 | { "setInterval" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionSetInterval), (intptr_t) (1) } }, |
6115 | { "clearInterval" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionClearInterval), (intptr_t) (0) } }, |
6116 | { "queueMicrotask" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionQueueMicrotask), (intptr_t) (1) } }, |
6117 | { "atob" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionAtob), (intptr_t) (1) } }, |
6118 | { "btoa" , static_cast<unsigned>(JSC::PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(jsDOMWindowInstanceFunctionBtoa), (intptr_t) (1) } }, |
6119 | }; |
6120 | |
6121 | static const HashTable JSDOMWindowTable = { 653, 2047, true, JSDOMWindow::info(), JSDOMWindowTableValues, JSDOMWindowTableIndex }; |
6122 | template<> JSValue JSDOMWindowConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) |
6123 | { |
6124 | return JSEventTarget::getConstructor(vm, &globalObject); |
6125 | } |
6126 | |
6127 | template<> void JSDOMWindowConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject) |
6128 | { |
6129 | putDirect(vm, vm.propertyNames->prototype, globalObject.getPrototypeDirect(vm), JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontEnum); |
6130 | putDirect(vm, vm.propertyNames->name, jsNontrivialString(&vm, String("Window"_s )), JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontEnum); |
6131 | putDirect(vm, vm.propertyNames->length, jsNumber(0), JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontEnum); |
6132 | } |
6133 | |
6134 | template<> const ClassInfo JSDOMWindowConstructor::s_info = { "Window" , &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSDOMWindowConstructor) }; |
6135 | |
6136 | /* Hash table for prototype */ |
6137 | |
6138 | static const struct CompactHashIndex JSDOMWindowPrototypeTableIndex[2] = { |
6139 | { -1, -1 }, |
6140 | { 0, -1 }, |
6141 | }; |
6142 | |
6143 | |
6144 | static const HashTableValue JSDOMWindowPrototypeTableValues[] = |
6145 | { |
6146 | { "constructor" , static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsDOMWindowConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSDOMWindowConstructor) } }, |
6147 | }; |
6148 | |
6149 | static const HashTable JSDOMWindowPrototypeTable = { 1, 1, true, JSDOMWindow::info(), JSDOMWindowPrototypeTableValues, JSDOMWindowPrototypeTableIndex }; |
6150 | const ClassInfo JSDOMWindowPrototype::s_info = { "WindowPrototype" , &Base::s_info, &JSDOMWindowPrototypeTable, nullptr, CREATE_METHOD_TABLE(JSDOMWindowPrototype) }; |
6151 | |
6152 | const ClassInfo JSDOMWindow::s_info = { "Window" , &Base::s_info, &JSDOMWindowTable, nullptr, CREATE_METHOD_TABLE(JSDOMWindow) }; |
6153 | |
6154 | JSDOMWindow::JSDOMWindow(VM& vm, Structure* structure, Ref<DOMWindow>&& impl, JSWindowProxy* proxy) |
6155 | : JSDOMWindowBase(vm, structure, WTFMove(impl), proxy) |
6156 | { |
6157 | } |
6158 | |
6159 | void JSDOMWindow::finishCreation(VM& vm, JSWindowProxy* proxy) |
6160 | { |
6161 | Base::finishCreation(vm, proxy); |
6162 | |
6163 | if (RuntimeEnabledFeatures::sharedFeatures().customElementsEnabled()) |
6164 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().customElementsPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCustomElements, nullptr), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor))); |
6165 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().visualViewportAPIEnabled()) |
6166 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().visualViewportPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVisualViewport, setJSDOMWindowVisualViewport), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6167 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().cacheAPIEnabled())) |
6168 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CachePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCacheConstructor, setJSDOMWindowCacheConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6169 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().cacheAPIEnabled())) |
6170 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CacheStoragePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCacheStorageConstructor, setJSDOMWindowCacheStorageConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6171 | #if ENABLE(WEB_AUTHN) |
6172 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().webAuthenticationEnabled())) |
6173 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CredentialPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCredentialConstructor, setJSDOMWindowCredentialConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6174 | #endif |
6175 | #if ENABLE(WEB_AUTHN) |
6176 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().webAuthenticationEnabled())) |
6177 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CredentialsContainerPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCredentialsContainerConstructor, setJSDOMWindowCredentialsContainerConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6178 | #endif |
6179 | if (RuntimeEnabledFeatures::sharedFeatures().directoryUploadEnabled()) |
6180 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().FileSystemPublicName(), CustomGetterSetter::create(vm, jsDOMWindowFileSystemConstructor, setJSDOMWindowFileSystemConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6181 | if (RuntimeEnabledFeatures::sharedFeatures().directoryUploadEnabled()) |
6182 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().FileSystemDirectoryEntryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowFileSystemDirectoryEntryConstructor, setJSDOMWindowFileSystemDirectoryEntryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6183 | if (RuntimeEnabledFeatures::sharedFeatures().directoryUploadEnabled()) |
6184 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().FileSystemDirectoryReaderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowFileSystemDirectoryReaderConstructor, setJSDOMWindowFileSystemDirectoryReaderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6185 | if (RuntimeEnabledFeatures::sharedFeatures().directoryUploadEnabled()) |
6186 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().FileSystemEntryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowFileSystemEntryConstructor, setJSDOMWindowFileSystemEntryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6187 | if (RuntimeEnabledFeatures::sharedFeatures().directoryUploadEnabled()) |
6188 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().FileSystemFileEntryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowFileSystemFileEntryConstructor, setJSDOMWindowFileSystemFileEntryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6189 | if (RuntimeEnabledFeatures::sharedFeatures().fetchAPIEnabled()) |
6190 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().HeadersPublicName(), CustomGetterSetter::create(vm, jsDOMWindowHeadersConstructor, setJSDOMWindowHeadersConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6191 | if (RuntimeEnabledFeatures::sharedFeatures().fetchAPIEnabled()) |
6192 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RequestPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRequestConstructor, setJSDOMWindowRequestConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6193 | if (RuntimeEnabledFeatures::sharedFeatures().fetchAPIEnabled()) |
6194 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ResponsePublicName(), CustomGetterSetter::create(vm, jsDOMWindowResponseConstructor, setJSDOMWindowResponseConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6195 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().mediaCapabilitiesEnabled()) |
6196 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MediaCapabilitiesPublicName(), CustomGetterSetter::create(vm, jsDOMWindowMediaCapabilitiesConstructor, setJSDOMWindowMediaCapabilitiesConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6197 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().mediaCapabilitiesEnabled()) |
6198 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ScreenLuminancePublicName(), CustomGetterSetter::create(vm, jsDOMWindowScreenLuminanceConstructor, setJSDOMWindowScreenLuminanceConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6199 | #if ENABLE(MEDIA_STREAM) |
6200 | if (RuntimeEnabledFeatures::sharedFeatures().mediaRecorderEnabled()) |
6201 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().BlobEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowBlobEventConstructor, setJSDOMWindowBlobEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6202 | #endif |
6203 | #if ENABLE(MEDIA_STREAM) |
6204 | if (RuntimeEnabledFeatures::sharedFeatures().mediaRecorderEnabled()) |
6205 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MediaRecorderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowMediaRecorderConstructor, setJSDOMWindowMediaRecorderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6206 | #endif |
6207 | #if ENABLE(MEDIA_STREAM) |
6208 | if (RuntimeEnabledFeatures::sharedFeatures().mediaRecorderEnabled()) |
6209 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MediaRecorderErrorEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowMediaRecorderErrorEventConstructor, setJSDOMWindowMediaRecorderErrorEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6210 | #endif |
6211 | #if ENABLE(MEDIA_SOURCE) |
6212 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().mediaSourceEnabled()) |
6213 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MediaSourcePublicName(), CustomGetterSetter::create(vm, jsDOMWindowMediaSourceConstructor, setJSDOMWindowMediaSourceConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6214 | #endif |
6215 | #if ENABLE(WEB_RTC) |
6216 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6217 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCCertificatePublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCCertificateConstructor, setJSDOMWindowRTCCertificateConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6218 | #endif |
6219 | #if ENABLE(WEB_RTC_DTMF) |
6220 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6221 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCDTMFSenderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCDTMFSenderConstructor, setJSDOMWindowRTCDTMFSenderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6222 | #endif |
6223 | #if ENABLE(WEB_RTC_DTMF) |
6224 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6225 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCDTMFToneChangeEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCDTMFToneChangeEventConstructor, setJSDOMWindowRTCDTMFToneChangeEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6226 | #endif |
6227 | #if ENABLE(WEB_RTC) |
6228 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6229 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCDataChannelPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCDataChannelConstructor, setJSDOMWindowRTCDataChannelConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6230 | #endif |
6231 | #if ENABLE(WEB_RTC) |
6232 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6233 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCDataChannelEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCDataChannelEventConstructor, setJSDOMWindowRTCDataChannelEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6234 | #endif |
6235 | #if ENABLE(WEB_RTC) |
6236 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6237 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCIceCandidatePublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCIceCandidateConstructor, setJSDOMWindowRTCIceCandidateConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6238 | #endif |
6239 | #if ENABLE(WEB_RTC) |
6240 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6241 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCIceTransportPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCIceTransportConstructor, setJSDOMWindowRTCIceTransportConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6242 | #endif |
6243 | #if ENABLE(WEB_RTC) |
6244 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6245 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCPeerConnectionPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCPeerConnectionConstructor, setJSDOMWindowRTCPeerConnectionConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6246 | #endif |
6247 | #if ENABLE(WEB_RTC) |
6248 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6249 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCPeerConnectionIceEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCPeerConnectionIceEventConstructor, setJSDOMWindowRTCPeerConnectionIceEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6250 | #endif |
6251 | #if ENABLE(WEB_RTC) |
6252 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6253 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCRtpReceiverPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCRtpReceiverConstructor, setJSDOMWindowRTCRtpReceiverConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6254 | #endif |
6255 | #if ENABLE(WEB_RTC) |
6256 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6257 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCRtpSenderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCRtpSenderConstructor, setJSDOMWindowRTCRtpSenderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6258 | #endif |
6259 | #if ENABLE(WEB_RTC) |
6260 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6261 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCRtpTransceiverPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCRtpTransceiverConstructor, setJSDOMWindowRTCRtpTransceiverConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6262 | #endif |
6263 | #if ENABLE(WEB_RTC) |
6264 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6265 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCSessionDescriptionPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCSessionDescriptionConstructor, setJSDOMWindowRTCSessionDescriptionConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6266 | #endif |
6267 | #if ENABLE(WEB_RTC) |
6268 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6269 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCStatsReportPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCStatsReportConstructor, setJSDOMWindowRTCStatsReportConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6270 | #endif |
6271 | #if ENABLE(WEB_RTC) |
6272 | if (RuntimeEnabledFeatures::sharedFeatures().peerConnectionEnabled()) |
6273 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCTrackEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowRTCTrackEventConstructor, setJSDOMWindowRTCTrackEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6274 | #endif |
6275 | #if ENABLE(PAYMENT_REQUEST) |
6276 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().paymentRequestEnabled())) |
6277 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MerchantValidationEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowMerchantValidationEventConstructor, setJSDOMWindowMerchantValidationEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6278 | #endif |
6279 | #if ENABLE(PAYMENT_REQUEST) |
6280 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().paymentRequestEnabled())) |
6281 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PaymentAddressPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPaymentAddressConstructor, setJSDOMWindowPaymentAddressConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6282 | #endif |
6283 | #if ENABLE(PAYMENT_REQUEST) |
6284 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().paymentRequestEnabled())) |
6285 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PaymentMethodChangeEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPaymentMethodChangeEventConstructor, setJSDOMWindowPaymentMethodChangeEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6286 | #endif |
6287 | #if ENABLE(PAYMENT_REQUEST) |
6288 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().paymentRequestEnabled() && PaymentRequest::enabledForContext(*jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()))) |
6289 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PaymentRequestPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPaymentRequestConstructor, setJSDOMWindowPaymentRequestConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6290 | #endif |
6291 | #if ENABLE(PAYMENT_REQUEST) |
6292 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().paymentRequestEnabled())) |
6293 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PaymentRequestUpdateEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPaymentRequestUpdateEventConstructor, setJSDOMWindowPaymentRequestUpdateEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6294 | #endif |
6295 | #if ENABLE(PAYMENT_REQUEST) |
6296 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().paymentRequestEnabled())) |
6297 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PaymentResponsePublicName(), CustomGetterSetter::create(vm, jsDOMWindowPaymentResponseConstructor, setJSDOMWindowPaymentResponseConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6298 | #endif |
6299 | #if ENABLE(STREAMS_API) |
6300 | if (RuntimeEnabledFeatures::sharedFeatures().writableStreamAPIEnabled()) |
6301 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().WritableStreamPublicName(), CustomGetterSetter::create(vm, jsDOMWindowWritableStreamConstructor, setJSDOMWindowWritableStreamConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6302 | #endif |
6303 | #if ENABLE(WEB_AUDIO) |
6304 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().webAudioEnabled()) |
6305 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().webkitAudioContextPublicName(), CustomGetterSetter::create(vm, jsDOMWindowWebkitAudioContextConstructor, setJSDOMWindowWebkitAudioContextConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6306 | #endif |
6307 | #if ENABLE(WEB_AUTHN) |
6308 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().webAuthenticationEnabled())) |
6309 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AuthenticatorAssertionResponsePublicName(), CustomGetterSetter::create(vm, jsDOMWindowAuthenticatorAssertionResponseConstructor, setJSDOMWindowAuthenticatorAssertionResponseConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6310 | #endif |
6311 | #if ENABLE(WEB_AUTHN) |
6312 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().webAuthenticationEnabled())) |
6313 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AuthenticatorAttestationResponsePublicName(), CustomGetterSetter::create(vm, jsDOMWindowAuthenticatorAttestationResponseConstructor, setJSDOMWindowAuthenticatorAttestationResponseConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6314 | #endif |
6315 | #if ENABLE(WEB_AUTHN) |
6316 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().webAuthenticationEnabled())) |
6317 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AuthenticatorResponsePublicName(), CustomGetterSetter::create(vm, jsDOMWindowAuthenticatorResponseConstructor, setJSDOMWindowAuthenticatorResponseConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6318 | #endif |
6319 | #if ENABLE(WEB_AUTHN) |
6320 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().webAuthenticationEnabled())) |
6321 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PublicKeyCredentialPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPublicKeyCredentialConstructor, setJSDOMWindowPublicKeyCredentialConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6322 | #endif |
6323 | if (RuntimeEnabledFeatures::sharedFeatures().webSQLEnabled()) |
6324 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().DatabasePublicName(), CustomGetterSetter::create(vm, jsDOMWindowDatabaseConstructor, setJSDOMWindowDatabaseConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6325 | if (RuntimeEnabledFeatures::sharedFeatures().webSQLEnabled()) |
6326 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().SQLErrorPublicName(), CustomGetterSetter::create(vm, jsDOMWindowSQLErrorConstructor, setJSDOMWindowSQLErrorConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6327 | if (RuntimeEnabledFeatures::sharedFeatures().webSQLEnabled()) |
6328 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().SQLResultSetPublicName(), CustomGetterSetter::create(vm, jsDOMWindowSQLResultSetConstructor, setJSDOMWindowSQLResultSetConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6329 | if (RuntimeEnabledFeatures::sharedFeatures().webSQLEnabled()) |
6330 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().SQLResultSetRowListPublicName(), CustomGetterSetter::create(vm, jsDOMWindowSQLResultSetRowListConstructor, setJSDOMWindowSQLResultSetRowListConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6331 | #if ENABLE(WEBGPU) |
6332 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6333 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUBufferUsagePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUBufferUsageConstructor, setJSDOMWindowGPUBufferUsageConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6334 | #endif |
6335 | #if ENABLE(WEBGPU) |
6336 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6337 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUCanvasContextPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUCanvasContextConstructor, setJSDOMWindowGPUCanvasContextConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6338 | #endif |
6339 | #if ENABLE(WEBGPU) |
6340 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6341 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUColorWriteBitsPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUColorWriteBitsConstructor, setJSDOMWindowGPUColorWriteBitsConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6342 | #endif |
6343 | #if ENABLE(WEBGPU) |
6344 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6345 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUShaderStageBitPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUShaderStageBitConstructor, setJSDOMWindowGPUShaderStageBitConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6346 | #endif |
6347 | #if ENABLE(WEBGPU) |
6348 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6349 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUTextureUsagePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUTextureUsageConstructor, setJSDOMWindowGPUTextureUsageConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6350 | #endif |
6351 | #if ENABLE(WEBGPU) |
6352 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6353 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUConstructor, setJSDOMWindowGPUConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6354 | #endif |
6355 | #if ENABLE(WEBGPU) |
6356 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6357 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUAdapterPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUAdapterConstructor, setJSDOMWindowGPUAdapterConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6358 | #endif |
6359 | #if ENABLE(WEBGPU) |
6360 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6361 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUBindGroupPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUBindGroupConstructor, setJSDOMWindowGPUBindGroupConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6362 | #endif |
6363 | #if ENABLE(WEBGPU) |
6364 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6365 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUBindGroupLayoutPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUBindGroupLayoutConstructor, setJSDOMWindowGPUBindGroupLayoutConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6366 | #endif |
6367 | #if ENABLE(WEBGPU) |
6368 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6369 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUBufferPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUBufferConstructor, setJSDOMWindowGPUBufferConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6370 | #endif |
6371 | #if ENABLE(WEBGPU) |
6372 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6373 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUCommandBufferPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUCommandBufferConstructor, setJSDOMWindowGPUCommandBufferConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6374 | #endif |
6375 | #if ENABLE(WEBGPU) |
6376 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6377 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUCommandEncoderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUCommandEncoderConstructor, setJSDOMWindowGPUCommandEncoderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6378 | #endif |
6379 | #if ENABLE(WEBGPU) |
6380 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6381 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUComputePassEncoderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUComputePassEncoderConstructor, setJSDOMWindowGPUComputePassEncoderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6382 | #endif |
6383 | #if ENABLE(WEBGPU) |
6384 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6385 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUComputePipelinePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUComputePipelineConstructor, setJSDOMWindowGPUComputePipelineConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6386 | #endif |
6387 | #if ENABLE(WEBGPU) |
6388 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6389 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUDevicePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUDeviceConstructor, setJSDOMWindowGPUDeviceConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6390 | #endif |
6391 | #if ENABLE(WEBGPU) |
6392 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6393 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUPipelineLayoutPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUPipelineLayoutConstructor, setJSDOMWindowGPUPipelineLayoutConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6394 | #endif |
6395 | #if ENABLE(WEBGPU) |
6396 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6397 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUProgrammablePassEncoderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUProgrammablePassEncoderConstructor, setJSDOMWindowGPUProgrammablePassEncoderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6398 | #endif |
6399 | #if ENABLE(WEBGPU) |
6400 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6401 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUQueuePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUQueueConstructor, setJSDOMWindowGPUQueueConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6402 | #endif |
6403 | #if ENABLE(WEBGPU) |
6404 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6405 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPURenderPassEncoderPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPURenderPassEncoderConstructor, setJSDOMWindowGPURenderPassEncoderConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6406 | #endif |
6407 | #if ENABLE(WEBGPU) |
6408 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6409 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPURenderPipelinePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPURenderPipelineConstructor, setJSDOMWindowGPURenderPipelineConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6410 | #endif |
6411 | #if ENABLE(WEBGPU) |
6412 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6413 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUSamplerPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUSamplerConstructor, setJSDOMWindowGPUSamplerConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6414 | #endif |
6415 | #if ENABLE(WEBGPU) |
6416 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6417 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUShaderModulePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUShaderModuleConstructor, setJSDOMWindowGPUShaderModuleConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6418 | #endif |
6419 | #if ENABLE(WEBGPU) |
6420 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6421 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUSwapChainPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUSwapChainConstructor, setJSDOMWindowGPUSwapChainConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6422 | #endif |
6423 | #if ENABLE(WEBGPU) |
6424 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6425 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUTexturePublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUTextureConstructor, setJSDOMWindowGPUTextureConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6426 | #endif |
6427 | #if ENABLE(WEBGPU) |
6428 | if (RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled()) |
6429 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().GPUTextureViewPublicName(), CustomGetterSetter::create(vm, jsDOMWindowGPUTextureViewConstructor, setJSDOMWindowGPUTextureViewConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6430 | #endif |
6431 | if (RuntimeEnabledFeatures::sharedFeatures().webSocketEnabled()) |
6432 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().WebSocketPublicName(), CustomGetterSetter::create(vm, jsDOMWindowWebSocketConstructor, setJSDOMWindowWebSocketConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6433 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6434 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VRDisplayPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVRDisplayConstructor, setJSDOMWindowVRDisplayConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6435 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6436 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VRDisplayCapabilitiesPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVRDisplayCapabilitiesConstructor, setJSDOMWindowVRDisplayCapabilitiesConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6437 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6438 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VRDisplayEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVRDisplayEventConstructor, setJSDOMWindowVRDisplayEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6439 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6440 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VREyeParametersPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVREyeParametersConstructor, setJSDOMWindowVREyeParametersConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6441 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6442 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VRFieldOfViewPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVRFieldOfViewConstructor, setJSDOMWindowVRFieldOfViewConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6443 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6444 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VRFrameDataPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVRFrameDataConstructor, setJSDOMWindowVRFrameDataConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6445 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6446 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VRStageParametersPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVRStageParametersConstructor, setJSDOMWindowVRStageParametersConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6447 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsEnabled()) |
6448 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AnimationEffectPublicName(), CustomGetterSetter::create(vm, jsDOMWindowAnimationEffectConstructor, setJSDOMWindowAnimationEffectConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6449 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsEnabled()) |
6450 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AnimationPlaybackEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowAnimationPlaybackEventConstructor, setJSDOMWindowAnimationPlaybackEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6451 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsEnabled()) |
6452 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AnimationTimelinePublicName(), CustomGetterSetter::create(vm, jsDOMWindowAnimationTimelineConstructor, setJSDOMWindowAnimationTimelineConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6453 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) |
6454 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSAnimationPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSAnimationConstructor, setJSDOMWindowCSSAnimationConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6455 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) |
6456 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSTransitionPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSTransitionConstructor, setJSDOMWindowCSSTransitionConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6457 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsEnabled()) |
6458 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().DocumentTimelinePublicName(), CustomGetterSetter::create(vm, jsDOMWindowDocumentTimelineConstructor, setJSDOMWindowDocumentTimelineConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6459 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsEnabled()) |
6460 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().KeyframeEffectPublicName(), CustomGetterSetter::create(vm, jsDOMWindowKeyframeEffectConstructor, setJSDOMWindowKeyframeEffectConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6461 | if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsEnabled()) |
6462 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().AnimationPublicName(), CustomGetterSetter::create(vm, jsDOMWindowAnimationConstructor, setJSDOMWindowAnimationConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6463 | #if ENABLE(CSS_TYPED_OM) |
6464 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6465 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().StylePropertyMapPublicName(), CustomGetterSetter::create(vm, jsDOMWindowStylePropertyMapConstructor, setJSDOMWindowStylePropertyMapConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6466 | #endif |
6467 | #if ENABLE(CSS_TYPED_OM) |
6468 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6469 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().StylePropertyMapReadOnlyPublicName(), CustomGetterSetter::create(vm, jsDOMWindowStylePropertyMapReadOnlyConstructor, setJSDOMWindowStylePropertyMapReadOnlyConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6470 | #endif |
6471 | #if ENABLE(CSS_TYPED_OM) |
6472 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6473 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSImageValuePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSImageValueConstructor, setJSDOMWindowCSSImageValueConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6474 | #endif |
6475 | #if ENABLE(CSS_TYPED_OM) |
6476 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6477 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSNumericValuePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSNumericValueConstructor, setJSDOMWindowCSSNumericValueConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6478 | #endif |
6479 | #if ENABLE(CSS_TYPED_OM) |
6480 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6481 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSStyleValuePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSStyleValueConstructor, setJSDOMWindowCSSStyleValueConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6482 | #endif |
6483 | #if ENABLE(CSS_TYPED_OM) |
6484 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6485 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSUnitValuePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSUnitValueConstructor, setJSDOMWindowCSSUnitValueConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6486 | #endif |
6487 | #if ENABLE(CSS_TYPED_OM) |
6488 | if (RuntimeEnabledFeatures::sharedFeatures().cssTypedOMEnabled()) |
6489 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CSSUnparsedValuePublicName(), CustomGetterSetter::create(vm, jsDOMWindowCSSUnparsedValueConstructor, setJSDOMWindowCSSUnparsedValueConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6490 | #endif |
6491 | if (RuntimeEnabledFeatures::sharedFeatures().customElementsEnabled()) |
6492 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().CustomElementRegistryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCustomElementRegistryConstructor, setJSDOMWindowCustomElementRegistryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6493 | if (RuntimeEnabledFeatures::sharedFeatures().dataTransferItemsEnabled()) |
6494 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().DataTransferItemPublicName(), CustomGetterSetter::create(vm, jsDOMWindowDataTransferItemConstructor, setJSDOMWindowDataTransferItemConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6495 | if (RuntimeEnabledFeatures::sharedFeatures().dataTransferItemsEnabled()) |
6496 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().DataTransferItemListPublicName(), CustomGetterSetter::create(vm, jsDOMWindowDataTransferItemListConstructor, setJSDOMWindowDataTransferItemListConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6497 | if (RuntimeEnabledFeatures::sharedFeatures().inputEventsEnabled()) |
6498 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().InputEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowInputEventConstructor, setJSDOMWindowInputEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6499 | #if ENABLE(POINTER_EVENTS) |
6500 | if ((!downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->quirks().shouldDisablePointerEventsQuirk() && RuntimeEnabledFeatures::sharedFeatures().pointerEventsEnabled())) |
6501 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PointerEventPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPointerEventConstructor, setJSDOMWindowPointerEventConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6502 | #endif |
6503 | if (RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled()) |
6504 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ShadowRootPublicName(), CustomGetterSetter::create(vm, jsDOMWindowShadowRootConstructor, setJSDOMWindowShadowRootConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6505 | if (RuntimeEnabledFeatures::sharedFeatures().spectreGadgetsEnabled()) |
6506 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().SpectreGadgetPublicName(), CustomGetterSetter::create(vm, jsDOMWindowSpectreGadgetConstructor, setJSDOMWindowSpectreGadgetConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6507 | if (RuntimeEnabledFeatures::sharedFeatures().inputEventsEnabled()) |
6508 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().StaticRangePublicName(), CustomGetterSetter::create(vm, jsDOMWindowStaticRangeConstructor, setJSDOMWindowStaticRangeConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6509 | #if ENABLE(ATTACHMENT_ELEMENT) |
6510 | if (RuntimeEnabledFeatures::sharedFeatures().attachmentElementEnabled()) |
6511 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().HTMLAttachmentElementPublicName(), CustomGetterSetter::create(vm, jsDOMWindowHTMLAttachmentElementConstructor, setJSDOMWindowHTMLAttachmentElementConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6512 | #endif |
6513 | #if ENABLE(DATALIST_ELEMENT) |
6514 | if (RuntimeEnabledFeatures::sharedFeatures().dataListElementEnabled()) |
6515 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().HTMLDataListElementPublicName(), CustomGetterSetter::create(vm, jsDOMWindowHTMLDataListElementConstructor, setJSDOMWindowHTMLDataListElementConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6516 | #endif |
6517 | if (RuntimeEnabledFeatures::sharedFeatures().menuItemElementEnabled()) |
6518 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().HTMLMenuItemElementPublicName(), CustomGetterSetter::create(vm, jsDOMWindowHTMLMenuItemElementConstructor, setJSDOMWindowHTMLMenuItemElementConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6519 | if (RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled()) |
6520 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().HTMLSlotElementPublicName(), CustomGetterSetter::create(vm, jsDOMWindowHTMLSlotElementConstructor, setJSDOMWindowHTMLSlotElementConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6521 | if (RuntimeEnabledFeatures::sharedFeatures().imageBitmapOffscreenCanvasEnabled()) |
6522 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ImageBitmapPublicName(), CustomGetterSetter::create(vm, jsDOMWindowImageBitmapConstructor, setJSDOMWindowImageBitmapConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6523 | if (RuntimeEnabledFeatures::sharedFeatures().imageBitmapOffscreenCanvasEnabled()) |
6524 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().OffscreenCanvasPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOffscreenCanvasConstructor, setJSDOMWindowOffscreenCanvasConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6525 | if (RuntimeEnabledFeatures::sharedFeatures().imageBitmapOffscreenCanvasEnabled()) |
6526 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ImageBitmapRenderingContextPublicName(), CustomGetterSetter::create(vm, jsDOMWindowImageBitmapRenderingContextConstructor, setJSDOMWindowImageBitmapRenderingContextConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6527 | if (RuntimeEnabledFeatures::sharedFeatures().imageBitmapOffscreenCanvasEnabled()) |
6528 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().OffscreenCanvasRenderingContext2DPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOffscreenCanvasRenderingContext2DConstructor, setJSDOMWindowOffscreenCanvasRenderingContext2DConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6529 | #if ENABLE(CSS_PAINTING_API) |
6530 | if (RuntimeEnabledFeatures::sharedFeatures().cssPaintingAPIEnabled()) |
6531 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PaintRenderingContext2DPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPaintRenderingContext2DConstructor, setJSDOMWindowPaintRenderingContext2DConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6532 | #endif |
6533 | #if ENABLE(WEBGL2) |
6534 | if (RuntimeEnabledFeatures::sharedFeatures().webGL2Enabled()) |
6535 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().WebGL2RenderingContextPublicName(), CustomGetterSetter::create(vm, jsDOMWindowWebGL2RenderingContextConstructor, setJSDOMWindowWebGL2RenderingContextConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6536 | #endif |
6537 | #if ENABLE(WEBGL2) |
6538 | if (RuntimeEnabledFeatures::sharedFeatures().webGL2Enabled()) |
6539 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().WebGLVertexArrayObjectPublicName(), CustomGetterSetter::create(vm, jsDOMWindowWebGLVertexArrayObjectConstructor, setJSDOMWindowWebGLVertexArrayObjectConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6540 | #endif |
6541 | #if ENABLE(INTERSECTION_OBSERVER) |
6542 | if (RuntimeEnabledFeatures::sharedFeatures().intersectionObserverEnabled()) |
6543 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().IntersectionObserverPublicName(), CustomGetterSetter::create(vm, jsDOMWindowIntersectionObserverConstructor, setJSDOMWindowIntersectionObserverConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6544 | #endif |
6545 | #if ENABLE(INTERSECTION_OBSERVER) |
6546 | if (RuntimeEnabledFeatures::sharedFeatures().intersectionObserverEnabled()) |
6547 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().IntersectionObserverEntryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowIntersectionObserverEntryConstructor, setJSDOMWindowIntersectionObserverEntryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6548 | #endif |
6549 | if (RuntimeEnabledFeatures::sharedFeatures().performanceTimelineEnabled()) |
6550 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceEntryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceEntryConstructor, setJSDOMWindowPerformanceEntryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6551 | if (RuntimeEnabledFeatures::sharedFeatures().userTimingEnabled()) |
6552 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceMarkPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceMarkConstructor, setJSDOMWindowPerformanceMarkConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6553 | if (RuntimeEnabledFeatures::sharedFeatures().userTimingEnabled()) |
6554 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceMeasurePublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceMeasureConstructor, setJSDOMWindowPerformanceMeasureConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6555 | if (RuntimeEnabledFeatures::sharedFeatures().performanceTimelineEnabled()) |
6556 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceObserverPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceObserverConstructor, setJSDOMWindowPerformanceObserverConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6557 | if (RuntimeEnabledFeatures::sharedFeatures().performanceTimelineEnabled()) |
6558 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceObserverEntryListPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceObserverEntryListConstructor, setJSDOMWindowPerformanceObserverEntryListConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6559 | if (RuntimeEnabledFeatures::sharedFeatures().resourceTimingEnabled()) |
6560 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceResourceTimingPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceResourceTimingConstructor, setJSDOMWindowPerformanceResourceTimingConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6561 | if (RuntimeEnabledFeatures::sharedFeatures().serverTimingEnabled()) |
6562 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().PerformanceServerTimingPublicName(), CustomGetterSetter::create(vm, jsDOMWindowPerformanceServerTimingConstructor, setJSDOMWindowPerformanceServerTimingConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6563 | #if ENABLE(RESIZE_OBSERVER) |
6564 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().resizeObserverEnabled()) |
6565 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ResizeObserverPublicName(), CustomGetterSetter::create(vm, jsDOMWindowResizeObserverConstructor, setJSDOMWindowResizeObserverConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6566 | #endif |
6567 | #if ENABLE(RESIZE_OBSERVER) |
6568 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().resizeObserverEnabled()) |
6569 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ResizeObserverEntryPublicName(), CustomGetterSetter::create(vm, jsDOMWindowResizeObserverEntryConstructor, setJSDOMWindowResizeObserverEntryConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6570 | #endif |
6571 | if (RuntimeEnabledFeatures::sharedFeatures().undoManagerAPIEnabled()) |
6572 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().UndoItemPublicName(), CustomGetterSetter::create(vm, jsDOMWindowUndoItemConstructor, setJSDOMWindowUndoItemConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6573 | if (RuntimeEnabledFeatures::sharedFeatures().undoManagerAPIEnabled()) |
6574 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().UndoManagerPublicName(), CustomGetterSetter::create(vm, jsDOMWindowUndoManagerConstructor, setJSDOMWindowUndoManagerConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6575 | if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().visualViewportAPIEnabled()) |
6576 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().VisualViewportPublicName(), CustomGetterSetter::create(vm, jsDOMWindowVisualViewportConstructor, setJSDOMWindowVisualViewportConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6577 | #if ENABLE(SERVICE_WORKER) |
6578 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled())) |
6579 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ServiceWorkerPublicName(), CustomGetterSetter::create(vm, jsDOMWindowServiceWorkerConstructor, setJSDOMWindowServiceWorkerConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6580 | #endif |
6581 | #if ENABLE(SERVICE_WORKER) |
6582 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled())) |
6583 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ServiceWorkerContainerPublicName(), CustomGetterSetter::create(vm, jsDOMWindowServiceWorkerContainerConstructor, setJSDOMWindowServiceWorkerContainerConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6584 | #endif |
6585 | #if ENABLE(SERVICE_WORKER) |
6586 | if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled())) |
6587 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ServiceWorkerRegistrationPublicName(), CustomGetterSetter::create(vm, jsDOMWindowServiceWorkerRegistrationConstructor, setJSDOMWindowServiceWorkerRegistrationConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6588 | #endif |
6589 | #if ENABLE(CSS_PAINTING_API) |
6590 | if (RuntimeEnabledFeatures::sharedFeatures().cssPaintingAPIEnabled()) |
6591 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().WorkletPublicName(), CustomGetterSetter::create(vm, jsDOMWindowWorkletConstructor, setJSDOMWindowWorkletConstructor), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum))); |
6592 | #endif |
6593 | if (((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext()|| jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->hasServiceWorkerScheme()) && RuntimeEnabledFeatures::sharedFeatures().cacheAPIEnabled())) |
6594 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().cachesPublicName(), CustomGetterSetter::create(vm, jsDOMWindowCaches, nullptr), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor))); |
6595 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6596 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplayconnectPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplayconnect, setJSDOMWindowOnvrdisplayconnect), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6597 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6598 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplaydisconnectPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplaydisconnect, setJSDOMWindowOnvrdisplaydisconnect), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6599 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6600 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplayactivatePublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplayactivate, setJSDOMWindowOnvrdisplayactivate), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6601 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6602 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplaydeactivatePublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplaydeactivate, setJSDOMWindowOnvrdisplaydeactivate), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6603 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6604 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplayblurPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplayblur, setJSDOMWindowOnvrdisplayblur), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6605 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6606 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplayfocusPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplayfocus, setJSDOMWindowOnvrdisplayfocus), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6607 | if (RuntimeEnabledFeatures::sharedFeatures().webVREnabled()) |
6608 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().onvrdisplaypresentchangePublicName(), CustomGetterSetter::create(vm, jsDOMWindowOnvrdisplaypresentchange, setJSDOMWindowOnvrdisplaypresentchange), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor))); |
6609 | #if ENABLE(TOUCH_EVENTS) |
6610 | if (RuntimeEnabledFeatures::sharedFeatures().touchEventsEnabled()) |
6611 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ontouchcancelPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOntouchcancel, setJSDOMWindowOntouchcancel), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor))); |
6612 | #endif |
6613 | #if ENABLE(TOUCH_EVENTS) |
6614 | if (RuntimeEnabledFeatures::sharedFeatures().touchEventsEnabled()) |
6615 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ontouchendPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOntouchend, setJSDOMWindowOntouchend), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor))); |
6616 | #endif |
6617 | #if ENABLE(TOUCH_EVENTS) |
6618 | if (RuntimeEnabledFeatures::sharedFeatures().touchEventsEnabled()) |
6619 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ontouchmovePublicName(), CustomGetterSetter::create(vm, jsDOMWindowOntouchmove, setJSDOMWindowOntouchmove), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor))); |
6620 | #endif |
6621 | #if ENABLE(TOUCH_EVENTS) |
6622 | if (RuntimeEnabledFeatures::sharedFeatures().touchEventsEnabled()) |
6623 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ontouchstartPublicName(), CustomGetterSetter::create(vm, jsDOMWindowOntouchstart, setJSDOMWindowOntouchstart), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor))); |
6624 | #endif |
6625 | #if ENABLE(TOUCH_EVENTS) |
6626 | if (RuntimeEnabledFeatures::sharedFeatures().touchEventsEnabled()) |
6627 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ontouchforcechangePublicName(), CustomGetterSetter::create(vm, jsDOMWindowOntouchforcechange, setJSDOMWindowOntouchforcechange), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::CustomAccessor))); |
6628 | #endif |
6629 | if (RuntimeEnabledFeatures::sharedFeatures().isSecureContextAttributeEnabled()) |
6630 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().isSecureContextPublicName(), CustomGetterSetter::create(vm, jsDOMWindowIsSecureContext, nullptr), attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::CustomAccessor))); |
6631 | #if ENABLE(MEDIA_STREAM) |
6632 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MediaStreamPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowMediaStreamConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6633 | #endif |
6634 | #if ENABLE(MEDIA_STREAM) |
6635 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().MediaStreamTrackPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowMediaStreamTrackConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6636 | #endif |
6637 | #if ENABLE(WEB_RTC) |
6638 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCIceCandidatePrivateName(), CustomGetterSetter::create(vm, jsDOMWindowRTCIceCandidateConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6639 | #endif |
6640 | #if ENABLE(WEB_RTC) |
6641 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().RTCSessionDescriptionPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowRTCSessionDescriptionConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6642 | #endif |
6643 | #if ENABLE(STREAMS_API) |
6644 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ReadableByteStreamControllerPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowReadableByteStreamControllerConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6645 | #endif |
6646 | #if ENABLE(STREAMS_API) |
6647 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ReadableStreamPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowReadableStreamConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6648 | #endif |
6649 | #if ENABLE(STREAMS_API) |
6650 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ReadableStreamBYOBReaderPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowReadableStreamBYOBReaderConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6651 | #endif |
6652 | #if ENABLE(STREAMS_API) |
6653 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ReadableStreamBYOBRequestPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowReadableStreamBYOBRequestConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6654 | #endif |
6655 | #if ENABLE(STREAMS_API) |
6656 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ReadableStreamDefaultControllerPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowReadableStreamDefaultControllerConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6657 | #endif |
6658 | #if ENABLE(STREAMS_API) |
6659 | putDirectCustomAccessor(vm, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().ReadableStreamDefaultReaderPrivateName(), CustomGetterSetter::create(vm, jsDOMWindowReadableStreamDefaultReaderConstructor, nullptr), attributesForStructure(JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly)); |
6660 | #endif |
6661 | if (worldForDOMObject(*this).shadowRootIsAlwaysOpen()) |
6662 | putDirectNativeFunction(vm, this, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().collectMatchingElementsInFlatTreePublicName(), 2, jsDOMWindowInstanceFunctionCollectMatchingElementsInFlatTree, NoIntrinsic, attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::Function))); |
6663 | if (worldForDOMObject(*this).shadowRootIsAlwaysOpen()) |
6664 | putDirectNativeFunction(vm, this, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().matchingElementInFlatTreePublicName(), 2, jsDOMWindowInstanceFunctionMatchingElementInFlatTree, NoIntrinsic, attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::Function))); |
6665 | if (RuntimeEnabledFeatures::sharedFeatures().fetchAPIEnabled()) |
6666 | putDirectNativeFunction(vm, this, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().fetchPublicName(), 1, jsDOMWindowInstanceFunctionFetch, NoIntrinsic, attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::Function))); |
6667 | if ((downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->quirks().hasWebSQLSupportQuirk() || RuntimeEnabledFeatures::sharedFeatures().webSQLEnabled())) |
6668 | putDirectNativeFunction(vm, this, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().openDatabasePublicName(), 4, jsDOMWindowInstanceFunctionOpenDatabase, NoIntrinsic, attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::Function))); |
6669 | if (RuntimeEnabledFeatures::sharedFeatures().imageBitmapOffscreenCanvasEnabled()) |
6670 | putDirectNativeFunction(vm, this, static_cast<JSVMClientData*>(vm.clientData)->builtinNames().createImageBitmapPublicName(), 1, jsDOMWindowInstanceFunctionCreateImageBitmap, NoIntrinsic, attributesForStructure(static_cast<unsigned>(JSC::PropertyAttribute::Function))); |
6671 | } |
6672 | |
6673 | JSValue JSDOMWindow::getConstructor(VM& vm, const JSGlobalObject* globalObject) |
6674 | { |
6675 | return getDOMConstructor<JSDOMWindowConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); |
6676 | } |
6677 | |
6678 | template<> inline JSDOMWindow* IDLAttribute<JSDOMWindow>::cast(ExecState& state, EncodedJSValue thisValue) |
6679 | { |
6680 | auto decodedThisValue = JSValue::decode(thisValue); |
6681 | if (decodedThisValue.isUndefinedOrNull()) |
6682 | decodedThisValue = state.thisValue().toThis(&state, NotStrictMode); |
6683 | return toJSDOMWindow(state.vm(), decodedThisValue);} |
6684 | |
6685 | template<> inline JSDOMWindow* IDLOperation<JSDOMWindow>::cast(ExecState& state) |
6686 | { |
6687 | return toJSDOMWindow(state.vm(), state.thisValue().toThis(&state, NotStrictMode)); |
6688 | } |
6689 | |
6690 | EncodedJSValue jsDOMWindowConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6691 | { |
6692 | VM& vm = state->vm(); |
6693 | auto throwScope = DECLARE_THROW_SCOPE(vm); |
6694 | auto* prototype = jsDynamicCast<JSDOMWindowPrototype*>(vm, JSValue::decode(thisValue)); |
6695 | if (UNLIKELY(!prototype)) |
6696 | return throwVMTypeError(state, throwScope); |
6697 | return JSValue::encode(JSDOMWindow::getConstructor(state->vm(), prototype->globalObject())); |
6698 | } |
6699 | |
6700 | bool setJSDOMWindowConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6701 | { |
6702 | VM& vm = state->vm(); |
6703 | auto throwScope = DECLARE_THROW_SCOPE(vm); |
6704 | auto* prototype = jsDynamicCast<JSDOMWindowPrototype*>(vm, JSValue::decode(thisValue)); |
6705 | if (UNLIKELY(!prototype)) { |
6706 | throwVMTypeError(state, throwScope); |
6707 | return false; |
6708 | } |
6709 | // Shadowing a built-in constructor |
6710 | return prototype->putDirect(vm, vm.propertyNames->constructor, JSValue::decode(encodedValue)); |
6711 | } |
6712 | |
6713 | static inline JSValue jsDOMWindowWindowGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6714 | { |
6715 | UNUSED_PARAM(throwScope); |
6716 | UNUSED_PARAM(state); |
6717 | return thisObject.window(state); |
6718 | } |
6719 | |
6720 | EncodedJSValue jsDOMWindowWindow(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6721 | { |
6722 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWindowGetter>(*state, thisValue, "window" ); |
6723 | } |
6724 | |
6725 | static inline JSValue jsDOMWindowSelfGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6726 | { |
6727 | UNUSED_PARAM(throwScope); |
6728 | UNUSED_PARAM(state); |
6729 | return thisObject.self(state); |
6730 | } |
6731 | |
6732 | EncodedJSValue jsDOMWindowSelf(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6733 | { |
6734 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSelfGetter>(*state, thisValue, "self" ); |
6735 | } |
6736 | |
6737 | static inline bool setJSDOMWindowSelfSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6738 | { |
6739 | UNUSED_PARAM(throwScope); |
6740 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6741 | return false; |
6742 | // Shadowing a built-in property. |
6743 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("self" ), strlen("self" )), value); |
6744 | } |
6745 | |
6746 | bool setJSDOMWindowSelf(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6747 | { |
6748 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSelfSetter>(*state, thisValue, encodedValue, "self" ); |
6749 | } |
6750 | |
6751 | static inline JSValue jsDOMWindowDocumentGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6752 | { |
6753 | UNUSED_PARAM(throwScope); |
6754 | UNUSED_PARAM(state); |
6755 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6756 | return jsUndefined(); |
6757 | auto& impl = thisObject.wrapped(); |
6758 | JSValue result = toJS<IDLInterface<Document>>(state, *thisObject.globalObject(), throwScope, impl.document()); |
6759 | return result; |
6760 | } |
6761 | |
6762 | EncodedJSValue jsDOMWindowDocument(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6763 | { |
6764 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDocumentGetter>(*state, thisValue, "document" ); |
6765 | } |
6766 | |
6767 | static inline JSValue jsDOMWindowNameGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6768 | { |
6769 | UNUSED_PARAM(throwScope); |
6770 | UNUSED_PARAM(state); |
6771 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6772 | return jsUndefined(); |
6773 | auto& impl = thisObject.wrapped(); |
6774 | JSValue result = toJS<IDLDOMString>(state, throwScope, impl.name()); |
6775 | return result; |
6776 | } |
6777 | |
6778 | EncodedJSValue jsDOMWindowName(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6779 | { |
6780 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNameGetter>(*state, thisValue, "name" ); |
6781 | } |
6782 | |
6783 | static inline bool setJSDOMWindowNameSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6784 | { |
6785 | UNUSED_PARAM(throwScope); |
6786 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6787 | return false; |
6788 | auto& impl = thisObject.wrapped(); |
6789 | auto nativeValue = convert<IDLDOMString>(state, value); |
6790 | RETURN_IF_EXCEPTION(throwScope, false); |
6791 | AttributeSetter::call(state, throwScope, [&] { |
6792 | return impl.setName(WTFMove(nativeValue)); |
6793 | }); |
6794 | return true; |
6795 | } |
6796 | |
6797 | bool setJSDOMWindowName(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6798 | { |
6799 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNameSetter>(*state, thisValue, encodedValue, "name" ); |
6800 | } |
6801 | |
6802 | static inline JSValue jsDOMWindowLocationGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6803 | { |
6804 | UNUSED_PARAM(throwScope); |
6805 | UNUSED_PARAM(state); |
6806 | auto& impl = thisObject.wrapped(); |
6807 | JSValue result = toJS<IDLInterface<Location>>(state, *thisObject.globalObject(), throwScope, impl.location()); |
6808 | return result; |
6809 | } |
6810 | |
6811 | EncodedJSValue jsDOMWindowLocation(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6812 | { |
6813 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowLocationGetter>(*state, thisValue, "location" ); |
6814 | } |
6815 | |
6816 | static inline bool setJSDOMWindowLocationSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6817 | { |
6818 | UNUSED_PARAM(throwScope); |
6819 | auto id = Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("location" ), strlen("location" )); |
6820 | auto valueToForwardTo = thisObject.get(&state, id); |
6821 | RETURN_IF_EXCEPTION(throwScope, false); |
6822 | if (UNLIKELY(!valueToForwardTo.isObject())) { |
6823 | throwTypeError(&state, throwScope); |
6824 | return false; |
6825 | } |
6826 | auto forwardId = Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("href" ), strlen("href" )); |
6827 | PutPropertySlot slot(valueToForwardTo, false); |
6828 | asObject(valueToForwardTo)->methodTable(state.vm())->put(asObject(valueToForwardTo), &state, forwardId, value, slot); |
6829 | RETURN_IF_EXCEPTION(throwScope, false); |
6830 | return true; |
6831 | } |
6832 | |
6833 | bool setJSDOMWindowLocation(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6834 | { |
6835 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowLocationSetter>(*state, thisValue, encodedValue, "location" ); |
6836 | } |
6837 | |
6838 | static inline JSValue jsDOMWindowHistoryGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6839 | { |
6840 | UNUSED_PARAM(throwScope); |
6841 | UNUSED_PARAM(state); |
6842 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6843 | return jsUndefined(); |
6844 | auto& impl = thisObject.wrapped(); |
6845 | JSValue result = toJS<IDLInterface<History>>(state, *thisObject.globalObject(), throwScope, impl.history()); |
6846 | return result; |
6847 | } |
6848 | |
6849 | EncodedJSValue jsDOMWindowHistory(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6850 | { |
6851 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHistoryGetter>(*state, thisValue, "history" ); |
6852 | } |
6853 | |
6854 | static inline JSValue jsDOMWindowCustomElementsGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6855 | { |
6856 | UNUSED_PARAM(throwScope); |
6857 | UNUSED_PARAM(state); |
6858 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6859 | return jsUndefined(); |
6860 | auto& impl = thisObject.wrapped(); |
6861 | JSValue result = toJS<IDLInterface<CustomElementRegistry>>(state, *thisObject.globalObject(), throwScope, impl.ensureCustomElementRegistry()); |
6862 | return result; |
6863 | } |
6864 | |
6865 | EncodedJSValue jsDOMWindowCustomElements(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6866 | { |
6867 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCustomElementsGetter>(*state, thisValue, "customElements" ); |
6868 | } |
6869 | |
6870 | static inline JSValue jsDOMWindowLocationbarGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6871 | { |
6872 | UNUSED_PARAM(throwScope); |
6873 | UNUSED_PARAM(state); |
6874 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6875 | return jsUndefined(); |
6876 | auto& impl = thisObject.wrapped(); |
6877 | JSValue result = toJS<IDLInterface<BarProp>>(state, *thisObject.globalObject(), throwScope, impl.locationbar()); |
6878 | return result; |
6879 | } |
6880 | |
6881 | EncodedJSValue jsDOMWindowLocationbar(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6882 | { |
6883 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowLocationbarGetter>(*state, thisValue, "locationbar" ); |
6884 | } |
6885 | |
6886 | static inline bool setJSDOMWindowLocationbarSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6887 | { |
6888 | UNUSED_PARAM(throwScope); |
6889 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6890 | return false; |
6891 | // Shadowing a built-in property. |
6892 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("locationbar" ), strlen("locationbar" )), value); |
6893 | } |
6894 | |
6895 | bool setJSDOMWindowLocationbar(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6896 | { |
6897 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowLocationbarSetter>(*state, thisValue, encodedValue, "locationbar" ); |
6898 | } |
6899 | |
6900 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6901 | { |
6902 | UNUSED_PARAM(throwScope); |
6903 | UNUSED_PARAM(state); |
6904 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6905 | return jsUndefined(); |
6906 | auto& impl = thisObject.wrapped(); |
6907 | JSValue result = toJS<IDLInterface<BarProp>>(state, *thisObject.globalObject(), throwScope, impl.menubar()); |
6908 | return result; |
6909 | } |
6910 | |
6911 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
6912 | { |
6913 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMenubarGetter>(*state, thisValue, "menubar" ); |
6914 | } |
6915 | |
6916 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6917 | { |
6918 | UNUSED_PARAM(throwScope); |
6919 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6920 | return false; |
6921 | // Shadowing a built-in property. |
6922 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("menubar" ), strlen("menubar" )), value); |
6923 | } |
6924 | |
6925 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6926 | { |
6927 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMenubarSetter>(*state, thisValue, encodedValue, "menubar" ); |
6928 | } |
6929 | |
6930 | static inline JSValue jsDOMWindowPersonalbarGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6931 | { |
6932 | UNUSED_PARAM(throwScope); |
6933 | UNUSED_PARAM(state); |
6934 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6935 | return jsUndefined(); |
6936 | auto& impl = thisObject.wrapped(); |
6937 | JSValue result = toJS<IDLInterface<BarProp>>(state, *thisObject.globalObject(), throwScope, impl.personalbar()); |
6938 | return result; |
6939 | } |
6940 | |
6941 | EncodedJSValue jsDOMWindowPersonalbar(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6942 | { |
6943 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPersonalbarGetter>(*state, thisValue, "personalbar" ); |
6944 | } |
6945 | |
6946 | static inline bool setJSDOMWindowPersonalbarSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6947 | { |
6948 | UNUSED_PARAM(throwScope); |
6949 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6950 | return false; |
6951 | // Shadowing a built-in property. |
6952 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("personalbar" ), strlen("personalbar" )), value); |
6953 | } |
6954 | |
6955 | bool setJSDOMWindowPersonalbar(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6956 | { |
6957 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPersonalbarSetter>(*state, thisValue, encodedValue, "personalbar" ); |
6958 | } |
6959 | |
6960 | static inline JSValue jsDOMWindowScrollbarsGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6961 | { |
6962 | UNUSED_PARAM(throwScope); |
6963 | UNUSED_PARAM(state); |
6964 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6965 | return jsUndefined(); |
6966 | auto& impl = thisObject.wrapped(); |
6967 | JSValue result = toJS<IDLInterface<BarProp>>(state, *thisObject.globalObject(), throwScope, impl.scrollbars()); |
6968 | return result; |
6969 | } |
6970 | |
6971 | EncodedJSValue jsDOMWindowScrollbars(ExecState* state, EncodedJSValue thisValue, PropertyName) |
6972 | { |
6973 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScrollbarsGetter>(*state, thisValue, "scrollbars" ); |
6974 | } |
6975 | |
6976 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
6977 | { |
6978 | UNUSED_PARAM(throwScope); |
6979 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6980 | return false; |
6981 | // Shadowing a built-in property. |
6982 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("scrollbars" ), strlen("scrollbars" )), value); |
6983 | } |
6984 | |
6985 | bool setJSDOMWindowScrollbars(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
6986 | { |
6987 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScrollbarsSetter>(*state, thisValue, encodedValue, "scrollbars" ); |
6988 | } |
6989 | |
6990 | static inline JSValue jsDOMWindowStatusbarGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
6991 | { |
6992 | UNUSED_PARAM(throwScope); |
6993 | UNUSED_PARAM(state); |
6994 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
6995 | return jsUndefined(); |
6996 | auto& impl = thisObject.wrapped(); |
6997 | JSValue result = toJS<IDLInterface<BarProp>>(state, *thisObject.globalObject(), throwScope, impl.statusbar()); |
6998 | return result; |
6999 | } |
7000 | |
7001 | EncodedJSValue jsDOMWindowStatusbar(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7002 | { |
7003 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStatusbarGetter>(*state, thisValue, "statusbar" ); |
7004 | } |
7005 | |
7006 | static inline bool setJSDOMWindowStatusbarSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7007 | { |
7008 | UNUSED_PARAM(throwScope); |
7009 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7010 | return false; |
7011 | // Shadowing a built-in property. |
7012 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("statusbar" ), strlen("statusbar" )), value); |
7013 | } |
7014 | |
7015 | bool setJSDOMWindowStatusbar(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7016 | { |
7017 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStatusbarSetter>(*state, thisValue, encodedValue, "statusbar" ); |
7018 | } |
7019 | |
7020 | static inline JSValue jsDOMWindowToolbarGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7021 | { |
7022 | UNUSED_PARAM(throwScope); |
7023 | UNUSED_PARAM(state); |
7024 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7025 | return jsUndefined(); |
7026 | auto& impl = thisObject.wrapped(); |
7027 | JSValue result = toJS<IDLInterface<BarProp>>(state, *thisObject.globalObject(), throwScope, impl.toolbar()); |
7028 | return result; |
7029 | } |
7030 | |
7031 | EncodedJSValue jsDOMWindowToolbar(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7032 | { |
7033 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowToolbarGetter>(*state, thisValue, "toolbar" ); |
7034 | } |
7035 | |
7036 | static inline bool setJSDOMWindowToolbarSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7037 | { |
7038 | UNUSED_PARAM(throwScope); |
7039 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7040 | return false; |
7041 | // Shadowing a built-in property. |
7042 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("toolbar" ), strlen("toolbar" )), value); |
7043 | } |
7044 | |
7045 | bool setJSDOMWindowToolbar(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7046 | { |
7047 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowToolbarSetter>(*state, thisValue, encodedValue, "toolbar" ); |
7048 | } |
7049 | |
7050 | static inline JSValue jsDOMWindowStatusGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7051 | { |
7052 | UNUSED_PARAM(throwScope); |
7053 | UNUSED_PARAM(state); |
7054 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7055 | return jsUndefined(); |
7056 | auto& impl = thisObject.wrapped(); |
7057 | JSValue result = toJS<IDLDOMString>(state, throwScope, impl.status()); |
7058 | return result; |
7059 | } |
7060 | |
7061 | EncodedJSValue jsDOMWindowStatus(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7062 | { |
7063 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStatusGetter>(*state, thisValue, "status" ); |
7064 | } |
7065 | |
7066 | static inline bool setJSDOMWindowStatusSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7067 | { |
7068 | UNUSED_PARAM(throwScope); |
7069 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7070 | return false; |
7071 | auto& impl = thisObject.wrapped(); |
7072 | auto nativeValue = convert<IDLDOMString>(state, value); |
7073 | RETURN_IF_EXCEPTION(throwScope, false); |
7074 | AttributeSetter::call(state, throwScope, [&] { |
7075 | return impl.setStatus(WTFMove(nativeValue)); |
7076 | }); |
7077 | return true; |
7078 | } |
7079 | |
7080 | bool setJSDOMWindowStatus(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7081 | { |
7082 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStatusSetter>(*state, thisValue, encodedValue, "status" ); |
7083 | } |
7084 | |
7085 | static inline JSValue jsDOMWindowClosedGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7086 | { |
7087 | UNUSED_PARAM(throwScope); |
7088 | UNUSED_PARAM(state); |
7089 | auto& impl = thisObject.wrapped(); |
7090 | JSValue result = toJS<IDLBoolean>(state, throwScope, impl.closed()); |
7091 | return result; |
7092 | } |
7093 | |
7094 | EncodedJSValue jsDOMWindowClosed(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7095 | { |
7096 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowClosedGetter>(*state, thisValue, "closed" ); |
7097 | } |
7098 | |
7099 | static inline JSValue jsDOMWindowFramesGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7100 | { |
7101 | UNUSED_PARAM(throwScope); |
7102 | UNUSED_PARAM(state); |
7103 | return thisObject.frames(state); |
7104 | } |
7105 | |
7106 | EncodedJSValue jsDOMWindowFrames(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7107 | { |
7108 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFramesGetter>(*state, thisValue, "frames" ); |
7109 | } |
7110 | |
7111 | static inline bool setJSDOMWindowFramesSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7112 | { |
7113 | UNUSED_PARAM(throwScope); |
7114 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7115 | return false; |
7116 | // Shadowing a built-in property. |
7117 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("frames" ), strlen("frames" )), value); |
7118 | } |
7119 | |
7120 | bool setJSDOMWindowFrames(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7121 | { |
7122 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFramesSetter>(*state, thisValue, encodedValue, "frames" ); |
7123 | } |
7124 | |
7125 | static inline JSValue jsDOMWindowLengthGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7126 | { |
7127 | UNUSED_PARAM(throwScope); |
7128 | UNUSED_PARAM(state); |
7129 | auto& impl = thisObject.wrapped(); |
7130 | JSValue result = toJS<IDLUnsignedLong>(state, throwScope, impl.length()); |
7131 | return result; |
7132 | } |
7133 | |
7134 | EncodedJSValue jsDOMWindowLength(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7135 | { |
7136 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowLengthGetter>(*state, thisValue, "length" ); |
7137 | } |
7138 | |
7139 | static inline bool setJSDOMWindowLengthSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7140 | { |
7141 | UNUSED_PARAM(throwScope); |
7142 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7143 | return false; |
7144 | // Shadowing a built-in property. |
7145 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("length" ), strlen("length" )), value); |
7146 | } |
7147 | |
7148 | bool setJSDOMWindowLength(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7149 | { |
7150 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowLengthSetter>(*state, thisValue, encodedValue, "length" ); |
7151 | } |
7152 | |
7153 | static inline JSValue jsDOMWindowTopGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7154 | { |
7155 | UNUSED_PARAM(throwScope); |
7156 | UNUSED_PARAM(state); |
7157 | auto& impl = thisObject.wrapped(); |
7158 | JSValue result = toJS<IDLNullable<IDLInterface<WindowProxy>>>(state, *thisObject.globalObject(), throwScope, impl.top()); |
7159 | return result; |
7160 | } |
7161 | |
7162 | EncodedJSValue jsDOMWindowTop(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7163 | { |
7164 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTopGetter>(*state, thisValue, "top" ); |
7165 | } |
7166 | |
7167 | static inline JSValue jsDOMWindowOpenerGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7168 | { |
7169 | UNUSED_PARAM(throwScope); |
7170 | UNUSED_PARAM(state); |
7171 | auto& impl = thisObject.wrapped(); |
7172 | JSValue result = toJS<IDLNullable<IDLInterface<WindowProxy>>>(state, *thisObject.globalObject(), throwScope, impl.opener()); |
7173 | return result; |
7174 | } |
7175 | |
7176 | EncodedJSValue jsDOMWindowOpener(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7177 | { |
7178 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOpenerGetter>(*state, thisValue, "opener" ); |
7179 | } |
7180 | |
7181 | static inline bool setJSDOMWindowOpenerSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7182 | { |
7183 | UNUSED_PARAM(throwScope); |
7184 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7185 | return false; |
7186 | thisObject.setOpener(state, value); |
7187 | return true; |
7188 | } |
7189 | |
7190 | bool setJSDOMWindowOpener(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7191 | { |
7192 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOpenerSetter>(*state, thisValue, encodedValue, "opener" ); |
7193 | } |
7194 | |
7195 | static inline JSValue jsDOMWindowParentGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7196 | { |
7197 | UNUSED_PARAM(throwScope); |
7198 | UNUSED_PARAM(state); |
7199 | auto& impl = thisObject.wrapped(); |
7200 | JSValue result = toJS<IDLNullable<IDLInterface<WindowProxy>>>(state, *thisObject.globalObject(), throwScope, impl.parent()); |
7201 | return result; |
7202 | } |
7203 | |
7204 | EncodedJSValue jsDOMWindowParent(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7205 | { |
7206 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowParentGetter>(*state, thisValue, "parent" ); |
7207 | } |
7208 | |
7209 | static inline bool setJSDOMWindowParentSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7210 | { |
7211 | UNUSED_PARAM(throwScope); |
7212 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7213 | return false; |
7214 | // Shadowing a built-in property. |
7215 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("parent" ), strlen("parent" )), value); |
7216 | } |
7217 | |
7218 | bool setJSDOMWindowParent(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7219 | { |
7220 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowParentSetter>(*state, thisValue, encodedValue, "parent" ); |
7221 | } |
7222 | |
7223 | static inline JSValue jsDOMWindowFrameElementGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7224 | { |
7225 | UNUSED_PARAM(throwScope); |
7226 | UNUSED_PARAM(state); |
7227 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7228 | return jsUndefined(); |
7229 | auto& impl = thisObject.wrapped(); |
7230 | JSValue result = toJS<IDLNullable<IDLInterface<Element>>>(state, *thisObject.globalObject(), throwScope, BindingSecurity::checkSecurityForNode(state, impl.frameElement())); |
7231 | return result; |
7232 | } |
7233 | |
7234 | EncodedJSValue jsDOMWindowFrameElement(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7235 | { |
7236 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFrameElementGetter>(*state, thisValue, "frameElement" ); |
7237 | } |
7238 | |
7239 | static inline JSValue jsDOMWindowNavigatorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7240 | { |
7241 | UNUSED_PARAM(throwScope); |
7242 | UNUSED_PARAM(state); |
7243 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7244 | return jsUndefined(); |
7245 | auto& impl = thisObject.wrapped(); |
7246 | JSValue result = toJS<IDLInterface<Navigator>>(state, *thisObject.globalObject(), throwScope, impl.navigator()); |
7247 | return result; |
7248 | } |
7249 | |
7250 | EncodedJSValue jsDOMWindowNavigator(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7251 | { |
7252 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNavigatorGetter>(*state, thisValue, "navigator" ); |
7253 | } |
7254 | |
7255 | static inline JSValue jsDOMWindowApplicationCacheGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7256 | { |
7257 | UNUSED_PARAM(throwScope); |
7258 | UNUSED_PARAM(state); |
7259 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7260 | return jsUndefined(); |
7261 | auto& impl = thisObject.wrapped(); |
7262 | JSValue result = toJS<IDLInterface<DOMApplicationCache>>(state, *thisObject.globalObject(), throwScope, impl.applicationCache()); |
7263 | return result; |
7264 | } |
7265 | |
7266 | EncodedJSValue jsDOMWindowApplicationCache(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7267 | { |
7268 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowApplicationCacheGetter>(*state, thisValue, "applicationCache" ); |
7269 | } |
7270 | |
7271 | static inline JSValue jsDOMWindowSessionStorageGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7272 | { |
7273 | UNUSED_PARAM(throwScope); |
7274 | UNUSED_PARAM(state); |
7275 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7276 | return jsUndefined(); |
7277 | auto& impl = thisObject.wrapped(); |
7278 | JSValue result = toJS<IDLInterface<Storage>>(state, *thisObject.globalObject(), throwScope, impl.sessionStorage()); |
7279 | return result; |
7280 | } |
7281 | |
7282 | EncodedJSValue jsDOMWindowSessionStorage(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7283 | { |
7284 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSessionStorageGetter>(*state, thisValue, "sessionStorage" ); |
7285 | } |
7286 | |
7287 | static inline JSValue jsDOMWindowLocalStorageGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7288 | { |
7289 | UNUSED_PARAM(throwScope); |
7290 | UNUSED_PARAM(state); |
7291 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7292 | return jsUndefined(); |
7293 | auto& impl = thisObject.wrapped(); |
7294 | JSValue result = toJS<IDLInterface<Storage>>(state, *thisObject.globalObject(), throwScope, impl.localStorage()); |
7295 | return result; |
7296 | } |
7297 | |
7298 | EncodedJSValue jsDOMWindowLocalStorage(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7299 | { |
7300 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowLocalStorageGetter>(*state, thisValue, "localStorage" ); |
7301 | } |
7302 | |
7303 | static inline JSValue jsDOMWindowScreenGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7304 | { |
7305 | UNUSED_PARAM(throwScope); |
7306 | UNUSED_PARAM(state); |
7307 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7308 | return jsUndefined(); |
7309 | auto& impl = thisObject.wrapped(); |
7310 | JSValue result = toJS<IDLInterface<Screen>>(state, *thisObject.globalObject(), throwScope, impl.screen()); |
7311 | return result; |
7312 | } |
7313 | |
7314 | EncodedJSValue jsDOMWindowScreen(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7315 | { |
7316 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenGetter>(*state, thisValue, "screen" ); |
7317 | } |
7318 | |
7319 | static inline bool setJSDOMWindowScreenSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7320 | { |
7321 | UNUSED_PARAM(throwScope); |
7322 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7323 | return false; |
7324 | // Shadowing a built-in property. |
7325 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("screen" ), strlen("screen" )), value); |
7326 | } |
7327 | |
7328 | bool setJSDOMWindowScreen(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7329 | { |
7330 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenSetter>(*state, thisValue, encodedValue, "screen" ); |
7331 | } |
7332 | |
7333 | static inline JSValue jsDOMWindowInnerHeightGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7334 | { |
7335 | UNUSED_PARAM(throwScope); |
7336 | UNUSED_PARAM(state); |
7337 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7338 | return jsUndefined(); |
7339 | auto& impl = thisObject.wrapped(); |
7340 | JSValue result = toJS<IDLLong>(state, throwScope, impl.innerHeight()); |
7341 | return result; |
7342 | } |
7343 | |
7344 | EncodedJSValue jsDOMWindowInnerHeight(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7345 | { |
7346 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowInnerHeightGetter>(*state, thisValue, "innerHeight" ); |
7347 | } |
7348 | |
7349 | static inline bool setJSDOMWindowInnerHeightSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7350 | { |
7351 | UNUSED_PARAM(throwScope); |
7352 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7353 | return false; |
7354 | // Shadowing a built-in property. |
7355 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("innerHeight" ), strlen("innerHeight" )), value); |
7356 | } |
7357 | |
7358 | bool setJSDOMWindowInnerHeight(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7359 | { |
7360 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowInnerHeightSetter>(*state, thisValue, encodedValue, "innerHeight" ); |
7361 | } |
7362 | |
7363 | static inline JSValue jsDOMWindowInnerWidthGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7364 | { |
7365 | UNUSED_PARAM(throwScope); |
7366 | UNUSED_PARAM(state); |
7367 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7368 | return jsUndefined(); |
7369 | auto& impl = thisObject.wrapped(); |
7370 | JSValue result = toJS<IDLLong>(state, throwScope, impl.innerWidth()); |
7371 | return result; |
7372 | } |
7373 | |
7374 | EncodedJSValue jsDOMWindowInnerWidth(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7375 | { |
7376 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowInnerWidthGetter>(*state, thisValue, "innerWidth" ); |
7377 | } |
7378 | |
7379 | static inline bool setJSDOMWindowInnerWidthSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7380 | { |
7381 | UNUSED_PARAM(throwScope); |
7382 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7383 | return false; |
7384 | // Shadowing a built-in property. |
7385 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("innerWidth" ), strlen("innerWidth" )), value); |
7386 | } |
7387 | |
7388 | bool setJSDOMWindowInnerWidth(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7389 | { |
7390 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowInnerWidthSetter>(*state, thisValue, encodedValue, "innerWidth" ); |
7391 | } |
7392 | |
7393 | static inline JSValue jsDOMWindowScrollXGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7394 | { |
7395 | UNUSED_PARAM(throwScope); |
7396 | UNUSED_PARAM(state); |
7397 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7398 | return jsUndefined(); |
7399 | auto& impl = thisObject.wrapped(); |
7400 | JSValue result = toJS<IDLDouble>(state, throwScope, impl.scrollX()); |
7401 | return result; |
7402 | } |
7403 | |
7404 | EncodedJSValue jsDOMWindowScrollX(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7405 | { |
7406 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScrollXGetter>(*state, thisValue, "scrollX" ); |
7407 | } |
7408 | |
7409 | static inline bool setJSDOMWindowScrollXSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7410 | { |
7411 | UNUSED_PARAM(throwScope); |
7412 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7413 | return false; |
7414 | // Shadowing a built-in property. |
7415 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("scrollX" ), strlen("scrollX" )), value); |
7416 | } |
7417 | |
7418 | bool setJSDOMWindowScrollX(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7419 | { |
7420 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScrollXSetter>(*state, thisValue, encodedValue, "scrollX" ); |
7421 | } |
7422 | |
7423 | static inline JSValue jsDOMWindowPageXOffsetGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7424 | { |
7425 | UNUSED_PARAM(throwScope); |
7426 | UNUSED_PARAM(state); |
7427 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7428 | return jsUndefined(); |
7429 | auto& impl = thisObject.wrapped(); |
7430 | JSValue result = toJS<IDLDouble>(state, throwScope, impl.scrollX()); |
7431 | return result; |
7432 | } |
7433 | |
7434 | EncodedJSValue jsDOMWindowPageXOffset(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7435 | { |
7436 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPageXOffsetGetter>(*state, thisValue, "pageXOffset" ); |
7437 | } |
7438 | |
7439 | static inline bool setJSDOMWindowPageXOffsetSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7440 | { |
7441 | UNUSED_PARAM(throwScope); |
7442 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7443 | return false; |
7444 | // Shadowing a built-in property. |
7445 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("pageXOffset" ), strlen("pageXOffset" )), value); |
7446 | } |
7447 | |
7448 | bool setJSDOMWindowPageXOffset(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7449 | { |
7450 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPageXOffsetSetter>(*state, thisValue, encodedValue, "pageXOffset" ); |
7451 | } |
7452 | |
7453 | static inline JSValue jsDOMWindowScrollYGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7454 | { |
7455 | UNUSED_PARAM(throwScope); |
7456 | UNUSED_PARAM(state); |
7457 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7458 | return jsUndefined(); |
7459 | auto& impl = thisObject.wrapped(); |
7460 | JSValue result = toJS<IDLDouble>(state, throwScope, impl.scrollY()); |
7461 | return result; |
7462 | } |
7463 | |
7464 | EncodedJSValue jsDOMWindowScrollY(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7465 | { |
7466 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScrollYGetter>(*state, thisValue, "scrollY" ); |
7467 | } |
7468 | |
7469 | static inline bool setJSDOMWindowScrollYSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7470 | { |
7471 | UNUSED_PARAM(throwScope); |
7472 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7473 | return false; |
7474 | // Shadowing a built-in property. |
7475 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("scrollY" ), strlen("scrollY" )), value); |
7476 | } |
7477 | |
7478 | bool setJSDOMWindowScrollY(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7479 | { |
7480 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScrollYSetter>(*state, thisValue, encodedValue, "scrollY" ); |
7481 | } |
7482 | |
7483 | static inline JSValue jsDOMWindowPageYOffsetGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7484 | { |
7485 | UNUSED_PARAM(throwScope); |
7486 | UNUSED_PARAM(state); |
7487 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7488 | return jsUndefined(); |
7489 | auto& impl = thisObject.wrapped(); |
7490 | JSValue result = toJS<IDLDouble>(state, throwScope, impl.scrollY()); |
7491 | return result; |
7492 | } |
7493 | |
7494 | EncodedJSValue jsDOMWindowPageYOffset(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7495 | { |
7496 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPageYOffsetGetter>(*state, thisValue, "pageYOffset" ); |
7497 | } |
7498 | |
7499 | static inline bool setJSDOMWindowPageYOffsetSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7500 | { |
7501 | UNUSED_PARAM(throwScope); |
7502 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7503 | return false; |
7504 | // Shadowing a built-in property. |
7505 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("pageYOffset" ), strlen("pageYOffset" )), value); |
7506 | } |
7507 | |
7508 | bool setJSDOMWindowPageYOffset(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7509 | { |
7510 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPageYOffsetSetter>(*state, thisValue, encodedValue, "pageYOffset" ); |
7511 | } |
7512 | |
7513 | static inline JSValue jsDOMWindowVisualViewportGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7514 | { |
7515 | UNUSED_PARAM(throwScope); |
7516 | UNUSED_PARAM(state); |
7517 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7518 | return jsUndefined(); |
7519 | auto& impl = thisObject.wrapped(); |
7520 | JSValue result = toJS<IDLInterface<VisualViewport>>(state, *thisObject.globalObject(), throwScope, impl.visualViewport()); |
7521 | return result; |
7522 | } |
7523 | |
7524 | EncodedJSValue jsDOMWindowVisualViewport(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7525 | { |
7526 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVisualViewportGetter>(*state, thisValue, "visualViewport" ); |
7527 | } |
7528 | |
7529 | static inline bool setJSDOMWindowVisualViewportSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7530 | { |
7531 | UNUSED_PARAM(throwScope); |
7532 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7533 | return false; |
7534 | // Shadowing a built-in property. |
7535 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("visualViewport" ), strlen("visualViewport" )), value); |
7536 | } |
7537 | |
7538 | bool setJSDOMWindowVisualViewport(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7539 | { |
7540 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVisualViewportSetter>(*state, thisValue, encodedValue, "visualViewport" ); |
7541 | } |
7542 | |
7543 | static inline JSValue jsDOMWindowScreenXGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7544 | { |
7545 | UNUSED_PARAM(throwScope); |
7546 | UNUSED_PARAM(state); |
7547 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7548 | return jsUndefined(); |
7549 | auto& impl = thisObject.wrapped(); |
7550 | JSValue result = toJS<IDLLong>(state, throwScope, impl.screenX()); |
7551 | return result; |
7552 | } |
7553 | |
7554 | EncodedJSValue jsDOMWindowScreenX(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7555 | { |
7556 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenXGetter>(*state, thisValue, "screenX" ); |
7557 | } |
7558 | |
7559 | static inline bool setJSDOMWindowScreenXSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7560 | { |
7561 | UNUSED_PARAM(throwScope); |
7562 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7563 | return false; |
7564 | // Shadowing a built-in property. |
7565 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("screenX" ), strlen("screenX" )), value); |
7566 | } |
7567 | |
7568 | bool setJSDOMWindowScreenX(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7569 | { |
7570 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenXSetter>(*state, thisValue, encodedValue, "screenX" ); |
7571 | } |
7572 | |
7573 | static inline JSValue jsDOMWindowScreenYGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7574 | { |
7575 | UNUSED_PARAM(throwScope); |
7576 | UNUSED_PARAM(state); |
7577 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7578 | return jsUndefined(); |
7579 | auto& impl = thisObject.wrapped(); |
7580 | JSValue result = toJS<IDLLong>(state, throwScope, impl.screenY()); |
7581 | return result; |
7582 | } |
7583 | |
7584 | EncodedJSValue jsDOMWindowScreenY(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7585 | { |
7586 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenYGetter>(*state, thisValue, "screenY" ); |
7587 | } |
7588 | |
7589 | static inline bool setJSDOMWindowScreenYSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7590 | { |
7591 | UNUSED_PARAM(throwScope); |
7592 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7593 | return false; |
7594 | // Shadowing a built-in property. |
7595 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("screenY" ), strlen("screenY" )), value); |
7596 | } |
7597 | |
7598 | bool setJSDOMWindowScreenY(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7599 | { |
7600 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenYSetter>(*state, thisValue, encodedValue, "screenY" ); |
7601 | } |
7602 | |
7603 | static inline JSValue jsDOMWindowOuterWidthGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7604 | { |
7605 | UNUSED_PARAM(throwScope); |
7606 | UNUSED_PARAM(state); |
7607 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7608 | return jsUndefined(); |
7609 | auto& impl = thisObject.wrapped(); |
7610 | JSValue result = toJS<IDLLong>(state, throwScope, impl.outerWidth()); |
7611 | return result; |
7612 | } |
7613 | |
7614 | EncodedJSValue jsDOMWindowOuterWidth(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7615 | { |
7616 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOuterWidthGetter>(*state, thisValue, "outerWidth" ); |
7617 | } |
7618 | |
7619 | static inline bool setJSDOMWindowOuterWidthSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7620 | { |
7621 | UNUSED_PARAM(throwScope); |
7622 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7623 | return false; |
7624 | // Shadowing a built-in property. |
7625 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("outerWidth" ), strlen("outerWidth" )), value); |
7626 | } |
7627 | |
7628 | bool setJSDOMWindowOuterWidth(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7629 | { |
7630 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOuterWidthSetter>(*state, thisValue, encodedValue, "outerWidth" ); |
7631 | } |
7632 | |
7633 | static inline JSValue jsDOMWindowOuterHeightGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7634 | { |
7635 | UNUSED_PARAM(throwScope); |
7636 | UNUSED_PARAM(state); |
7637 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7638 | return jsUndefined(); |
7639 | auto& impl = thisObject.wrapped(); |
7640 | JSValue result = toJS<IDLLong>(state, throwScope, impl.outerHeight()); |
7641 | return result; |
7642 | } |
7643 | |
7644 | EncodedJSValue jsDOMWindowOuterHeight(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7645 | { |
7646 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOuterHeightGetter>(*state, thisValue, "outerHeight" ); |
7647 | } |
7648 | |
7649 | static inline bool setJSDOMWindowOuterHeightSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7650 | { |
7651 | UNUSED_PARAM(throwScope); |
7652 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7653 | return false; |
7654 | // Shadowing a built-in property. |
7655 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("outerHeight" ), strlen("outerHeight" )), value); |
7656 | } |
7657 | |
7658 | bool setJSDOMWindowOuterHeight(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7659 | { |
7660 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOuterHeightSetter>(*state, thisValue, encodedValue, "outerHeight" ); |
7661 | } |
7662 | |
7663 | static inline JSValue jsDOMWindowDevicePixelRatioGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7664 | { |
7665 | UNUSED_PARAM(throwScope); |
7666 | UNUSED_PARAM(state); |
7667 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7668 | return jsUndefined(); |
7669 | auto& impl = thisObject.wrapped(); |
7670 | JSValue result = toJS<IDLDouble>(state, throwScope, impl.devicePixelRatio()); |
7671 | return result; |
7672 | } |
7673 | |
7674 | EncodedJSValue jsDOMWindowDevicePixelRatio(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7675 | { |
7676 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDevicePixelRatioGetter>(*state, thisValue, "devicePixelRatio" ); |
7677 | } |
7678 | |
7679 | static inline bool setJSDOMWindowDevicePixelRatioSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7680 | { |
7681 | UNUSED_PARAM(throwScope); |
7682 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7683 | return false; |
7684 | // Shadowing a built-in property. |
7685 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("devicePixelRatio" ), strlen("devicePixelRatio" )), value); |
7686 | } |
7687 | |
7688 | bool setJSDOMWindowDevicePixelRatio(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7689 | { |
7690 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDevicePixelRatioSetter>(*state, thisValue, encodedValue, "devicePixelRatio" ); |
7691 | } |
7692 | |
7693 | #if ENABLE(ORIENTATION_EVENTS) |
7694 | static inline JSValue jsDOMWindowOrientationGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7695 | { |
7696 | UNUSED_PARAM(throwScope); |
7697 | UNUSED_PARAM(state); |
7698 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7699 | return jsUndefined(); |
7700 | auto& impl = thisObject.wrapped(); |
7701 | JSValue result = toJS<IDLLong>(state, throwScope, impl.orientation()); |
7702 | return result; |
7703 | } |
7704 | |
7705 | EncodedJSValue jsDOMWindowOrientation(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7706 | { |
7707 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOrientationGetter>(*state, thisValue, "orientation" ); |
7708 | } |
7709 | |
7710 | #endif |
7711 | |
7712 | static inline JSValue jsDOMWindowEventGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7713 | { |
7714 | UNUSED_PARAM(throwScope); |
7715 | UNUSED_PARAM(state); |
7716 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7717 | return jsUndefined(); |
7718 | return thisObject.event(state); |
7719 | } |
7720 | |
7721 | EncodedJSValue jsDOMWindowEvent(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7722 | { |
7723 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowEventGetter>(*state, thisValue, "event" ); |
7724 | } |
7725 | |
7726 | static inline bool setJSDOMWindowEventSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7727 | { |
7728 | UNUSED_PARAM(throwScope); |
7729 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7730 | return false; |
7731 | // Shadowing a built-in property. |
7732 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("event" ), strlen("event" )), value); |
7733 | } |
7734 | |
7735 | bool setJSDOMWindowEvent(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7736 | { |
7737 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowEventSetter>(*state, thisValue, encodedValue, "event" ); |
7738 | } |
7739 | |
7740 | static inline JSValue jsDOMWindowDefaultStatusGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7741 | { |
7742 | UNUSED_PARAM(throwScope); |
7743 | UNUSED_PARAM(state); |
7744 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7745 | return jsUndefined(); |
7746 | auto& impl = thisObject.wrapped(); |
7747 | JSValue result = toJS<IDLDOMString>(state, throwScope, impl.defaultStatus()); |
7748 | return result; |
7749 | } |
7750 | |
7751 | EncodedJSValue jsDOMWindowDefaultStatus(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7752 | { |
7753 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDefaultStatusGetter>(*state, thisValue, "defaultStatus" ); |
7754 | } |
7755 | |
7756 | static inline bool setJSDOMWindowDefaultStatusSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7757 | { |
7758 | UNUSED_PARAM(throwScope); |
7759 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7760 | return false; |
7761 | auto& impl = thisObject.wrapped(); |
7762 | auto nativeValue = convert<IDLDOMString>(state, value); |
7763 | RETURN_IF_EXCEPTION(throwScope, false); |
7764 | AttributeSetter::call(state, throwScope, [&] { |
7765 | return impl.setDefaultStatus(WTFMove(nativeValue)); |
7766 | }); |
7767 | return true; |
7768 | } |
7769 | |
7770 | bool setJSDOMWindowDefaultStatus(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7771 | { |
7772 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDefaultStatusSetter>(*state, thisValue, encodedValue, "defaultStatus" ); |
7773 | } |
7774 | |
7775 | static inline JSValue jsDOMWindowDefaultstatusGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7776 | { |
7777 | UNUSED_PARAM(throwScope); |
7778 | UNUSED_PARAM(state); |
7779 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7780 | return jsUndefined(); |
7781 | auto& impl = thisObject.wrapped(); |
7782 | JSValue result = toJS<IDLDOMString>(state, throwScope, impl.defaultStatus()); |
7783 | return result; |
7784 | } |
7785 | |
7786 | EncodedJSValue jsDOMWindowDefaultstatus(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7787 | { |
7788 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDefaultstatusGetter>(*state, thisValue, "defaultstatus" ); |
7789 | } |
7790 | |
7791 | static inline bool setJSDOMWindowDefaultstatusSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7792 | { |
7793 | UNUSED_PARAM(throwScope); |
7794 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7795 | return false; |
7796 | auto& impl = thisObject.wrapped(); |
7797 | auto nativeValue = convert<IDLDOMString>(state, value); |
7798 | RETURN_IF_EXCEPTION(throwScope, false); |
7799 | AttributeSetter::call(state, throwScope, [&] { |
7800 | return impl.setDefaultStatus(WTFMove(nativeValue)); |
7801 | }); |
7802 | return true; |
7803 | } |
7804 | |
7805 | bool setJSDOMWindowDefaultstatus(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7806 | { |
7807 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDefaultstatusSetter>(*state, thisValue, encodedValue, "defaultstatus" ); |
7808 | } |
7809 | |
7810 | static inline JSValue jsDOMWindowOffscreenBufferingGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7811 | { |
7812 | UNUSED_PARAM(throwScope); |
7813 | UNUSED_PARAM(state); |
7814 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7815 | return jsUndefined(); |
7816 | auto& impl = thisObject.wrapped(); |
7817 | JSValue result = toJS<IDLBoolean>(state, throwScope, impl.offscreenBuffering()); |
7818 | return result; |
7819 | } |
7820 | |
7821 | EncodedJSValue jsDOMWindowOffscreenBuffering(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7822 | { |
7823 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOffscreenBufferingGetter>(*state, thisValue, "offscreenBuffering" ); |
7824 | } |
7825 | |
7826 | static inline bool setJSDOMWindowOffscreenBufferingSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7827 | { |
7828 | UNUSED_PARAM(throwScope); |
7829 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7830 | return false; |
7831 | // Shadowing a built-in property. |
7832 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("offscreenBuffering" ), strlen("offscreenBuffering" )), value); |
7833 | } |
7834 | |
7835 | bool setJSDOMWindowOffscreenBuffering(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7836 | { |
7837 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOffscreenBufferingSetter>(*state, thisValue, encodedValue, "offscreenBuffering" ); |
7838 | } |
7839 | |
7840 | static inline JSValue jsDOMWindowScreenLeftGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7841 | { |
7842 | UNUSED_PARAM(throwScope); |
7843 | UNUSED_PARAM(state); |
7844 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7845 | return jsUndefined(); |
7846 | auto& impl = thisObject.wrapped(); |
7847 | JSValue result = toJS<IDLLong>(state, throwScope, impl.screenLeft()); |
7848 | return result; |
7849 | } |
7850 | |
7851 | EncodedJSValue jsDOMWindowScreenLeft(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7852 | { |
7853 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenLeftGetter>(*state, thisValue, "screenLeft" ); |
7854 | } |
7855 | |
7856 | static inline bool setJSDOMWindowScreenLeftSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7857 | { |
7858 | UNUSED_PARAM(throwScope); |
7859 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7860 | return false; |
7861 | // Shadowing a built-in property. |
7862 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("screenLeft" ), strlen("screenLeft" )), value); |
7863 | } |
7864 | |
7865 | bool setJSDOMWindowScreenLeft(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7866 | { |
7867 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenLeftSetter>(*state, thisValue, encodedValue, "screenLeft" ); |
7868 | } |
7869 | |
7870 | static inline JSValue jsDOMWindowScreenTopGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7871 | { |
7872 | UNUSED_PARAM(throwScope); |
7873 | UNUSED_PARAM(state); |
7874 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7875 | return jsUndefined(); |
7876 | auto& impl = thisObject.wrapped(); |
7877 | JSValue result = toJS<IDLLong>(state, throwScope, impl.screenTop()); |
7878 | return result; |
7879 | } |
7880 | |
7881 | EncodedJSValue jsDOMWindowScreenTop(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7882 | { |
7883 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenTopGetter>(*state, thisValue, "screenTop" ); |
7884 | } |
7885 | |
7886 | static inline bool setJSDOMWindowScreenTopSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7887 | { |
7888 | UNUSED_PARAM(throwScope); |
7889 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7890 | return false; |
7891 | // Shadowing a built-in property. |
7892 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("screenTop" ), strlen("screenTop" )), value); |
7893 | } |
7894 | |
7895 | bool setJSDOMWindowScreenTop(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7896 | { |
7897 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenTopSetter>(*state, thisValue, encodedValue, "screenTop" ); |
7898 | } |
7899 | |
7900 | static inline JSValue jsDOMWindowClientInformationGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7901 | { |
7902 | UNUSED_PARAM(throwScope); |
7903 | UNUSED_PARAM(state); |
7904 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7905 | return jsUndefined(); |
7906 | auto& impl = thisObject.wrapped(); |
7907 | JSValue result = toJS<IDLInterface<Navigator>>(state, *thisObject.globalObject(), throwScope, impl.clientInformation()); |
7908 | return result; |
7909 | } |
7910 | |
7911 | EncodedJSValue jsDOMWindowClientInformation(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7912 | { |
7913 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowClientInformationGetter>(*state, thisValue, "clientInformation" ); |
7914 | } |
7915 | |
7916 | static inline bool setJSDOMWindowClientInformationSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7917 | { |
7918 | UNUSED_PARAM(throwScope); |
7919 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7920 | return false; |
7921 | // Shadowing a built-in property. |
7922 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("clientInformation" ), strlen("clientInformation" )), value); |
7923 | } |
7924 | |
7925 | bool setJSDOMWindowClientInformation(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7926 | { |
7927 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowClientInformationSetter>(*state, thisValue, encodedValue, "clientInformation" ); |
7928 | } |
7929 | |
7930 | static inline JSValue jsDOMWindowStyleMediaGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7931 | { |
7932 | UNUSED_PARAM(throwScope); |
7933 | UNUSED_PARAM(state); |
7934 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7935 | return jsUndefined(); |
7936 | auto& impl = thisObject.wrapped(); |
7937 | JSValue result = toJS<IDLInterface<StyleMedia>>(state, *thisObject.globalObject(), throwScope, impl.styleMedia()); |
7938 | return result; |
7939 | } |
7940 | |
7941 | EncodedJSValue jsDOMWindowStyleMedia(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7942 | { |
7943 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStyleMediaGetter>(*state, thisValue, "styleMedia" ); |
7944 | } |
7945 | |
7946 | #if ENABLE(IOS_GESTURE_EVENTS) |
7947 | static inline JSValue jsDOMWindowOngesturechangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7948 | { |
7949 | UNUSED_PARAM(throwScope); |
7950 | UNUSED_PARAM(state); |
7951 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7952 | return jsUndefined(); |
7953 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().gesturechangeEvent, worldForDOMObject(thisObject)); |
7954 | } |
7955 | |
7956 | EncodedJSValue jsDOMWindowOngesturechange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7957 | { |
7958 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOngesturechangeGetter>(*state, thisValue, "ongesturechange" ); |
7959 | } |
7960 | |
7961 | #endif |
7962 | |
7963 | #if ENABLE(IOS_GESTURE_EVENTS) |
7964 | static inline bool setJSDOMWindowOngesturechangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7965 | { |
7966 | UNUSED_PARAM(throwScope); |
7967 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7968 | return false; |
7969 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().gesturechangeEvent, value); |
7970 | return true; |
7971 | } |
7972 | |
7973 | bool setJSDOMWindowOngesturechange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
7974 | { |
7975 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOngesturechangeSetter>(*state, thisValue, encodedValue, "ongesturechange" ); |
7976 | } |
7977 | |
7978 | #endif |
7979 | |
7980 | #if ENABLE(IOS_GESTURE_EVENTS) |
7981 | static inline JSValue jsDOMWindowOngestureendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
7982 | { |
7983 | UNUSED_PARAM(throwScope); |
7984 | UNUSED_PARAM(state); |
7985 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
7986 | return jsUndefined(); |
7987 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().gestureendEvent, worldForDOMObject(thisObject)); |
7988 | } |
7989 | |
7990 | EncodedJSValue jsDOMWindowOngestureend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
7991 | { |
7992 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOngestureendGetter>(*state, thisValue, "ongestureend" ); |
7993 | } |
7994 | |
7995 | #endif |
7996 | |
7997 | #if ENABLE(IOS_GESTURE_EVENTS) |
7998 | static inline bool setJSDOMWindowOngestureendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
7999 | { |
8000 | UNUSED_PARAM(throwScope); |
8001 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8002 | return false; |
8003 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().gestureendEvent, value); |
8004 | return true; |
8005 | } |
8006 | |
8007 | bool setJSDOMWindowOngestureend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8008 | { |
8009 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOngestureendSetter>(*state, thisValue, encodedValue, "ongestureend" ); |
8010 | } |
8011 | |
8012 | #endif |
8013 | |
8014 | #if ENABLE(IOS_GESTURE_EVENTS) |
8015 | static inline JSValue jsDOMWindowOngesturestartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8016 | { |
8017 | UNUSED_PARAM(throwScope); |
8018 | UNUSED_PARAM(state); |
8019 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8020 | return jsUndefined(); |
8021 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().gesturestartEvent, worldForDOMObject(thisObject)); |
8022 | } |
8023 | |
8024 | EncodedJSValue jsDOMWindowOngesturestart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8025 | { |
8026 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOngesturestartGetter>(*state, thisValue, "ongesturestart" ); |
8027 | } |
8028 | |
8029 | #endif |
8030 | |
8031 | #if ENABLE(IOS_GESTURE_EVENTS) |
8032 | static inline bool setJSDOMWindowOngesturestartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8033 | { |
8034 | UNUSED_PARAM(throwScope); |
8035 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8036 | return false; |
8037 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().gesturestartEvent, value); |
8038 | return true; |
8039 | } |
8040 | |
8041 | bool setJSDOMWindowOngesturestart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8042 | { |
8043 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOngesturestartSetter>(*state, thisValue, encodedValue, "ongesturestart" ); |
8044 | } |
8045 | |
8046 | #endif |
8047 | |
8048 | #if ENABLE(DEVICE_ORIENTATION) |
8049 | static inline JSValue jsDOMWindowOndevicemotionGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8050 | { |
8051 | UNUSED_PARAM(throwScope); |
8052 | UNUSED_PARAM(state); |
8053 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8054 | return jsUndefined(); |
8055 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().devicemotionEvent, worldForDOMObject(thisObject)); |
8056 | } |
8057 | |
8058 | EncodedJSValue jsDOMWindowOndevicemotion(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8059 | { |
8060 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndevicemotionGetter>(*state, thisValue, "ondevicemotion" ); |
8061 | } |
8062 | |
8063 | #endif |
8064 | |
8065 | #if ENABLE(DEVICE_ORIENTATION) |
8066 | static inline bool setJSDOMWindowOndevicemotionSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8067 | { |
8068 | UNUSED_PARAM(throwScope); |
8069 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8070 | return false; |
8071 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().devicemotionEvent, value); |
8072 | return true; |
8073 | } |
8074 | |
8075 | bool setJSDOMWindowOndevicemotion(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8076 | { |
8077 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndevicemotionSetter>(*state, thisValue, encodedValue, "ondevicemotion" ); |
8078 | } |
8079 | |
8080 | #endif |
8081 | |
8082 | #if ENABLE(DEVICE_ORIENTATION) |
8083 | static inline JSValue jsDOMWindowOndeviceorientationGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8084 | { |
8085 | UNUSED_PARAM(throwScope); |
8086 | UNUSED_PARAM(state); |
8087 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8088 | return jsUndefined(); |
8089 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().deviceorientationEvent, worldForDOMObject(thisObject)); |
8090 | } |
8091 | |
8092 | EncodedJSValue jsDOMWindowOndeviceorientation(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8093 | { |
8094 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndeviceorientationGetter>(*state, thisValue, "ondeviceorientation" ); |
8095 | } |
8096 | |
8097 | #endif |
8098 | |
8099 | #if ENABLE(DEVICE_ORIENTATION) |
8100 | static inline bool setJSDOMWindowOndeviceorientationSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8101 | { |
8102 | UNUSED_PARAM(throwScope); |
8103 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8104 | return false; |
8105 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().deviceorientationEvent, value); |
8106 | return true; |
8107 | } |
8108 | |
8109 | bool setJSDOMWindowOndeviceorientation(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8110 | { |
8111 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndeviceorientationSetter>(*state, thisValue, encodedValue, "ondeviceorientation" ); |
8112 | } |
8113 | |
8114 | #endif |
8115 | |
8116 | static inline JSValue jsDOMWindowOnwebkitanimationendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8117 | { |
8118 | UNUSED_PARAM(throwScope); |
8119 | UNUSED_PARAM(state); |
8120 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8121 | return jsUndefined(); |
8122 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitAnimationEndEvent, worldForDOMObject(thisObject)); |
8123 | } |
8124 | |
8125 | EncodedJSValue jsDOMWindowOnwebkitanimationend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8126 | { |
8127 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitanimationendGetter>(*state, thisValue, "onwebkitanimationend" ); |
8128 | } |
8129 | |
8130 | static inline bool setJSDOMWindowOnwebkitanimationendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8131 | { |
8132 | UNUSED_PARAM(throwScope); |
8133 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8134 | return false; |
8135 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitAnimationEndEvent, value); |
8136 | return true; |
8137 | } |
8138 | |
8139 | bool setJSDOMWindowOnwebkitanimationend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8140 | { |
8141 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitanimationendSetter>(*state, thisValue, encodedValue, "onwebkitanimationend" ); |
8142 | } |
8143 | |
8144 | static inline JSValue jsDOMWindowOnwebkitanimationiterationGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8145 | { |
8146 | UNUSED_PARAM(throwScope); |
8147 | UNUSED_PARAM(state); |
8148 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8149 | return jsUndefined(); |
8150 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitAnimationIterationEvent, worldForDOMObject(thisObject)); |
8151 | } |
8152 | |
8153 | EncodedJSValue jsDOMWindowOnwebkitanimationiteration(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8154 | { |
8155 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitanimationiterationGetter>(*state, thisValue, "onwebkitanimationiteration" ); |
8156 | } |
8157 | |
8158 | static inline bool setJSDOMWindowOnwebkitanimationiterationSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8159 | { |
8160 | UNUSED_PARAM(throwScope); |
8161 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8162 | return false; |
8163 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitAnimationIterationEvent, value); |
8164 | return true; |
8165 | } |
8166 | |
8167 | bool setJSDOMWindowOnwebkitanimationiteration(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8168 | { |
8169 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitanimationiterationSetter>(*state, thisValue, encodedValue, "onwebkitanimationiteration" ); |
8170 | } |
8171 | |
8172 | static inline JSValue jsDOMWindowOnwebkitanimationstartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8173 | { |
8174 | UNUSED_PARAM(throwScope); |
8175 | UNUSED_PARAM(state); |
8176 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8177 | return jsUndefined(); |
8178 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitAnimationStartEvent, worldForDOMObject(thisObject)); |
8179 | } |
8180 | |
8181 | EncodedJSValue jsDOMWindowOnwebkitanimationstart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8182 | { |
8183 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitanimationstartGetter>(*state, thisValue, "onwebkitanimationstart" ); |
8184 | } |
8185 | |
8186 | static inline bool setJSDOMWindowOnwebkitanimationstartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8187 | { |
8188 | UNUSED_PARAM(throwScope); |
8189 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8190 | return false; |
8191 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitAnimationStartEvent, value); |
8192 | return true; |
8193 | } |
8194 | |
8195 | bool setJSDOMWindowOnwebkitanimationstart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8196 | { |
8197 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitanimationstartSetter>(*state, thisValue, encodedValue, "onwebkitanimationstart" ); |
8198 | } |
8199 | |
8200 | static inline JSValue jsDOMWindowOnwebkittransitionendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8201 | { |
8202 | UNUSED_PARAM(throwScope); |
8203 | UNUSED_PARAM(state); |
8204 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8205 | return jsUndefined(); |
8206 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitTransitionEndEvent, worldForDOMObject(thisObject)); |
8207 | } |
8208 | |
8209 | EncodedJSValue jsDOMWindowOnwebkittransitionend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8210 | { |
8211 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkittransitionendGetter>(*state, thisValue, "onwebkittransitionend" ); |
8212 | } |
8213 | |
8214 | static inline bool setJSDOMWindowOnwebkittransitionendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8215 | { |
8216 | UNUSED_PARAM(throwScope); |
8217 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8218 | return false; |
8219 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitTransitionEndEvent, value); |
8220 | return true; |
8221 | } |
8222 | |
8223 | bool setJSDOMWindowOnwebkittransitionend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8224 | { |
8225 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkittransitionendSetter>(*state, thisValue, encodedValue, "onwebkittransitionend" ); |
8226 | } |
8227 | |
8228 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
8229 | static inline JSValue jsDOMWindowWebKitPlaybackTargetAvailabilityEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8230 | { |
8231 | UNUSED_PARAM(throwScope); |
8232 | UNUSED_PARAM(state); |
8233 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8234 | return jsUndefined(); |
8235 | return JSWebKitPlaybackTargetAvailabilityEvent::getConstructor(state.vm(), &thisObject); |
8236 | } |
8237 | |
8238 | EncodedJSValue jsDOMWindowWebKitPlaybackTargetAvailabilityEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8239 | { |
8240 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitPlaybackTargetAvailabilityEventConstructorGetter>(*state, thisValue, "WebKitPlaybackTargetAvailabilityEvent" ); |
8241 | } |
8242 | |
8243 | #endif |
8244 | |
8245 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
8246 | static inline bool setJSDOMWindowWebKitPlaybackTargetAvailabilityEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8247 | { |
8248 | UNUSED_PARAM(throwScope); |
8249 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8250 | return false; |
8251 | // Shadowing a built-in constructor. |
8252 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitPlaybackTargetAvailabilityEvent" ), strlen("WebKitPlaybackTargetAvailabilityEvent" )), value); |
8253 | } |
8254 | |
8255 | bool setJSDOMWindowWebKitPlaybackTargetAvailabilityEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8256 | { |
8257 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitPlaybackTargetAvailabilityEventConstructorSetter>(*state, thisValue, encodedValue, "WebKitPlaybackTargetAvailabilityEvent" ); |
8258 | } |
8259 | |
8260 | #endif |
8261 | |
8262 | static inline JSValue jsDOMWindowCacheConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8263 | { |
8264 | UNUSED_PARAM(throwScope); |
8265 | UNUSED_PARAM(state); |
8266 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8267 | return jsUndefined(); |
8268 | return JSDOMCache::getConstructor(state.vm(), &thisObject); |
8269 | } |
8270 | |
8271 | EncodedJSValue jsDOMWindowCacheConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8272 | { |
8273 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCacheConstructorGetter>(*state, thisValue, "Cache" ); |
8274 | } |
8275 | |
8276 | static inline bool setJSDOMWindowCacheConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8277 | { |
8278 | UNUSED_PARAM(throwScope); |
8279 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8280 | return false; |
8281 | // Shadowing a built-in constructor. |
8282 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Cache" ), strlen("Cache" )), value); |
8283 | } |
8284 | |
8285 | bool setJSDOMWindowCacheConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8286 | { |
8287 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCacheConstructorSetter>(*state, thisValue, encodedValue, "Cache" ); |
8288 | } |
8289 | |
8290 | static inline JSValue jsDOMWindowCacheStorageConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8291 | { |
8292 | UNUSED_PARAM(throwScope); |
8293 | UNUSED_PARAM(state); |
8294 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8295 | return jsUndefined(); |
8296 | return JSDOMCacheStorage::getConstructor(state.vm(), &thisObject); |
8297 | } |
8298 | |
8299 | EncodedJSValue jsDOMWindowCacheStorageConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8300 | { |
8301 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCacheStorageConstructorGetter>(*state, thisValue, "CacheStorage" ); |
8302 | } |
8303 | |
8304 | static inline bool setJSDOMWindowCacheStorageConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8305 | { |
8306 | UNUSED_PARAM(throwScope); |
8307 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8308 | return false; |
8309 | // Shadowing a built-in constructor. |
8310 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CacheStorage" ), strlen("CacheStorage" )), value); |
8311 | } |
8312 | |
8313 | bool setJSDOMWindowCacheStorageConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8314 | { |
8315 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCacheStorageConstructorSetter>(*state, thisValue, encodedValue, "CacheStorage" ); |
8316 | } |
8317 | |
8318 | #if ENABLE(WEB_AUTHN) |
8319 | static inline JSValue jsDOMWindowCredentialConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8320 | { |
8321 | UNUSED_PARAM(throwScope); |
8322 | UNUSED_PARAM(state); |
8323 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8324 | return jsUndefined(); |
8325 | return JSBasicCredential::getConstructor(state.vm(), &thisObject); |
8326 | } |
8327 | |
8328 | EncodedJSValue jsDOMWindowCredentialConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8329 | { |
8330 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCredentialConstructorGetter>(*state, thisValue, "Credential" ); |
8331 | } |
8332 | |
8333 | #endif |
8334 | |
8335 | #if ENABLE(WEB_AUTHN) |
8336 | static inline bool setJSDOMWindowCredentialConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8337 | { |
8338 | UNUSED_PARAM(throwScope); |
8339 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8340 | return false; |
8341 | // Shadowing a built-in constructor. |
8342 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Credential" ), strlen("Credential" )), value); |
8343 | } |
8344 | |
8345 | bool setJSDOMWindowCredentialConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8346 | { |
8347 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCredentialConstructorSetter>(*state, thisValue, encodedValue, "Credential" ); |
8348 | } |
8349 | |
8350 | #endif |
8351 | |
8352 | #if ENABLE(WEB_AUTHN) |
8353 | static inline JSValue jsDOMWindowCredentialsContainerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8354 | { |
8355 | UNUSED_PARAM(throwScope); |
8356 | UNUSED_PARAM(state); |
8357 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8358 | return jsUndefined(); |
8359 | return JSCredentialsContainer::getConstructor(state.vm(), &thisObject); |
8360 | } |
8361 | |
8362 | EncodedJSValue jsDOMWindowCredentialsContainerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8363 | { |
8364 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCredentialsContainerConstructorGetter>(*state, thisValue, "CredentialsContainer" ); |
8365 | } |
8366 | |
8367 | #endif |
8368 | |
8369 | #if ENABLE(WEB_AUTHN) |
8370 | static inline bool setJSDOMWindowCredentialsContainerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8371 | { |
8372 | UNUSED_PARAM(throwScope); |
8373 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8374 | return false; |
8375 | // Shadowing a built-in constructor. |
8376 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CredentialsContainer" ), strlen("CredentialsContainer" )), value); |
8377 | } |
8378 | |
8379 | bool setJSDOMWindowCredentialsContainerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8380 | { |
8381 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCredentialsContainerConstructorSetter>(*state, thisValue, encodedValue, "CredentialsContainer" ); |
8382 | } |
8383 | |
8384 | #endif |
8385 | |
8386 | static inline JSValue jsDOMWindowFileSystemConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8387 | { |
8388 | UNUSED_PARAM(throwScope); |
8389 | UNUSED_PARAM(state); |
8390 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8391 | return jsUndefined(); |
8392 | return JSDOMFileSystem::getConstructor(state.vm(), &thisObject); |
8393 | } |
8394 | |
8395 | EncodedJSValue jsDOMWindowFileSystemConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8396 | { |
8397 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileSystemConstructorGetter>(*state, thisValue, "FileSystem" ); |
8398 | } |
8399 | |
8400 | static inline bool setJSDOMWindowFileSystemConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8401 | { |
8402 | UNUSED_PARAM(throwScope); |
8403 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8404 | return false; |
8405 | // Shadowing a built-in constructor. |
8406 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileSystem" ), strlen("FileSystem" )), value); |
8407 | } |
8408 | |
8409 | bool setJSDOMWindowFileSystemConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8410 | { |
8411 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileSystemConstructorSetter>(*state, thisValue, encodedValue, "FileSystem" ); |
8412 | } |
8413 | |
8414 | static inline JSValue jsDOMWindowFileSystemDirectoryEntryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8415 | { |
8416 | UNUSED_PARAM(throwScope); |
8417 | UNUSED_PARAM(state); |
8418 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8419 | return jsUndefined(); |
8420 | return JSFileSystemDirectoryEntry::getConstructor(state.vm(), &thisObject); |
8421 | } |
8422 | |
8423 | EncodedJSValue jsDOMWindowFileSystemDirectoryEntryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8424 | { |
8425 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileSystemDirectoryEntryConstructorGetter>(*state, thisValue, "FileSystemDirectoryEntry" ); |
8426 | } |
8427 | |
8428 | static inline bool setJSDOMWindowFileSystemDirectoryEntryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8429 | { |
8430 | UNUSED_PARAM(throwScope); |
8431 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8432 | return false; |
8433 | // Shadowing a built-in constructor. |
8434 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileSystemDirectoryEntry" ), strlen("FileSystemDirectoryEntry" )), value); |
8435 | } |
8436 | |
8437 | bool setJSDOMWindowFileSystemDirectoryEntryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8438 | { |
8439 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileSystemDirectoryEntryConstructorSetter>(*state, thisValue, encodedValue, "FileSystemDirectoryEntry" ); |
8440 | } |
8441 | |
8442 | static inline JSValue jsDOMWindowFileSystemDirectoryReaderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8443 | { |
8444 | UNUSED_PARAM(throwScope); |
8445 | UNUSED_PARAM(state); |
8446 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8447 | return jsUndefined(); |
8448 | return JSFileSystemDirectoryReader::getConstructor(state.vm(), &thisObject); |
8449 | } |
8450 | |
8451 | EncodedJSValue jsDOMWindowFileSystemDirectoryReaderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8452 | { |
8453 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileSystemDirectoryReaderConstructorGetter>(*state, thisValue, "FileSystemDirectoryReader" ); |
8454 | } |
8455 | |
8456 | static inline bool setJSDOMWindowFileSystemDirectoryReaderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8457 | { |
8458 | UNUSED_PARAM(throwScope); |
8459 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8460 | return false; |
8461 | // Shadowing a built-in constructor. |
8462 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileSystemDirectoryReader" ), strlen("FileSystemDirectoryReader" )), value); |
8463 | } |
8464 | |
8465 | bool setJSDOMWindowFileSystemDirectoryReaderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8466 | { |
8467 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileSystemDirectoryReaderConstructorSetter>(*state, thisValue, encodedValue, "FileSystemDirectoryReader" ); |
8468 | } |
8469 | |
8470 | static inline JSValue jsDOMWindowFileSystemEntryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8471 | { |
8472 | UNUSED_PARAM(throwScope); |
8473 | UNUSED_PARAM(state); |
8474 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8475 | return jsUndefined(); |
8476 | return JSFileSystemEntry::getConstructor(state.vm(), &thisObject); |
8477 | } |
8478 | |
8479 | EncodedJSValue jsDOMWindowFileSystemEntryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8480 | { |
8481 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileSystemEntryConstructorGetter>(*state, thisValue, "FileSystemEntry" ); |
8482 | } |
8483 | |
8484 | static inline bool setJSDOMWindowFileSystemEntryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8485 | { |
8486 | UNUSED_PARAM(throwScope); |
8487 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8488 | return false; |
8489 | // Shadowing a built-in constructor. |
8490 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileSystemEntry" ), strlen("FileSystemEntry" )), value); |
8491 | } |
8492 | |
8493 | bool setJSDOMWindowFileSystemEntryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8494 | { |
8495 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileSystemEntryConstructorSetter>(*state, thisValue, encodedValue, "FileSystemEntry" ); |
8496 | } |
8497 | |
8498 | static inline JSValue jsDOMWindowFileSystemFileEntryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8499 | { |
8500 | UNUSED_PARAM(throwScope); |
8501 | UNUSED_PARAM(state); |
8502 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8503 | return jsUndefined(); |
8504 | return JSFileSystemFileEntry::getConstructor(state.vm(), &thisObject); |
8505 | } |
8506 | |
8507 | EncodedJSValue jsDOMWindowFileSystemFileEntryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8508 | { |
8509 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileSystemFileEntryConstructorGetter>(*state, thisValue, "FileSystemFileEntry" ); |
8510 | } |
8511 | |
8512 | static inline bool setJSDOMWindowFileSystemFileEntryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8513 | { |
8514 | UNUSED_PARAM(throwScope); |
8515 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8516 | return false; |
8517 | // Shadowing a built-in constructor. |
8518 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileSystemFileEntry" ), strlen("FileSystemFileEntry" )), value); |
8519 | } |
8520 | |
8521 | bool setJSDOMWindowFileSystemFileEntryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8522 | { |
8523 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileSystemFileEntryConstructorSetter>(*state, thisValue, encodedValue, "FileSystemFileEntry" ); |
8524 | } |
8525 | |
8526 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8527 | { |
8528 | UNUSED_PARAM(throwScope); |
8529 | UNUSED_PARAM(state); |
8530 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8531 | return jsUndefined(); |
8532 | return JSFetchHeaders::getConstructor(state.vm(), &thisObject); |
8533 | } |
8534 | |
8535 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
8536 | { |
8537 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHeadersConstructorGetter>(*state, thisValue, "Headers" ); |
8538 | } |
8539 | |
8540 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8541 | { |
8542 | UNUSED_PARAM(throwScope); |
8543 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8544 | return false; |
8545 | // Shadowing a built-in constructor. |
8546 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Headers" ), strlen("Headers" )), value); |
8547 | } |
8548 | |
8549 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8550 | { |
8551 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHeadersConstructorSetter>(*state, thisValue, encodedValue, "Headers" ); |
8552 | } |
8553 | |
8554 | static inline JSValue jsDOMWindowRequestConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8555 | { |
8556 | UNUSED_PARAM(throwScope); |
8557 | UNUSED_PARAM(state); |
8558 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8559 | return jsUndefined(); |
8560 | return JSFetchRequest::getConstructor(state.vm(), &thisObject); |
8561 | } |
8562 | |
8563 | EncodedJSValue jsDOMWindowRequestConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8564 | { |
8565 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRequestConstructorGetter>(*state, thisValue, "Request" ); |
8566 | } |
8567 | |
8568 | static inline bool setJSDOMWindowRequestConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8569 | { |
8570 | UNUSED_PARAM(throwScope); |
8571 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8572 | return false; |
8573 | // Shadowing a built-in constructor. |
8574 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Request" ), strlen("Request" )), value); |
8575 | } |
8576 | |
8577 | bool setJSDOMWindowRequestConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8578 | { |
8579 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRequestConstructorSetter>(*state, thisValue, encodedValue, "Request" ); |
8580 | } |
8581 | |
8582 | static inline JSValue jsDOMWindowResponseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8583 | { |
8584 | UNUSED_PARAM(throwScope); |
8585 | UNUSED_PARAM(state); |
8586 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8587 | return jsUndefined(); |
8588 | return JSFetchResponse::getConstructor(state.vm(), &thisObject); |
8589 | } |
8590 | |
8591 | EncodedJSValue jsDOMWindowResponseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8592 | { |
8593 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowResponseConstructorGetter>(*state, thisValue, "Response" ); |
8594 | } |
8595 | |
8596 | static inline bool setJSDOMWindowResponseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8597 | { |
8598 | UNUSED_PARAM(throwScope); |
8599 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8600 | return false; |
8601 | // Shadowing a built-in constructor. |
8602 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Response" ), strlen("Response" )), value); |
8603 | } |
8604 | |
8605 | bool setJSDOMWindowResponseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8606 | { |
8607 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowResponseConstructorSetter>(*state, thisValue, encodedValue, "Response" ); |
8608 | } |
8609 | |
8610 | #if ENABLE(INDEXED_DATABASE) |
8611 | static inline JSValue jsDOMWindowIDBCursorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8612 | { |
8613 | UNUSED_PARAM(throwScope); |
8614 | UNUSED_PARAM(state); |
8615 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8616 | return jsUndefined(); |
8617 | return JSIDBCursor::getConstructor(state.vm(), &thisObject); |
8618 | } |
8619 | |
8620 | EncodedJSValue jsDOMWindowIDBCursorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8621 | { |
8622 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBCursorConstructorGetter>(*state, thisValue, "IDBCursor" ); |
8623 | } |
8624 | |
8625 | #endif |
8626 | |
8627 | #if ENABLE(INDEXED_DATABASE) |
8628 | static inline bool setJSDOMWindowIDBCursorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8629 | { |
8630 | UNUSED_PARAM(throwScope); |
8631 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8632 | return false; |
8633 | // Shadowing a built-in constructor. |
8634 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBCursor" ), strlen("IDBCursor" )), value); |
8635 | } |
8636 | |
8637 | bool setJSDOMWindowIDBCursorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8638 | { |
8639 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBCursorConstructorSetter>(*state, thisValue, encodedValue, "IDBCursor" ); |
8640 | } |
8641 | |
8642 | #endif |
8643 | |
8644 | #if ENABLE(INDEXED_DATABASE) |
8645 | static inline JSValue jsDOMWindowIDBCursorWithValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8646 | { |
8647 | UNUSED_PARAM(throwScope); |
8648 | UNUSED_PARAM(state); |
8649 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8650 | return jsUndefined(); |
8651 | return JSIDBCursorWithValue::getConstructor(state.vm(), &thisObject); |
8652 | } |
8653 | |
8654 | EncodedJSValue jsDOMWindowIDBCursorWithValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8655 | { |
8656 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBCursorWithValueConstructorGetter>(*state, thisValue, "IDBCursorWithValue" ); |
8657 | } |
8658 | |
8659 | #endif |
8660 | |
8661 | #if ENABLE(INDEXED_DATABASE) |
8662 | static inline bool setJSDOMWindowIDBCursorWithValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8663 | { |
8664 | UNUSED_PARAM(throwScope); |
8665 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8666 | return false; |
8667 | // Shadowing a built-in constructor. |
8668 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBCursorWithValue" ), strlen("IDBCursorWithValue" )), value); |
8669 | } |
8670 | |
8671 | bool setJSDOMWindowIDBCursorWithValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8672 | { |
8673 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBCursorWithValueConstructorSetter>(*state, thisValue, encodedValue, "IDBCursorWithValue" ); |
8674 | } |
8675 | |
8676 | #endif |
8677 | |
8678 | #if ENABLE(INDEXED_DATABASE) |
8679 | static inline JSValue jsDOMWindowIDBDatabaseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8680 | { |
8681 | UNUSED_PARAM(throwScope); |
8682 | UNUSED_PARAM(state); |
8683 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8684 | return jsUndefined(); |
8685 | return JSIDBDatabase::getConstructor(state.vm(), &thisObject); |
8686 | } |
8687 | |
8688 | EncodedJSValue jsDOMWindowIDBDatabaseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8689 | { |
8690 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBDatabaseConstructorGetter>(*state, thisValue, "IDBDatabase" ); |
8691 | } |
8692 | |
8693 | #endif |
8694 | |
8695 | #if ENABLE(INDEXED_DATABASE) |
8696 | static inline bool setJSDOMWindowIDBDatabaseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8697 | { |
8698 | UNUSED_PARAM(throwScope); |
8699 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8700 | return false; |
8701 | // Shadowing a built-in constructor. |
8702 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBDatabase" ), strlen("IDBDatabase" )), value); |
8703 | } |
8704 | |
8705 | bool setJSDOMWindowIDBDatabaseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8706 | { |
8707 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBDatabaseConstructorSetter>(*state, thisValue, encodedValue, "IDBDatabase" ); |
8708 | } |
8709 | |
8710 | #endif |
8711 | |
8712 | #if ENABLE(INDEXED_DATABASE) |
8713 | static inline JSValue jsDOMWindowIDBFactoryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8714 | { |
8715 | UNUSED_PARAM(throwScope); |
8716 | UNUSED_PARAM(state); |
8717 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8718 | return jsUndefined(); |
8719 | return JSIDBFactory::getConstructor(state.vm(), &thisObject); |
8720 | } |
8721 | |
8722 | EncodedJSValue jsDOMWindowIDBFactoryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8723 | { |
8724 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBFactoryConstructorGetter>(*state, thisValue, "IDBFactory" ); |
8725 | } |
8726 | |
8727 | #endif |
8728 | |
8729 | #if ENABLE(INDEXED_DATABASE) |
8730 | static inline bool setJSDOMWindowIDBFactoryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8731 | { |
8732 | UNUSED_PARAM(throwScope); |
8733 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8734 | return false; |
8735 | // Shadowing a built-in constructor. |
8736 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBFactory" ), strlen("IDBFactory" )), value); |
8737 | } |
8738 | |
8739 | bool setJSDOMWindowIDBFactoryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8740 | { |
8741 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBFactoryConstructorSetter>(*state, thisValue, encodedValue, "IDBFactory" ); |
8742 | } |
8743 | |
8744 | #endif |
8745 | |
8746 | #if ENABLE(INDEXED_DATABASE) |
8747 | static inline JSValue jsDOMWindowIDBIndexConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8748 | { |
8749 | UNUSED_PARAM(throwScope); |
8750 | UNUSED_PARAM(state); |
8751 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8752 | return jsUndefined(); |
8753 | return JSIDBIndex::getConstructor(state.vm(), &thisObject); |
8754 | } |
8755 | |
8756 | EncodedJSValue jsDOMWindowIDBIndexConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8757 | { |
8758 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBIndexConstructorGetter>(*state, thisValue, "IDBIndex" ); |
8759 | } |
8760 | |
8761 | #endif |
8762 | |
8763 | #if ENABLE(INDEXED_DATABASE) |
8764 | static inline bool setJSDOMWindowIDBIndexConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8765 | { |
8766 | UNUSED_PARAM(throwScope); |
8767 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8768 | return false; |
8769 | // Shadowing a built-in constructor. |
8770 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBIndex" ), strlen("IDBIndex" )), value); |
8771 | } |
8772 | |
8773 | bool setJSDOMWindowIDBIndexConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8774 | { |
8775 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBIndexConstructorSetter>(*state, thisValue, encodedValue, "IDBIndex" ); |
8776 | } |
8777 | |
8778 | #endif |
8779 | |
8780 | #if ENABLE(INDEXED_DATABASE) |
8781 | static inline JSValue jsDOMWindowIDBKeyRangeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8782 | { |
8783 | UNUSED_PARAM(throwScope); |
8784 | UNUSED_PARAM(state); |
8785 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8786 | return jsUndefined(); |
8787 | return JSIDBKeyRange::getConstructor(state.vm(), &thisObject); |
8788 | } |
8789 | |
8790 | EncodedJSValue jsDOMWindowIDBKeyRangeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8791 | { |
8792 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBKeyRangeConstructorGetter>(*state, thisValue, "IDBKeyRange" ); |
8793 | } |
8794 | |
8795 | #endif |
8796 | |
8797 | #if ENABLE(INDEXED_DATABASE) |
8798 | static inline bool setJSDOMWindowIDBKeyRangeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8799 | { |
8800 | UNUSED_PARAM(throwScope); |
8801 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8802 | return false; |
8803 | // Shadowing a built-in constructor. |
8804 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBKeyRange" ), strlen("IDBKeyRange" )), value); |
8805 | } |
8806 | |
8807 | bool setJSDOMWindowIDBKeyRangeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8808 | { |
8809 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBKeyRangeConstructorSetter>(*state, thisValue, encodedValue, "IDBKeyRange" ); |
8810 | } |
8811 | |
8812 | #endif |
8813 | |
8814 | #if ENABLE(INDEXED_DATABASE) |
8815 | static inline JSValue jsDOMWindowIDBObjectStoreConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8816 | { |
8817 | UNUSED_PARAM(throwScope); |
8818 | UNUSED_PARAM(state); |
8819 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8820 | return jsUndefined(); |
8821 | return JSIDBObjectStore::getConstructor(state.vm(), &thisObject); |
8822 | } |
8823 | |
8824 | EncodedJSValue jsDOMWindowIDBObjectStoreConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8825 | { |
8826 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBObjectStoreConstructorGetter>(*state, thisValue, "IDBObjectStore" ); |
8827 | } |
8828 | |
8829 | #endif |
8830 | |
8831 | #if ENABLE(INDEXED_DATABASE) |
8832 | static inline bool setJSDOMWindowIDBObjectStoreConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8833 | { |
8834 | UNUSED_PARAM(throwScope); |
8835 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8836 | return false; |
8837 | // Shadowing a built-in constructor. |
8838 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBObjectStore" ), strlen("IDBObjectStore" )), value); |
8839 | } |
8840 | |
8841 | bool setJSDOMWindowIDBObjectStoreConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8842 | { |
8843 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBObjectStoreConstructorSetter>(*state, thisValue, encodedValue, "IDBObjectStore" ); |
8844 | } |
8845 | |
8846 | #endif |
8847 | |
8848 | #if ENABLE(INDEXED_DATABASE) |
8849 | static inline JSValue jsDOMWindowIDBOpenDBRequestConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8850 | { |
8851 | UNUSED_PARAM(throwScope); |
8852 | UNUSED_PARAM(state); |
8853 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8854 | return jsUndefined(); |
8855 | return JSIDBOpenDBRequest::getConstructor(state.vm(), &thisObject); |
8856 | } |
8857 | |
8858 | EncodedJSValue jsDOMWindowIDBOpenDBRequestConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8859 | { |
8860 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBOpenDBRequestConstructorGetter>(*state, thisValue, "IDBOpenDBRequest" ); |
8861 | } |
8862 | |
8863 | #endif |
8864 | |
8865 | #if ENABLE(INDEXED_DATABASE) |
8866 | static inline bool setJSDOMWindowIDBOpenDBRequestConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8867 | { |
8868 | UNUSED_PARAM(throwScope); |
8869 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8870 | return false; |
8871 | // Shadowing a built-in constructor. |
8872 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBOpenDBRequest" ), strlen("IDBOpenDBRequest" )), value); |
8873 | } |
8874 | |
8875 | bool setJSDOMWindowIDBOpenDBRequestConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8876 | { |
8877 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBOpenDBRequestConstructorSetter>(*state, thisValue, encodedValue, "IDBOpenDBRequest" ); |
8878 | } |
8879 | |
8880 | #endif |
8881 | |
8882 | #if ENABLE(INDEXED_DATABASE) |
8883 | static inline JSValue jsDOMWindowIDBRequestConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8884 | { |
8885 | UNUSED_PARAM(throwScope); |
8886 | UNUSED_PARAM(state); |
8887 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8888 | return jsUndefined(); |
8889 | return JSIDBRequest::getConstructor(state.vm(), &thisObject); |
8890 | } |
8891 | |
8892 | EncodedJSValue jsDOMWindowIDBRequestConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8893 | { |
8894 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBRequestConstructorGetter>(*state, thisValue, "IDBRequest" ); |
8895 | } |
8896 | |
8897 | #endif |
8898 | |
8899 | #if ENABLE(INDEXED_DATABASE) |
8900 | static inline bool setJSDOMWindowIDBRequestConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8901 | { |
8902 | UNUSED_PARAM(throwScope); |
8903 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8904 | return false; |
8905 | // Shadowing a built-in constructor. |
8906 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBRequest" ), strlen("IDBRequest" )), value); |
8907 | } |
8908 | |
8909 | bool setJSDOMWindowIDBRequestConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8910 | { |
8911 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBRequestConstructorSetter>(*state, thisValue, encodedValue, "IDBRequest" ); |
8912 | } |
8913 | |
8914 | #endif |
8915 | |
8916 | #if ENABLE(INDEXED_DATABASE) |
8917 | static inline JSValue jsDOMWindowIDBTransactionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8918 | { |
8919 | UNUSED_PARAM(throwScope); |
8920 | UNUSED_PARAM(state); |
8921 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8922 | return jsUndefined(); |
8923 | return JSIDBTransaction::getConstructor(state.vm(), &thisObject); |
8924 | } |
8925 | |
8926 | EncodedJSValue jsDOMWindowIDBTransactionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8927 | { |
8928 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBTransactionConstructorGetter>(*state, thisValue, "IDBTransaction" ); |
8929 | } |
8930 | |
8931 | #endif |
8932 | |
8933 | #if ENABLE(INDEXED_DATABASE) |
8934 | static inline bool setJSDOMWindowIDBTransactionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8935 | { |
8936 | UNUSED_PARAM(throwScope); |
8937 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8938 | return false; |
8939 | // Shadowing a built-in constructor. |
8940 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBTransaction" ), strlen("IDBTransaction" )), value); |
8941 | } |
8942 | |
8943 | bool setJSDOMWindowIDBTransactionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8944 | { |
8945 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBTransactionConstructorSetter>(*state, thisValue, encodedValue, "IDBTransaction" ); |
8946 | } |
8947 | |
8948 | #endif |
8949 | |
8950 | #if ENABLE(INDEXED_DATABASE) |
8951 | static inline JSValue jsDOMWindowIDBVersionChangeEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8952 | { |
8953 | UNUSED_PARAM(throwScope); |
8954 | UNUSED_PARAM(state); |
8955 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8956 | return jsUndefined(); |
8957 | return JSIDBVersionChangeEvent::getConstructor(state.vm(), &thisObject); |
8958 | } |
8959 | |
8960 | EncodedJSValue jsDOMWindowIDBVersionChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8961 | { |
8962 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIDBVersionChangeEventConstructorGetter>(*state, thisValue, "IDBVersionChangeEvent" ); |
8963 | } |
8964 | |
8965 | #endif |
8966 | |
8967 | #if ENABLE(INDEXED_DATABASE) |
8968 | static inline bool setJSDOMWindowIDBVersionChangeEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8969 | { |
8970 | UNUSED_PARAM(throwScope); |
8971 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8972 | return false; |
8973 | // Shadowing a built-in constructor. |
8974 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IDBVersionChangeEvent" ), strlen("IDBVersionChangeEvent" )), value); |
8975 | } |
8976 | |
8977 | bool setJSDOMWindowIDBVersionChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
8978 | { |
8979 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIDBVersionChangeEventConstructorSetter>(*state, thisValue, encodedValue, "IDBVersionChangeEvent" ); |
8980 | } |
8981 | |
8982 | #endif |
8983 | |
8984 | static inline JSValue jsDOMWindowMediaCapabilitiesConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
8985 | { |
8986 | UNUSED_PARAM(throwScope); |
8987 | UNUSED_PARAM(state); |
8988 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
8989 | return jsUndefined(); |
8990 | return JSMediaCapabilities::getConstructor(state.vm(), &thisObject); |
8991 | } |
8992 | |
8993 | EncodedJSValue jsDOMWindowMediaCapabilitiesConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
8994 | { |
8995 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaCapabilitiesConstructorGetter>(*state, thisValue, "MediaCapabilities" ); |
8996 | } |
8997 | |
8998 | static inline bool setJSDOMWindowMediaCapabilitiesConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
8999 | { |
9000 | UNUSED_PARAM(throwScope); |
9001 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9002 | return false; |
9003 | // Shadowing a built-in constructor. |
9004 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaCapabilities" ), strlen("MediaCapabilities" )), value); |
9005 | } |
9006 | |
9007 | bool setJSDOMWindowMediaCapabilitiesConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9008 | { |
9009 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaCapabilitiesConstructorSetter>(*state, thisValue, encodedValue, "MediaCapabilities" ); |
9010 | } |
9011 | |
9012 | static inline JSValue jsDOMWindowScreenLuminanceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9013 | { |
9014 | UNUSED_PARAM(throwScope); |
9015 | UNUSED_PARAM(state); |
9016 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9017 | return jsUndefined(); |
9018 | return JSScreenLuminance::getConstructor(state.vm(), &thisObject); |
9019 | } |
9020 | |
9021 | EncodedJSValue jsDOMWindowScreenLuminanceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9022 | { |
9023 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenLuminanceConstructorGetter>(*state, thisValue, "ScreenLuminance" ); |
9024 | } |
9025 | |
9026 | static inline bool setJSDOMWindowScreenLuminanceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9027 | { |
9028 | UNUSED_PARAM(throwScope); |
9029 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9030 | return false; |
9031 | // Shadowing a built-in constructor. |
9032 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ScreenLuminance" ), strlen("ScreenLuminance" )), value); |
9033 | } |
9034 | |
9035 | bool setJSDOMWindowScreenLuminanceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9036 | { |
9037 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenLuminanceConstructorSetter>(*state, thisValue, encodedValue, "ScreenLuminance" ); |
9038 | } |
9039 | |
9040 | #if ENABLE(MEDIA_STREAM) |
9041 | static inline JSValue jsDOMWindowBlobEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9042 | { |
9043 | UNUSED_PARAM(throwScope); |
9044 | UNUSED_PARAM(state); |
9045 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9046 | return jsUndefined(); |
9047 | return JSBlobEvent::getConstructor(state.vm(), &thisObject); |
9048 | } |
9049 | |
9050 | EncodedJSValue jsDOMWindowBlobEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9051 | { |
9052 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowBlobEventConstructorGetter>(*state, thisValue, "BlobEvent" ); |
9053 | } |
9054 | |
9055 | #endif |
9056 | |
9057 | #if ENABLE(MEDIA_STREAM) |
9058 | static inline bool setJSDOMWindowBlobEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9059 | { |
9060 | UNUSED_PARAM(throwScope); |
9061 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9062 | return false; |
9063 | // Shadowing a built-in constructor. |
9064 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("BlobEvent" ), strlen("BlobEvent" )), value); |
9065 | } |
9066 | |
9067 | bool setJSDOMWindowBlobEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9068 | { |
9069 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowBlobEventConstructorSetter>(*state, thisValue, encodedValue, "BlobEvent" ); |
9070 | } |
9071 | |
9072 | #endif |
9073 | |
9074 | #if ENABLE(MEDIA_STREAM) |
9075 | static inline JSValue jsDOMWindowMediaRecorderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9076 | { |
9077 | UNUSED_PARAM(throwScope); |
9078 | UNUSED_PARAM(state); |
9079 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9080 | return jsUndefined(); |
9081 | return JSMediaRecorder::getConstructor(state.vm(), &thisObject); |
9082 | } |
9083 | |
9084 | EncodedJSValue jsDOMWindowMediaRecorderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9085 | { |
9086 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaRecorderConstructorGetter>(*state, thisValue, "MediaRecorder" ); |
9087 | } |
9088 | |
9089 | #endif |
9090 | |
9091 | #if ENABLE(MEDIA_STREAM) |
9092 | static inline bool setJSDOMWindowMediaRecorderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9093 | { |
9094 | UNUSED_PARAM(throwScope); |
9095 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9096 | return false; |
9097 | // Shadowing a built-in constructor. |
9098 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaRecorder" ), strlen("MediaRecorder" )), value); |
9099 | } |
9100 | |
9101 | bool setJSDOMWindowMediaRecorderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9102 | { |
9103 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaRecorderConstructorSetter>(*state, thisValue, encodedValue, "MediaRecorder" ); |
9104 | } |
9105 | |
9106 | #endif |
9107 | |
9108 | #if ENABLE(MEDIA_STREAM) |
9109 | static inline JSValue jsDOMWindowMediaRecorderErrorEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9110 | { |
9111 | UNUSED_PARAM(throwScope); |
9112 | UNUSED_PARAM(state); |
9113 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9114 | return jsUndefined(); |
9115 | return JSMediaRecorderErrorEvent::getConstructor(state.vm(), &thisObject); |
9116 | } |
9117 | |
9118 | EncodedJSValue jsDOMWindowMediaRecorderErrorEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9119 | { |
9120 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaRecorderErrorEventConstructorGetter>(*state, thisValue, "MediaRecorderErrorEvent" ); |
9121 | } |
9122 | |
9123 | #endif |
9124 | |
9125 | #if ENABLE(MEDIA_STREAM) |
9126 | static inline bool setJSDOMWindowMediaRecorderErrorEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9127 | { |
9128 | UNUSED_PARAM(throwScope); |
9129 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9130 | return false; |
9131 | // Shadowing a built-in constructor. |
9132 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaRecorderErrorEvent" ), strlen("MediaRecorderErrorEvent" )), value); |
9133 | } |
9134 | |
9135 | bool setJSDOMWindowMediaRecorderErrorEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9136 | { |
9137 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaRecorderErrorEventConstructorSetter>(*state, thisValue, encodedValue, "MediaRecorderErrorEvent" ); |
9138 | } |
9139 | |
9140 | #endif |
9141 | |
9142 | #if ENABLE(MEDIA_SESSION) |
9143 | static inline JSValue jsDOMWindowMediaRemoteControlsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9144 | { |
9145 | UNUSED_PARAM(throwScope); |
9146 | UNUSED_PARAM(state); |
9147 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9148 | return jsUndefined(); |
9149 | return JSMediaRemoteControls::getConstructor(state.vm(), &thisObject); |
9150 | } |
9151 | |
9152 | EncodedJSValue jsDOMWindowMediaRemoteControlsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9153 | { |
9154 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaRemoteControlsConstructorGetter>(*state, thisValue, "MediaRemoteControls" ); |
9155 | } |
9156 | |
9157 | #endif |
9158 | |
9159 | #if ENABLE(MEDIA_SESSION) |
9160 | static inline bool setJSDOMWindowMediaRemoteControlsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9161 | { |
9162 | UNUSED_PARAM(throwScope); |
9163 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9164 | return false; |
9165 | // Shadowing a built-in constructor. |
9166 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaRemoteControls" ), strlen("MediaRemoteControls" )), value); |
9167 | } |
9168 | |
9169 | bool setJSDOMWindowMediaRemoteControlsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9170 | { |
9171 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaRemoteControlsConstructorSetter>(*state, thisValue, encodedValue, "MediaRemoteControls" ); |
9172 | } |
9173 | |
9174 | #endif |
9175 | |
9176 | #if ENABLE(MEDIA_SESSION) |
9177 | static inline JSValue jsDOMWindowMediaSessionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9178 | { |
9179 | UNUSED_PARAM(throwScope); |
9180 | UNUSED_PARAM(state); |
9181 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9182 | return jsUndefined(); |
9183 | return JSMediaSession::getConstructor(state.vm(), &thisObject); |
9184 | } |
9185 | |
9186 | EncodedJSValue jsDOMWindowMediaSessionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9187 | { |
9188 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaSessionConstructorGetter>(*state, thisValue, "MediaSession" ); |
9189 | } |
9190 | |
9191 | #endif |
9192 | |
9193 | #if ENABLE(MEDIA_SESSION) |
9194 | static inline bool setJSDOMWindowMediaSessionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9195 | { |
9196 | UNUSED_PARAM(throwScope); |
9197 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9198 | return false; |
9199 | // Shadowing a built-in constructor. |
9200 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaSession" ), strlen("MediaSession" )), value); |
9201 | } |
9202 | |
9203 | bool setJSDOMWindowMediaSessionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9204 | { |
9205 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaSessionConstructorSetter>(*state, thisValue, encodedValue, "MediaSession" ); |
9206 | } |
9207 | |
9208 | #endif |
9209 | |
9210 | #if ENABLE(MEDIA_SOURCE) |
9211 | static inline JSValue jsDOMWindowMediaSourceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9212 | { |
9213 | UNUSED_PARAM(throwScope); |
9214 | UNUSED_PARAM(state); |
9215 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9216 | return jsUndefined(); |
9217 | return JSMediaSource::getConstructor(state.vm(), &thisObject); |
9218 | } |
9219 | |
9220 | EncodedJSValue jsDOMWindowMediaSourceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9221 | { |
9222 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaSourceConstructorGetter>(*state, thisValue, "MediaSource" ); |
9223 | } |
9224 | |
9225 | #endif |
9226 | |
9227 | #if ENABLE(MEDIA_SOURCE) |
9228 | static inline bool setJSDOMWindowMediaSourceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9229 | { |
9230 | UNUSED_PARAM(throwScope); |
9231 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9232 | return false; |
9233 | // Shadowing a built-in constructor. |
9234 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaSource" ), strlen("MediaSource" )), value); |
9235 | } |
9236 | |
9237 | bool setJSDOMWindowMediaSourceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9238 | { |
9239 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaSourceConstructorSetter>(*state, thisValue, encodedValue, "MediaSource" ); |
9240 | } |
9241 | |
9242 | #endif |
9243 | |
9244 | #if ENABLE(MEDIA_SOURCE) |
9245 | static inline JSValue jsDOMWindowSourceBufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9246 | { |
9247 | UNUSED_PARAM(throwScope); |
9248 | UNUSED_PARAM(state); |
9249 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9250 | return jsUndefined(); |
9251 | return JSSourceBuffer::getConstructor(state.vm(), &thisObject); |
9252 | } |
9253 | |
9254 | EncodedJSValue jsDOMWindowSourceBufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9255 | { |
9256 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSourceBufferConstructorGetter>(*state, thisValue, "SourceBuffer" ); |
9257 | } |
9258 | |
9259 | #endif |
9260 | |
9261 | #if ENABLE(MEDIA_SOURCE) |
9262 | static inline bool setJSDOMWindowSourceBufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9263 | { |
9264 | UNUSED_PARAM(throwScope); |
9265 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9266 | return false; |
9267 | // Shadowing a built-in constructor. |
9268 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SourceBuffer" ), strlen("SourceBuffer" )), value); |
9269 | } |
9270 | |
9271 | bool setJSDOMWindowSourceBufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9272 | { |
9273 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSourceBufferConstructorSetter>(*state, thisValue, encodedValue, "SourceBuffer" ); |
9274 | } |
9275 | |
9276 | #endif |
9277 | |
9278 | #if ENABLE(MEDIA_SOURCE) |
9279 | static inline JSValue jsDOMWindowSourceBufferListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9280 | { |
9281 | UNUSED_PARAM(throwScope); |
9282 | UNUSED_PARAM(state); |
9283 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9284 | return jsUndefined(); |
9285 | return JSSourceBufferList::getConstructor(state.vm(), &thisObject); |
9286 | } |
9287 | |
9288 | EncodedJSValue jsDOMWindowSourceBufferListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9289 | { |
9290 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSourceBufferListConstructorGetter>(*state, thisValue, "SourceBufferList" ); |
9291 | } |
9292 | |
9293 | #endif |
9294 | |
9295 | #if ENABLE(MEDIA_SOURCE) |
9296 | static inline bool setJSDOMWindowSourceBufferListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9297 | { |
9298 | UNUSED_PARAM(throwScope); |
9299 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9300 | return false; |
9301 | // Shadowing a built-in constructor. |
9302 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SourceBufferList" ), strlen("SourceBufferList" )), value); |
9303 | } |
9304 | |
9305 | bool setJSDOMWindowSourceBufferListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9306 | { |
9307 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSourceBufferListConstructorSetter>(*state, thisValue, encodedValue, "SourceBufferList" ); |
9308 | } |
9309 | |
9310 | #endif |
9311 | |
9312 | #if ENABLE(MEDIA_STREAM) |
9313 | static inline JSValue jsDOMWindowCanvasCaptureMediaStreamTrackConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9314 | { |
9315 | UNUSED_PARAM(throwScope); |
9316 | UNUSED_PARAM(state); |
9317 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9318 | return jsUndefined(); |
9319 | return JSCanvasCaptureMediaStreamTrack::getConstructor(state.vm(), &thisObject); |
9320 | } |
9321 | |
9322 | EncodedJSValue jsDOMWindowCanvasCaptureMediaStreamTrackConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9323 | { |
9324 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCanvasCaptureMediaStreamTrackConstructorGetter>(*state, thisValue, "CanvasCaptureMediaStreamTrack" ); |
9325 | } |
9326 | |
9327 | #endif |
9328 | |
9329 | #if ENABLE(MEDIA_STREAM) |
9330 | static inline bool setJSDOMWindowCanvasCaptureMediaStreamTrackConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9331 | { |
9332 | UNUSED_PARAM(throwScope); |
9333 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9334 | return false; |
9335 | // Shadowing a built-in constructor. |
9336 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CanvasCaptureMediaStreamTrack" ), strlen("CanvasCaptureMediaStreamTrack" )), value); |
9337 | } |
9338 | |
9339 | bool setJSDOMWindowCanvasCaptureMediaStreamTrackConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9340 | { |
9341 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCanvasCaptureMediaStreamTrackConstructorSetter>(*state, thisValue, encodedValue, "CanvasCaptureMediaStreamTrack" ); |
9342 | } |
9343 | |
9344 | #endif |
9345 | |
9346 | #if ENABLE(MEDIA_STREAM) |
9347 | static inline JSValue jsDOMWindowMediaDeviceInfoConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9348 | { |
9349 | UNUSED_PARAM(throwScope); |
9350 | UNUSED_PARAM(state); |
9351 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9352 | return jsUndefined(); |
9353 | return JSMediaDeviceInfo::getConstructor(state.vm(), &thisObject); |
9354 | } |
9355 | |
9356 | EncodedJSValue jsDOMWindowMediaDeviceInfoConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9357 | { |
9358 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaDeviceInfoConstructorGetter>(*state, thisValue, "MediaDeviceInfo" ); |
9359 | } |
9360 | |
9361 | #endif |
9362 | |
9363 | #if ENABLE(MEDIA_STREAM) |
9364 | static inline bool setJSDOMWindowMediaDeviceInfoConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9365 | { |
9366 | UNUSED_PARAM(throwScope); |
9367 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9368 | return false; |
9369 | // Shadowing a built-in constructor. |
9370 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaDeviceInfo" ), strlen("MediaDeviceInfo" )), value); |
9371 | } |
9372 | |
9373 | bool setJSDOMWindowMediaDeviceInfoConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9374 | { |
9375 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaDeviceInfoConstructorSetter>(*state, thisValue, encodedValue, "MediaDeviceInfo" ); |
9376 | } |
9377 | |
9378 | #endif |
9379 | |
9380 | #if ENABLE(MEDIA_STREAM) |
9381 | static inline JSValue jsDOMWindowMediaDevicesConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9382 | { |
9383 | UNUSED_PARAM(throwScope); |
9384 | UNUSED_PARAM(state); |
9385 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9386 | return jsUndefined(); |
9387 | return JSMediaDevices::getConstructor(state.vm(), &thisObject); |
9388 | } |
9389 | |
9390 | EncodedJSValue jsDOMWindowMediaDevicesConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9391 | { |
9392 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaDevicesConstructorGetter>(*state, thisValue, "MediaDevices" ); |
9393 | } |
9394 | |
9395 | #endif |
9396 | |
9397 | #if ENABLE(MEDIA_STREAM) |
9398 | static inline bool setJSDOMWindowMediaDevicesConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9399 | { |
9400 | UNUSED_PARAM(throwScope); |
9401 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9402 | return false; |
9403 | // Shadowing a built-in constructor. |
9404 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaDevices" ), strlen("MediaDevices" )), value); |
9405 | } |
9406 | |
9407 | bool setJSDOMWindowMediaDevicesConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9408 | { |
9409 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaDevicesConstructorSetter>(*state, thisValue, encodedValue, "MediaDevices" ); |
9410 | } |
9411 | |
9412 | #endif |
9413 | |
9414 | #if ENABLE(MEDIA_STREAM) |
9415 | static inline JSValue jsDOMWindowMediaStreamConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9416 | { |
9417 | UNUSED_PARAM(throwScope); |
9418 | UNUSED_PARAM(state); |
9419 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9420 | return jsUndefined(); |
9421 | return JSMediaStream::getConstructor(state.vm(), &thisObject); |
9422 | } |
9423 | |
9424 | EncodedJSValue jsDOMWindowMediaStreamConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9425 | { |
9426 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaStreamConstructorGetter>(*state, thisValue, "MediaStream" ); |
9427 | } |
9428 | |
9429 | #endif |
9430 | |
9431 | #if ENABLE(MEDIA_STREAM) |
9432 | static inline bool setJSDOMWindowMediaStreamConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9433 | { |
9434 | UNUSED_PARAM(throwScope); |
9435 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9436 | return false; |
9437 | // Shadowing a built-in constructor. |
9438 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaStream" ), strlen("MediaStream" )), value); |
9439 | } |
9440 | |
9441 | bool setJSDOMWindowMediaStreamConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9442 | { |
9443 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaStreamConstructorSetter>(*state, thisValue, encodedValue, "MediaStream" ); |
9444 | } |
9445 | |
9446 | #endif |
9447 | |
9448 | #if ENABLE(MEDIA_STREAM) |
9449 | static inline JSValue jsDOMWindowMediaStreamTrackConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9450 | { |
9451 | UNUSED_PARAM(throwScope); |
9452 | UNUSED_PARAM(state); |
9453 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9454 | return jsUndefined(); |
9455 | return JSMediaStreamTrack::getConstructor(state.vm(), &thisObject); |
9456 | } |
9457 | |
9458 | EncodedJSValue jsDOMWindowMediaStreamTrackConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9459 | { |
9460 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaStreamTrackConstructorGetter>(*state, thisValue, "MediaStreamTrack" ); |
9461 | } |
9462 | |
9463 | #endif |
9464 | |
9465 | #if ENABLE(MEDIA_STREAM) |
9466 | static inline bool setJSDOMWindowMediaStreamTrackConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9467 | { |
9468 | UNUSED_PARAM(throwScope); |
9469 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9470 | return false; |
9471 | // Shadowing a built-in constructor. |
9472 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaStreamTrack" ), strlen("MediaStreamTrack" )), value); |
9473 | } |
9474 | |
9475 | bool setJSDOMWindowMediaStreamTrackConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9476 | { |
9477 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaStreamTrackConstructorSetter>(*state, thisValue, encodedValue, "MediaStreamTrack" ); |
9478 | } |
9479 | |
9480 | #endif |
9481 | |
9482 | #if ENABLE(MEDIA_STREAM) |
9483 | static inline JSValue jsDOMWindowMediaStreamTrackEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9484 | { |
9485 | UNUSED_PARAM(throwScope); |
9486 | UNUSED_PARAM(state); |
9487 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9488 | return jsUndefined(); |
9489 | return JSMediaStreamTrackEvent::getConstructor(state.vm(), &thisObject); |
9490 | } |
9491 | |
9492 | EncodedJSValue jsDOMWindowMediaStreamTrackEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9493 | { |
9494 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaStreamTrackEventConstructorGetter>(*state, thisValue, "MediaStreamTrackEvent" ); |
9495 | } |
9496 | |
9497 | #endif |
9498 | |
9499 | #if ENABLE(MEDIA_STREAM) |
9500 | static inline bool setJSDOMWindowMediaStreamTrackEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9501 | { |
9502 | UNUSED_PARAM(throwScope); |
9503 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9504 | return false; |
9505 | // Shadowing a built-in constructor. |
9506 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaStreamTrackEvent" ), strlen("MediaStreamTrackEvent" )), value); |
9507 | } |
9508 | |
9509 | bool setJSDOMWindowMediaStreamTrackEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9510 | { |
9511 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaStreamTrackEventConstructorSetter>(*state, thisValue, encodedValue, "MediaStreamTrackEvent" ); |
9512 | } |
9513 | |
9514 | #endif |
9515 | |
9516 | #if ENABLE(MEDIA_STREAM) |
9517 | static inline JSValue jsDOMWindowOverconstrainedErrorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9518 | { |
9519 | UNUSED_PARAM(throwScope); |
9520 | UNUSED_PARAM(state); |
9521 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9522 | return jsUndefined(); |
9523 | return JSOverconstrainedError::getConstructor(state.vm(), &thisObject); |
9524 | } |
9525 | |
9526 | EncodedJSValue jsDOMWindowOverconstrainedErrorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9527 | { |
9528 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOverconstrainedErrorConstructorGetter>(*state, thisValue, "OverconstrainedError" ); |
9529 | } |
9530 | |
9531 | #endif |
9532 | |
9533 | #if ENABLE(MEDIA_STREAM) |
9534 | static inline bool setJSDOMWindowOverconstrainedErrorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9535 | { |
9536 | UNUSED_PARAM(throwScope); |
9537 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9538 | return false; |
9539 | // Shadowing a built-in constructor. |
9540 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OverconstrainedError" ), strlen("OverconstrainedError" )), value); |
9541 | } |
9542 | |
9543 | bool setJSDOMWindowOverconstrainedErrorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9544 | { |
9545 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOverconstrainedErrorConstructorSetter>(*state, thisValue, encodedValue, "OverconstrainedError" ); |
9546 | } |
9547 | |
9548 | #endif |
9549 | |
9550 | #if ENABLE(MEDIA_STREAM) |
9551 | static inline JSValue jsDOMWindowOverconstrainedErrorEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9552 | { |
9553 | UNUSED_PARAM(throwScope); |
9554 | UNUSED_PARAM(state); |
9555 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9556 | return jsUndefined(); |
9557 | return JSOverconstrainedErrorEvent::getConstructor(state.vm(), &thisObject); |
9558 | } |
9559 | |
9560 | EncodedJSValue jsDOMWindowOverconstrainedErrorEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9561 | { |
9562 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOverconstrainedErrorEventConstructorGetter>(*state, thisValue, "OverconstrainedErrorEvent" ); |
9563 | } |
9564 | |
9565 | #endif |
9566 | |
9567 | #if ENABLE(MEDIA_STREAM) |
9568 | static inline bool setJSDOMWindowOverconstrainedErrorEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9569 | { |
9570 | UNUSED_PARAM(throwScope); |
9571 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9572 | return false; |
9573 | // Shadowing a built-in constructor. |
9574 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OverconstrainedErrorEvent" ), strlen("OverconstrainedErrorEvent" )), value); |
9575 | } |
9576 | |
9577 | bool setJSDOMWindowOverconstrainedErrorEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9578 | { |
9579 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOverconstrainedErrorEventConstructorSetter>(*state, thisValue, encodedValue, "OverconstrainedErrorEvent" ); |
9580 | } |
9581 | |
9582 | #endif |
9583 | |
9584 | #if ENABLE(WEB_RTC) |
9585 | static inline JSValue jsDOMWindowRTCCertificateConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9586 | { |
9587 | UNUSED_PARAM(throwScope); |
9588 | UNUSED_PARAM(state); |
9589 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9590 | return jsUndefined(); |
9591 | return JSRTCCertificate::getConstructor(state.vm(), &thisObject); |
9592 | } |
9593 | |
9594 | EncodedJSValue jsDOMWindowRTCCertificateConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9595 | { |
9596 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCCertificateConstructorGetter>(*state, thisValue, "RTCCertificate" ); |
9597 | } |
9598 | |
9599 | #endif |
9600 | |
9601 | #if ENABLE(WEB_RTC) |
9602 | static inline bool setJSDOMWindowRTCCertificateConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9603 | { |
9604 | UNUSED_PARAM(throwScope); |
9605 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9606 | return false; |
9607 | // Shadowing a built-in constructor. |
9608 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCCertificate" ), strlen("RTCCertificate" )), value); |
9609 | } |
9610 | |
9611 | bool setJSDOMWindowRTCCertificateConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9612 | { |
9613 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCCertificateConstructorSetter>(*state, thisValue, encodedValue, "RTCCertificate" ); |
9614 | } |
9615 | |
9616 | #endif |
9617 | |
9618 | #if ENABLE(WEB_RTC_DTMF) |
9619 | static inline JSValue jsDOMWindowRTCDTMFSenderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9620 | { |
9621 | UNUSED_PARAM(throwScope); |
9622 | UNUSED_PARAM(state); |
9623 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9624 | return jsUndefined(); |
9625 | return JSRTCDTMFSender::getConstructor(state.vm(), &thisObject); |
9626 | } |
9627 | |
9628 | EncodedJSValue jsDOMWindowRTCDTMFSenderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9629 | { |
9630 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCDTMFSenderConstructorGetter>(*state, thisValue, "RTCDTMFSender" ); |
9631 | } |
9632 | |
9633 | #endif |
9634 | |
9635 | #if ENABLE(WEB_RTC_DTMF) |
9636 | static inline bool setJSDOMWindowRTCDTMFSenderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9637 | { |
9638 | UNUSED_PARAM(throwScope); |
9639 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9640 | return false; |
9641 | // Shadowing a built-in constructor. |
9642 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCDTMFSender" ), strlen("RTCDTMFSender" )), value); |
9643 | } |
9644 | |
9645 | bool setJSDOMWindowRTCDTMFSenderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9646 | { |
9647 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCDTMFSenderConstructorSetter>(*state, thisValue, encodedValue, "RTCDTMFSender" ); |
9648 | } |
9649 | |
9650 | #endif |
9651 | |
9652 | #if ENABLE(WEB_RTC_DTMF) |
9653 | static inline JSValue jsDOMWindowRTCDTMFToneChangeEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9654 | { |
9655 | UNUSED_PARAM(throwScope); |
9656 | UNUSED_PARAM(state); |
9657 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9658 | return jsUndefined(); |
9659 | return JSRTCDTMFToneChangeEvent::getConstructor(state.vm(), &thisObject); |
9660 | } |
9661 | |
9662 | EncodedJSValue jsDOMWindowRTCDTMFToneChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9663 | { |
9664 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCDTMFToneChangeEventConstructorGetter>(*state, thisValue, "RTCDTMFToneChangeEvent" ); |
9665 | } |
9666 | |
9667 | #endif |
9668 | |
9669 | #if ENABLE(WEB_RTC_DTMF) |
9670 | static inline bool setJSDOMWindowRTCDTMFToneChangeEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9671 | { |
9672 | UNUSED_PARAM(throwScope); |
9673 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9674 | return false; |
9675 | // Shadowing a built-in constructor. |
9676 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCDTMFToneChangeEvent" ), strlen("RTCDTMFToneChangeEvent" )), value); |
9677 | } |
9678 | |
9679 | bool setJSDOMWindowRTCDTMFToneChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9680 | { |
9681 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCDTMFToneChangeEventConstructorSetter>(*state, thisValue, encodedValue, "RTCDTMFToneChangeEvent" ); |
9682 | } |
9683 | |
9684 | #endif |
9685 | |
9686 | #if ENABLE(WEB_RTC) |
9687 | static inline JSValue jsDOMWindowRTCDataChannelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9688 | { |
9689 | UNUSED_PARAM(throwScope); |
9690 | UNUSED_PARAM(state); |
9691 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9692 | return jsUndefined(); |
9693 | return JSRTCDataChannel::getConstructor(state.vm(), &thisObject); |
9694 | } |
9695 | |
9696 | EncodedJSValue jsDOMWindowRTCDataChannelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9697 | { |
9698 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCDataChannelConstructorGetter>(*state, thisValue, "RTCDataChannel" ); |
9699 | } |
9700 | |
9701 | #endif |
9702 | |
9703 | #if ENABLE(WEB_RTC) |
9704 | static inline bool setJSDOMWindowRTCDataChannelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9705 | { |
9706 | UNUSED_PARAM(throwScope); |
9707 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9708 | return false; |
9709 | // Shadowing a built-in constructor. |
9710 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCDataChannel" ), strlen("RTCDataChannel" )), value); |
9711 | } |
9712 | |
9713 | bool setJSDOMWindowRTCDataChannelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9714 | { |
9715 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCDataChannelConstructorSetter>(*state, thisValue, encodedValue, "RTCDataChannel" ); |
9716 | } |
9717 | |
9718 | #endif |
9719 | |
9720 | #if ENABLE(WEB_RTC) |
9721 | static inline JSValue jsDOMWindowRTCDataChannelEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9722 | { |
9723 | UNUSED_PARAM(throwScope); |
9724 | UNUSED_PARAM(state); |
9725 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9726 | return jsUndefined(); |
9727 | return JSRTCDataChannelEvent::getConstructor(state.vm(), &thisObject); |
9728 | } |
9729 | |
9730 | EncodedJSValue jsDOMWindowRTCDataChannelEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9731 | { |
9732 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCDataChannelEventConstructorGetter>(*state, thisValue, "RTCDataChannelEvent" ); |
9733 | } |
9734 | |
9735 | #endif |
9736 | |
9737 | #if ENABLE(WEB_RTC) |
9738 | static inline bool setJSDOMWindowRTCDataChannelEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9739 | { |
9740 | UNUSED_PARAM(throwScope); |
9741 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9742 | return false; |
9743 | // Shadowing a built-in constructor. |
9744 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCDataChannelEvent" ), strlen("RTCDataChannelEvent" )), value); |
9745 | } |
9746 | |
9747 | bool setJSDOMWindowRTCDataChannelEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9748 | { |
9749 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCDataChannelEventConstructorSetter>(*state, thisValue, encodedValue, "RTCDataChannelEvent" ); |
9750 | } |
9751 | |
9752 | #endif |
9753 | |
9754 | #if ENABLE(WEB_RTC) |
9755 | static inline JSValue jsDOMWindowRTCIceCandidateConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9756 | { |
9757 | UNUSED_PARAM(throwScope); |
9758 | UNUSED_PARAM(state); |
9759 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9760 | return jsUndefined(); |
9761 | return JSRTCIceCandidate::getConstructor(state.vm(), &thisObject); |
9762 | } |
9763 | |
9764 | EncodedJSValue jsDOMWindowRTCIceCandidateConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9765 | { |
9766 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCIceCandidateConstructorGetter>(*state, thisValue, "RTCIceCandidate" ); |
9767 | } |
9768 | |
9769 | #endif |
9770 | |
9771 | #if ENABLE(WEB_RTC) |
9772 | static inline bool setJSDOMWindowRTCIceCandidateConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9773 | { |
9774 | UNUSED_PARAM(throwScope); |
9775 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9776 | return false; |
9777 | // Shadowing a built-in constructor. |
9778 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCIceCandidate" ), strlen("RTCIceCandidate" )), value); |
9779 | } |
9780 | |
9781 | bool setJSDOMWindowRTCIceCandidateConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9782 | { |
9783 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCIceCandidateConstructorSetter>(*state, thisValue, encodedValue, "RTCIceCandidate" ); |
9784 | } |
9785 | |
9786 | #endif |
9787 | |
9788 | #if ENABLE(WEB_RTC) |
9789 | static inline JSValue jsDOMWindowRTCIceTransportConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9790 | { |
9791 | UNUSED_PARAM(throwScope); |
9792 | UNUSED_PARAM(state); |
9793 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9794 | return jsUndefined(); |
9795 | return JSRTCIceTransport::getConstructor(state.vm(), &thisObject); |
9796 | } |
9797 | |
9798 | EncodedJSValue jsDOMWindowRTCIceTransportConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9799 | { |
9800 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCIceTransportConstructorGetter>(*state, thisValue, "RTCIceTransport" ); |
9801 | } |
9802 | |
9803 | #endif |
9804 | |
9805 | #if ENABLE(WEB_RTC) |
9806 | static inline bool setJSDOMWindowRTCIceTransportConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9807 | { |
9808 | UNUSED_PARAM(throwScope); |
9809 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9810 | return false; |
9811 | // Shadowing a built-in constructor. |
9812 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCIceTransport" ), strlen("RTCIceTransport" )), value); |
9813 | } |
9814 | |
9815 | bool setJSDOMWindowRTCIceTransportConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9816 | { |
9817 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCIceTransportConstructorSetter>(*state, thisValue, encodedValue, "RTCIceTransport" ); |
9818 | } |
9819 | |
9820 | #endif |
9821 | |
9822 | #if ENABLE(WEB_RTC) |
9823 | static inline JSValue jsDOMWindowRTCPeerConnectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9824 | { |
9825 | UNUSED_PARAM(throwScope); |
9826 | UNUSED_PARAM(state); |
9827 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9828 | return jsUndefined(); |
9829 | return JSRTCPeerConnection::getConstructor(state.vm(), &thisObject); |
9830 | } |
9831 | |
9832 | EncodedJSValue jsDOMWindowRTCPeerConnectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9833 | { |
9834 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCPeerConnectionConstructorGetter>(*state, thisValue, "RTCPeerConnection" ); |
9835 | } |
9836 | |
9837 | #endif |
9838 | |
9839 | #if ENABLE(WEB_RTC) |
9840 | static inline bool setJSDOMWindowRTCPeerConnectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9841 | { |
9842 | UNUSED_PARAM(throwScope); |
9843 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9844 | return false; |
9845 | // Shadowing a built-in constructor. |
9846 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCPeerConnection" ), strlen("RTCPeerConnection" )), value); |
9847 | } |
9848 | |
9849 | bool setJSDOMWindowRTCPeerConnectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9850 | { |
9851 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCPeerConnectionConstructorSetter>(*state, thisValue, encodedValue, "RTCPeerConnection" ); |
9852 | } |
9853 | |
9854 | #endif |
9855 | |
9856 | #if ENABLE(WEB_RTC) |
9857 | static inline JSValue jsDOMWindowRTCPeerConnectionIceEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9858 | { |
9859 | UNUSED_PARAM(throwScope); |
9860 | UNUSED_PARAM(state); |
9861 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9862 | return jsUndefined(); |
9863 | return JSRTCPeerConnectionIceEvent::getConstructor(state.vm(), &thisObject); |
9864 | } |
9865 | |
9866 | EncodedJSValue jsDOMWindowRTCPeerConnectionIceEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9867 | { |
9868 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCPeerConnectionIceEventConstructorGetter>(*state, thisValue, "RTCPeerConnectionIceEvent" ); |
9869 | } |
9870 | |
9871 | #endif |
9872 | |
9873 | #if ENABLE(WEB_RTC) |
9874 | static inline bool setJSDOMWindowRTCPeerConnectionIceEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9875 | { |
9876 | UNUSED_PARAM(throwScope); |
9877 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9878 | return false; |
9879 | // Shadowing a built-in constructor. |
9880 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCPeerConnectionIceEvent" ), strlen("RTCPeerConnectionIceEvent" )), value); |
9881 | } |
9882 | |
9883 | bool setJSDOMWindowRTCPeerConnectionIceEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9884 | { |
9885 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCPeerConnectionIceEventConstructorSetter>(*state, thisValue, encodedValue, "RTCPeerConnectionIceEvent" ); |
9886 | } |
9887 | |
9888 | #endif |
9889 | |
9890 | #if ENABLE(WEB_RTC) |
9891 | static inline JSValue jsDOMWindowRTCRtpReceiverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9892 | { |
9893 | UNUSED_PARAM(throwScope); |
9894 | UNUSED_PARAM(state); |
9895 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9896 | return jsUndefined(); |
9897 | return JSRTCRtpReceiver::getConstructor(state.vm(), &thisObject); |
9898 | } |
9899 | |
9900 | EncodedJSValue jsDOMWindowRTCRtpReceiverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9901 | { |
9902 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCRtpReceiverConstructorGetter>(*state, thisValue, "RTCRtpReceiver" ); |
9903 | } |
9904 | |
9905 | #endif |
9906 | |
9907 | #if ENABLE(WEB_RTC) |
9908 | static inline bool setJSDOMWindowRTCRtpReceiverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9909 | { |
9910 | UNUSED_PARAM(throwScope); |
9911 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9912 | return false; |
9913 | // Shadowing a built-in constructor. |
9914 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCRtpReceiver" ), strlen("RTCRtpReceiver" )), value); |
9915 | } |
9916 | |
9917 | bool setJSDOMWindowRTCRtpReceiverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9918 | { |
9919 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCRtpReceiverConstructorSetter>(*state, thisValue, encodedValue, "RTCRtpReceiver" ); |
9920 | } |
9921 | |
9922 | #endif |
9923 | |
9924 | #if ENABLE(WEB_RTC) |
9925 | static inline JSValue jsDOMWindowRTCRtpSenderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9926 | { |
9927 | UNUSED_PARAM(throwScope); |
9928 | UNUSED_PARAM(state); |
9929 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9930 | return jsUndefined(); |
9931 | return JSRTCRtpSender::getConstructor(state.vm(), &thisObject); |
9932 | } |
9933 | |
9934 | EncodedJSValue jsDOMWindowRTCRtpSenderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9935 | { |
9936 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCRtpSenderConstructorGetter>(*state, thisValue, "RTCRtpSender" ); |
9937 | } |
9938 | |
9939 | #endif |
9940 | |
9941 | #if ENABLE(WEB_RTC) |
9942 | static inline bool setJSDOMWindowRTCRtpSenderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9943 | { |
9944 | UNUSED_PARAM(throwScope); |
9945 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9946 | return false; |
9947 | // Shadowing a built-in constructor. |
9948 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCRtpSender" ), strlen("RTCRtpSender" )), value); |
9949 | } |
9950 | |
9951 | bool setJSDOMWindowRTCRtpSenderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9952 | { |
9953 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCRtpSenderConstructorSetter>(*state, thisValue, encodedValue, "RTCRtpSender" ); |
9954 | } |
9955 | |
9956 | #endif |
9957 | |
9958 | #if ENABLE(WEB_RTC) |
9959 | static inline JSValue jsDOMWindowRTCRtpTransceiverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9960 | { |
9961 | UNUSED_PARAM(throwScope); |
9962 | UNUSED_PARAM(state); |
9963 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9964 | return jsUndefined(); |
9965 | return JSRTCRtpTransceiver::getConstructor(state.vm(), &thisObject); |
9966 | } |
9967 | |
9968 | EncodedJSValue jsDOMWindowRTCRtpTransceiverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
9969 | { |
9970 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCRtpTransceiverConstructorGetter>(*state, thisValue, "RTCRtpTransceiver" ); |
9971 | } |
9972 | |
9973 | #endif |
9974 | |
9975 | #if ENABLE(WEB_RTC) |
9976 | static inline bool setJSDOMWindowRTCRtpTransceiverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
9977 | { |
9978 | UNUSED_PARAM(throwScope); |
9979 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9980 | return false; |
9981 | // Shadowing a built-in constructor. |
9982 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCRtpTransceiver" ), strlen("RTCRtpTransceiver" )), value); |
9983 | } |
9984 | |
9985 | bool setJSDOMWindowRTCRtpTransceiverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
9986 | { |
9987 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCRtpTransceiverConstructorSetter>(*state, thisValue, encodedValue, "RTCRtpTransceiver" ); |
9988 | } |
9989 | |
9990 | #endif |
9991 | |
9992 | #if ENABLE(WEB_RTC) |
9993 | static inline JSValue jsDOMWindowRTCSessionDescriptionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
9994 | { |
9995 | UNUSED_PARAM(throwScope); |
9996 | UNUSED_PARAM(state); |
9997 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
9998 | return jsUndefined(); |
9999 | return JSRTCSessionDescription::getConstructor(state.vm(), &thisObject); |
10000 | } |
10001 | |
10002 | EncodedJSValue jsDOMWindowRTCSessionDescriptionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10003 | { |
10004 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCSessionDescriptionConstructorGetter>(*state, thisValue, "RTCSessionDescription" ); |
10005 | } |
10006 | |
10007 | #endif |
10008 | |
10009 | #if ENABLE(WEB_RTC) |
10010 | static inline bool setJSDOMWindowRTCSessionDescriptionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10011 | { |
10012 | UNUSED_PARAM(throwScope); |
10013 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10014 | return false; |
10015 | // Shadowing a built-in constructor. |
10016 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCSessionDescription" ), strlen("RTCSessionDescription" )), value); |
10017 | } |
10018 | |
10019 | bool setJSDOMWindowRTCSessionDescriptionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10020 | { |
10021 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCSessionDescriptionConstructorSetter>(*state, thisValue, encodedValue, "RTCSessionDescription" ); |
10022 | } |
10023 | |
10024 | #endif |
10025 | |
10026 | #if ENABLE(WEB_RTC) |
10027 | static inline JSValue jsDOMWindowRTCStatsReportConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10028 | { |
10029 | UNUSED_PARAM(throwScope); |
10030 | UNUSED_PARAM(state); |
10031 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10032 | return jsUndefined(); |
10033 | return JSRTCStatsReport::getConstructor(state.vm(), &thisObject); |
10034 | } |
10035 | |
10036 | EncodedJSValue jsDOMWindowRTCStatsReportConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10037 | { |
10038 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCStatsReportConstructorGetter>(*state, thisValue, "RTCStatsReport" ); |
10039 | } |
10040 | |
10041 | #endif |
10042 | |
10043 | #if ENABLE(WEB_RTC) |
10044 | static inline bool setJSDOMWindowRTCStatsReportConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10045 | { |
10046 | UNUSED_PARAM(throwScope); |
10047 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10048 | return false; |
10049 | // Shadowing a built-in constructor. |
10050 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCStatsReport" ), strlen("RTCStatsReport" )), value); |
10051 | } |
10052 | |
10053 | bool setJSDOMWindowRTCStatsReportConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10054 | { |
10055 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCStatsReportConstructorSetter>(*state, thisValue, encodedValue, "RTCStatsReport" ); |
10056 | } |
10057 | |
10058 | #endif |
10059 | |
10060 | #if ENABLE(WEB_RTC) |
10061 | static inline JSValue jsDOMWindowRTCTrackEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10062 | { |
10063 | UNUSED_PARAM(throwScope); |
10064 | UNUSED_PARAM(state); |
10065 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10066 | return jsUndefined(); |
10067 | return JSRTCTrackEvent::getConstructor(state.vm(), &thisObject); |
10068 | } |
10069 | |
10070 | EncodedJSValue jsDOMWindowRTCTrackEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10071 | { |
10072 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRTCTrackEventConstructorGetter>(*state, thisValue, "RTCTrackEvent" ); |
10073 | } |
10074 | |
10075 | #endif |
10076 | |
10077 | #if ENABLE(WEB_RTC) |
10078 | static inline bool setJSDOMWindowRTCTrackEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10079 | { |
10080 | UNUSED_PARAM(throwScope); |
10081 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10082 | return false; |
10083 | // Shadowing a built-in constructor. |
10084 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RTCTrackEvent" ), strlen("RTCTrackEvent" )), value); |
10085 | } |
10086 | |
10087 | bool setJSDOMWindowRTCTrackEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10088 | { |
10089 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRTCTrackEventConstructorSetter>(*state, thisValue, encodedValue, "RTCTrackEvent" ); |
10090 | } |
10091 | |
10092 | #endif |
10093 | |
10094 | #if ENABLE(NOTIFICATIONS) |
10095 | static inline JSValue jsDOMWindowNotificationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10096 | { |
10097 | UNUSED_PARAM(throwScope); |
10098 | UNUSED_PARAM(state); |
10099 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10100 | return jsUndefined(); |
10101 | return JSNotification::getConstructor(state.vm(), &thisObject); |
10102 | } |
10103 | |
10104 | EncodedJSValue jsDOMWindowNotificationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10105 | { |
10106 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNotificationConstructorGetter>(*state, thisValue, "Notification" ); |
10107 | } |
10108 | |
10109 | #endif |
10110 | |
10111 | #if ENABLE(NOTIFICATIONS) |
10112 | static inline bool setJSDOMWindowNotificationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10113 | { |
10114 | UNUSED_PARAM(throwScope); |
10115 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10116 | return false; |
10117 | // Shadowing a built-in constructor. |
10118 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Notification" ), strlen("Notification" )), value); |
10119 | } |
10120 | |
10121 | bool setJSDOMWindowNotificationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10122 | { |
10123 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNotificationConstructorSetter>(*state, thisValue, encodedValue, "Notification" ); |
10124 | } |
10125 | |
10126 | #endif |
10127 | |
10128 | #if ENABLE(PAYMENT_REQUEST) |
10129 | static inline JSValue jsDOMWindowMerchantValidationEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10130 | { |
10131 | UNUSED_PARAM(throwScope); |
10132 | UNUSED_PARAM(state); |
10133 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10134 | return jsUndefined(); |
10135 | return JSMerchantValidationEvent::getConstructor(state.vm(), &thisObject); |
10136 | } |
10137 | |
10138 | EncodedJSValue jsDOMWindowMerchantValidationEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10139 | { |
10140 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMerchantValidationEventConstructorGetter>(*state, thisValue, "MerchantValidationEvent" ); |
10141 | } |
10142 | |
10143 | #endif |
10144 | |
10145 | #if ENABLE(PAYMENT_REQUEST) |
10146 | static inline bool setJSDOMWindowMerchantValidationEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10147 | { |
10148 | UNUSED_PARAM(throwScope); |
10149 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10150 | return false; |
10151 | // Shadowing a built-in constructor. |
10152 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MerchantValidationEvent" ), strlen("MerchantValidationEvent" )), value); |
10153 | } |
10154 | |
10155 | bool setJSDOMWindowMerchantValidationEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10156 | { |
10157 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMerchantValidationEventConstructorSetter>(*state, thisValue, encodedValue, "MerchantValidationEvent" ); |
10158 | } |
10159 | |
10160 | #endif |
10161 | |
10162 | #if ENABLE(PAYMENT_REQUEST) |
10163 | static inline JSValue jsDOMWindowPaymentAddressConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10164 | { |
10165 | UNUSED_PARAM(throwScope); |
10166 | UNUSED_PARAM(state); |
10167 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10168 | return jsUndefined(); |
10169 | return JSPaymentAddress::getConstructor(state.vm(), &thisObject); |
10170 | } |
10171 | |
10172 | EncodedJSValue jsDOMWindowPaymentAddressConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10173 | { |
10174 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPaymentAddressConstructorGetter>(*state, thisValue, "PaymentAddress" ); |
10175 | } |
10176 | |
10177 | #endif |
10178 | |
10179 | #if ENABLE(PAYMENT_REQUEST) |
10180 | static inline bool setJSDOMWindowPaymentAddressConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10181 | { |
10182 | UNUSED_PARAM(throwScope); |
10183 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10184 | return false; |
10185 | // Shadowing a built-in constructor. |
10186 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PaymentAddress" ), strlen("PaymentAddress" )), value); |
10187 | } |
10188 | |
10189 | bool setJSDOMWindowPaymentAddressConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10190 | { |
10191 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPaymentAddressConstructorSetter>(*state, thisValue, encodedValue, "PaymentAddress" ); |
10192 | } |
10193 | |
10194 | #endif |
10195 | |
10196 | #if ENABLE(PAYMENT_REQUEST) |
10197 | static inline JSValue jsDOMWindowPaymentMethodChangeEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10198 | { |
10199 | UNUSED_PARAM(throwScope); |
10200 | UNUSED_PARAM(state); |
10201 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10202 | return jsUndefined(); |
10203 | return JSPaymentMethodChangeEvent::getConstructor(state.vm(), &thisObject); |
10204 | } |
10205 | |
10206 | EncodedJSValue jsDOMWindowPaymentMethodChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10207 | { |
10208 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPaymentMethodChangeEventConstructorGetter>(*state, thisValue, "PaymentMethodChangeEvent" ); |
10209 | } |
10210 | |
10211 | #endif |
10212 | |
10213 | #if ENABLE(PAYMENT_REQUEST) |
10214 | static inline bool setJSDOMWindowPaymentMethodChangeEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10215 | { |
10216 | UNUSED_PARAM(throwScope); |
10217 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10218 | return false; |
10219 | // Shadowing a built-in constructor. |
10220 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PaymentMethodChangeEvent" ), strlen("PaymentMethodChangeEvent" )), value); |
10221 | } |
10222 | |
10223 | bool setJSDOMWindowPaymentMethodChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10224 | { |
10225 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPaymentMethodChangeEventConstructorSetter>(*state, thisValue, encodedValue, "PaymentMethodChangeEvent" ); |
10226 | } |
10227 | |
10228 | #endif |
10229 | |
10230 | #if ENABLE(PAYMENT_REQUEST) |
10231 | static inline JSValue jsDOMWindowPaymentRequestConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10232 | { |
10233 | UNUSED_PARAM(throwScope); |
10234 | UNUSED_PARAM(state); |
10235 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10236 | return jsUndefined(); |
10237 | return JSPaymentRequest::getConstructor(state.vm(), &thisObject); |
10238 | } |
10239 | |
10240 | EncodedJSValue jsDOMWindowPaymentRequestConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10241 | { |
10242 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPaymentRequestConstructorGetter>(*state, thisValue, "PaymentRequest" ); |
10243 | } |
10244 | |
10245 | #endif |
10246 | |
10247 | #if ENABLE(PAYMENT_REQUEST) |
10248 | static inline bool setJSDOMWindowPaymentRequestConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10249 | { |
10250 | UNUSED_PARAM(throwScope); |
10251 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10252 | return false; |
10253 | // Shadowing a built-in constructor. |
10254 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PaymentRequest" ), strlen("PaymentRequest" )), value); |
10255 | } |
10256 | |
10257 | bool setJSDOMWindowPaymentRequestConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10258 | { |
10259 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPaymentRequestConstructorSetter>(*state, thisValue, encodedValue, "PaymentRequest" ); |
10260 | } |
10261 | |
10262 | #endif |
10263 | |
10264 | #if ENABLE(PAYMENT_REQUEST) |
10265 | static inline JSValue jsDOMWindowPaymentRequestUpdateEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10266 | { |
10267 | UNUSED_PARAM(throwScope); |
10268 | UNUSED_PARAM(state); |
10269 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10270 | return jsUndefined(); |
10271 | return JSPaymentRequestUpdateEvent::getConstructor(state.vm(), &thisObject); |
10272 | } |
10273 | |
10274 | EncodedJSValue jsDOMWindowPaymentRequestUpdateEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10275 | { |
10276 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPaymentRequestUpdateEventConstructorGetter>(*state, thisValue, "PaymentRequestUpdateEvent" ); |
10277 | } |
10278 | |
10279 | #endif |
10280 | |
10281 | #if ENABLE(PAYMENT_REQUEST) |
10282 | static inline bool setJSDOMWindowPaymentRequestUpdateEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10283 | { |
10284 | UNUSED_PARAM(throwScope); |
10285 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10286 | return false; |
10287 | // Shadowing a built-in constructor. |
10288 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PaymentRequestUpdateEvent" ), strlen("PaymentRequestUpdateEvent" )), value); |
10289 | } |
10290 | |
10291 | bool setJSDOMWindowPaymentRequestUpdateEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10292 | { |
10293 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPaymentRequestUpdateEventConstructorSetter>(*state, thisValue, encodedValue, "PaymentRequestUpdateEvent" ); |
10294 | } |
10295 | |
10296 | #endif |
10297 | |
10298 | #if ENABLE(PAYMENT_REQUEST) |
10299 | static inline JSValue jsDOMWindowPaymentResponseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10300 | { |
10301 | UNUSED_PARAM(throwScope); |
10302 | UNUSED_PARAM(state); |
10303 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10304 | return jsUndefined(); |
10305 | return JSPaymentResponse::getConstructor(state.vm(), &thisObject); |
10306 | } |
10307 | |
10308 | EncodedJSValue jsDOMWindowPaymentResponseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10309 | { |
10310 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPaymentResponseConstructorGetter>(*state, thisValue, "PaymentResponse" ); |
10311 | } |
10312 | |
10313 | #endif |
10314 | |
10315 | #if ENABLE(PAYMENT_REQUEST) |
10316 | static inline bool setJSDOMWindowPaymentResponseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10317 | { |
10318 | UNUSED_PARAM(throwScope); |
10319 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10320 | return false; |
10321 | // Shadowing a built-in constructor. |
10322 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PaymentResponse" ), strlen("PaymentResponse" )), value); |
10323 | } |
10324 | |
10325 | bool setJSDOMWindowPaymentResponseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10326 | { |
10327 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPaymentResponseConstructorSetter>(*state, thisValue, encodedValue, "PaymentResponse" ); |
10328 | } |
10329 | |
10330 | #endif |
10331 | |
10332 | #if ENABLE(SPEECH_SYNTHESIS) |
10333 | static inline JSValue jsDOMWindowSpeechSynthesisEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10334 | { |
10335 | UNUSED_PARAM(throwScope); |
10336 | UNUSED_PARAM(state); |
10337 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10338 | return jsUndefined(); |
10339 | return JSSpeechSynthesisEvent::getConstructor(state.vm(), &thisObject); |
10340 | } |
10341 | |
10342 | EncodedJSValue jsDOMWindowSpeechSynthesisEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10343 | { |
10344 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSpeechSynthesisEventConstructorGetter>(*state, thisValue, "SpeechSynthesisEvent" ); |
10345 | } |
10346 | |
10347 | #endif |
10348 | |
10349 | #if ENABLE(SPEECH_SYNTHESIS) |
10350 | static inline bool setJSDOMWindowSpeechSynthesisEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10351 | { |
10352 | UNUSED_PARAM(throwScope); |
10353 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10354 | return false; |
10355 | // Shadowing a built-in constructor. |
10356 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SpeechSynthesisEvent" ), strlen("SpeechSynthesisEvent" )), value); |
10357 | } |
10358 | |
10359 | bool setJSDOMWindowSpeechSynthesisEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10360 | { |
10361 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSpeechSynthesisEventConstructorSetter>(*state, thisValue, encodedValue, "SpeechSynthesisEvent" ); |
10362 | } |
10363 | |
10364 | #endif |
10365 | |
10366 | #if ENABLE(SPEECH_SYNTHESIS) |
10367 | static inline JSValue jsDOMWindowSpeechSynthesisUtteranceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10368 | { |
10369 | UNUSED_PARAM(throwScope); |
10370 | UNUSED_PARAM(state); |
10371 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10372 | return jsUndefined(); |
10373 | return JSSpeechSynthesisUtterance::getConstructor(state.vm(), &thisObject); |
10374 | } |
10375 | |
10376 | EncodedJSValue jsDOMWindowSpeechSynthesisUtteranceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10377 | { |
10378 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSpeechSynthesisUtteranceConstructorGetter>(*state, thisValue, "SpeechSynthesisUtterance" ); |
10379 | } |
10380 | |
10381 | #endif |
10382 | |
10383 | #if ENABLE(SPEECH_SYNTHESIS) |
10384 | static inline bool setJSDOMWindowSpeechSynthesisUtteranceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10385 | { |
10386 | UNUSED_PARAM(throwScope); |
10387 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10388 | return false; |
10389 | // Shadowing a built-in constructor. |
10390 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SpeechSynthesisUtterance" ), strlen("SpeechSynthesisUtterance" )), value); |
10391 | } |
10392 | |
10393 | bool setJSDOMWindowSpeechSynthesisUtteranceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10394 | { |
10395 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSpeechSynthesisUtteranceConstructorSetter>(*state, thisValue, encodedValue, "SpeechSynthesisUtterance" ); |
10396 | } |
10397 | |
10398 | #endif |
10399 | |
10400 | #if ENABLE(STREAMS_API) |
10401 | static inline JSValue jsDOMWindowByteLengthQueuingStrategyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10402 | { |
10403 | UNUSED_PARAM(throwScope); |
10404 | UNUSED_PARAM(state); |
10405 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10406 | return jsUndefined(); |
10407 | return JSByteLengthQueuingStrategy::getConstructor(state.vm(), &thisObject); |
10408 | } |
10409 | |
10410 | EncodedJSValue jsDOMWindowByteLengthQueuingStrategyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10411 | { |
10412 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowByteLengthQueuingStrategyConstructorGetter>(*state, thisValue, "ByteLengthQueuingStrategy" ); |
10413 | } |
10414 | |
10415 | #endif |
10416 | |
10417 | #if ENABLE(STREAMS_API) |
10418 | static inline bool setJSDOMWindowByteLengthQueuingStrategyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10419 | { |
10420 | UNUSED_PARAM(throwScope); |
10421 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10422 | return false; |
10423 | // Shadowing a built-in constructor. |
10424 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ByteLengthQueuingStrategy" ), strlen("ByteLengthQueuingStrategy" )), value); |
10425 | } |
10426 | |
10427 | bool setJSDOMWindowByteLengthQueuingStrategyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10428 | { |
10429 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowByteLengthQueuingStrategyConstructorSetter>(*state, thisValue, encodedValue, "ByteLengthQueuingStrategy" ); |
10430 | } |
10431 | |
10432 | #endif |
10433 | |
10434 | #if ENABLE(STREAMS_API) |
10435 | static inline JSValue jsDOMWindowCountQueuingStrategyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10436 | { |
10437 | UNUSED_PARAM(throwScope); |
10438 | UNUSED_PARAM(state); |
10439 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10440 | return jsUndefined(); |
10441 | return JSCountQueuingStrategy::getConstructor(state.vm(), &thisObject); |
10442 | } |
10443 | |
10444 | EncodedJSValue jsDOMWindowCountQueuingStrategyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10445 | { |
10446 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCountQueuingStrategyConstructorGetter>(*state, thisValue, "CountQueuingStrategy" ); |
10447 | } |
10448 | |
10449 | #endif |
10450 | |
10451 | #if ENABLE(STREAMS_API) |
10452 | static inline bool setJSDOMWindowCountQueuingStrategyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10453 | { |
10454 | UNUSED_PARAM(throwScope); |
10455 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10456 | return false; |
10457 | // Shadowing a built-in constructor. |
10458 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CountQueuingStrategy" ), strlen("CountQueuingStrategy" )), value); |
10459 | } |
10460 | |
10461 | bool setJSDOMWindowCountQueuingStrategyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10462 | { |
10463 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCountQueuingStrategyConstructorSetter>(*state, thisValue, encodedValue, "CountQueuingStrategy" ); |
10464 | } |
10465 | |
10466 | #endif |
10467 | |
10468 | #if ENABLE(STREAMS_API) |
10469 | static inline JSValue jsDOMWindowReadableByteStreamControllerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10470 | { |
10471 | UNUSED_PARAM(throwScope); |
10472 | UNUSED_PARAM(state); |
10473 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10474 | return jsUndefined(); |
10475 | return JSReadableByteStreamController::getConstructor(state.vm(), &thisObject); |
10476 | } |
10477 | |
10478 | EncodedJSValue jsDOMWindowReadableByteStreamControllerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10479 | { |
10480 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowReadableByteStreamControllerConstructorGetter>(*state, thisValue, "ReadableByteStreamController" ); |
10481 | } |
10482 | |
10483 | #endif |
10484 | |
10485 | #if ENABLE(STREAMS_API) |
10486 | static inline bool setJSDOMWindowReadableByteStreamControllerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10487 | { |
10488 | UNUSED_PARAM(throwScope); |
10489 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10490 | return false; |
10491 | // Shadowing a built-in constructor. |
10492 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ReadableByteStreamController" ), strlen("ReadableByteStreamController" )), value); |
10493 | } |
10494 | |
10495 | bool setJSDOMWindowReadableByteStreamControllerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10496 | { |
10497 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowReadableByteStreamControllerConstructorSetter>(*state, thisValue, encodedValue, "ReadableByteStreamController" ); |
10498 | } |
10499 | |
10500 | #endif |
10501 | |
10502 | #if ENABLE(STREAMS_API) |
10503 | static inline JSValue jsDOMWindowReadableStreamConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10504 | { |
10505 | UNUSED_PARAM(throwScope); |
10506 | UNUSED_PARAM(state); |
10507 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10508 | return jsUndefined(); |
10509 | return JSReadableStream::getConstructor(state.vm(), &thisObject); |
10510 | } |
10511 | |
10512 | EncodedJSValue jsDOMWindowReadableStreamConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10513 | { |
10514 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowReadableStreamConstructorGetter>(*state, thisValue, "ReadableStream" ); |
10515 | } |
10516 | |
10517 | #endif |
10518 | |
10519 | #if ENABLE(STREAMS_API) |
10520 | static inline bool setJSDOMWindowReadableStreamConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10521 | { |
10522 | UNUSED_PARAM(throwScope); |
10523 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10524 | return false; |
10525 | // Shadowing a built-in constructor. |
10526 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ReadableStream" ), strlen("ReadableStream" )), value); |
10527 | } |
10528 | |
10529 | bool setJSDOMWindowReadableStreamConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10530 | { |
10531 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowReadableStreamConstructorSetter>(*state, thisValue, encodedValue, "ReadableStream" ); |
10532 | } |
10533 | |
10534 | #endif |
10535 | |
10536 | #if ENABLE(STREAMS_API) |
10537 | static inline JSValue jsDOMWindowReadableStreamBYOBReaderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10538 | { |
10539 | UNUSED_PARAM(throwScope); |
10540 | UNUSED_PARAM(state); |
10541 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10542 | return jsUndefined(); |
10543 | return JSReadableStreamBYOBReader::getConstructor(state.vm(), &thisObject); |
10544 | } |
10545 | |
10546 | EncodedJSValue jsDOMWindowReadableStreamBYOBReaderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10547 | { |
10548 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowReadableStreamBYOBReaderConstructorGetter>(*state, thisValue, "ReadableStreamBYOBReader" ); |
10549 | } |
10550 | |
10551 | #endif |
10552 | |
10553 | #if ENABLE(STREAMS_API) |
10554 | static inline bool setJSDOMWindowReadableStreamBYOBReaderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10555 | { |
10556 | UNUSED_PARAM(throwScope); |
10557 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10558 | return false; |
10559 | // Shadowing a built-in constructor. |
10560 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ReadableStreamBYOBReader" ), strlen("ReadableStreamBYOBReader" )), value); |
10561 | } |
10562 | |
10563 | bool setJSDOMWindowReadableStreamBYOBReaderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10564 | { |
10565 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowReadableStreamBYOBReaderConstructorSetter>(*state, thisValue, encodedValue, "ReadableStreamBYOBReader" ); |
10566 | } |
10567 | |
10568 | #endif |
10569 | |
10570 | #if ENABLE(STREAMS_API) |
10571 | static inline JSValue jsDOMWindowReadableStreamBYOBRequestConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10572 | { |
10573 | UNUSED_PARAM(throwScope); |
10574 | UNUSED_PARAM(state); |
10575 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10576 | return jsUndefined(); |
10577 | return JSReadableStreamBYOBRequest::getConstructor(state.vm(), &thisObject); |
10578 | } |
10579 | |
10580 | EncodedJSValue jsDOMWindowReadableStreamBYOBRequestConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10581 | { |
10582 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowReadableStreamBYOBRequestConstructorGetter>(*state, thisValue, "ReadableStreamBYOBRequest" ); |
10583 | } |
10584 | |
10585 | #endif |
10586 | |
10587 | #if ENABLE(STREAMS_API) |
10588 | static inline bool setJSDOMWindowReadableStreamBYOBRequestConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10589 | { |
10590 | UNUSED_PARAM(throwScope); |
10591 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10592 | return false; |
10593 | // Shadowing a built-in constructor. |
10594 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ReadableStreamBYOBRequest" ), strlen("ReadableStreamBYOBRequest" )), value); |
10595 | } |
10596 | |
10597 | bool setJSDOMWindowReadableStreamBYOBRequestConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10598 | { |
10599 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowReadableStreamBYOBRequestConstructorSetter>(*state, thisValue, encodedValue, "ReadableStreamBYOBRequest" ); |
10600 | } |
10601 | |
10602 | #endif |
10603 | |
10604 | #if ENABLE(STREAMS_API) |
10605 | static inline JSValue jsDOMWindowReadableStreamDefaultControllerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10606 | { |
10607 | UNUSED_PARAM(throwScope); |
10608 | UNUSED_PARAM(state); |
10609 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10610 | return jsUndefined(); |
10611 | return JSReadableStreamDefaultController::getConstructor(state.vm(), &thisObject); |
10612 | } |
10613 | |
10614 | EncodedJSValue jsDOMWindowReadableStreamDefaultControllerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10615 | { |
10616 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowReadableStreamDefaultControllerConstructorGetter>(*state, thisValue, "ReadableStreamDefaultController" ); |
10617 | } |
10618 | |
10619 | #endif |
10620 | |
10621 | #if ENABLE(STREAMS_API) |
10622 | static inline bool setJSDOMWindowReadableStreamDefaultControllerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10623 | { |
10624 | UNUSED_PARAM(throwScope); |
10625 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10626 | return false; |
10627 | // Shadowing a built-in constructor. |
10628 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ReadableStreamDefaultController" ), strlen("ReadableStreamDefaultController" )), value); |
10629 | } |
10630 | |
10631 | bool setJSDOMWindowReadableStreamDefaultControllerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10632 | { |
10633 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowReadableStreamDefaultControllerConstructorSetter>(*state, thisValue, encodedValue, "ReadableStreamDefaultController" ); |
10634 | } |
10635 | |
10636 | #endif |
10637 | |
10638 | #if ENABLE(STREAMS_API) |
10639 | static inline JSValue jsDOMWindowReadableStreamDefaultReaderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10640 | { |
10641 | UNUSED_PARAM(throwScope); |
10642 | UNUSED_PARAM(state); |
10643 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10644 | return jsUndefined(); |
10645 | return JSReadableStreamDefaultReader::getConstructor(state.vm(), &thisObject); |
10646 | } |
10647 | |
10648 | EncodedJSValue jsDOMWindowReadableStreamDefaultReaderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10649 | { |
10650 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowReadableStreamDefaultReaderConstructorGetter>(*state, thisValue, "ReadableStreamDefaultReader" ); |
10651 | } |
10652 | |
10653 | #endif |
10654 | |
10655 | #if ENABLE(STREAMS_API) |
10656 | static inline bool setJSDOMWindowReadableStreamDefaultReaderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10657 | { |
10658 | UNUSED_PARAM(throwScope); |
10659 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10660 | return false; |
10661 | // Shadowing a built-in constructor. |
10662 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ReadableStreamDefaultReader" ), strlen("ReadableStreamDefaultReader" )), value); |
10663 | } |
10664 | |
10665 | bool setJSDOMWindowReadableStreamDefaultReaderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10666 | { |
10667 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowReadableStreamDefaultReaderConstructorSetter>(*state, thisValue, encodedValue, "ReadableStreamDefaultReader" ); |
10668 | } |
10669 | |
10670 | #endif |
10671 | |
10672 | #if ENABLE(STREAMS_API) |
10673 | static inline JSValue jsDOMWindowWritableStreamConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10674 | { |
10675 | UNUSED_PARAM(throwScope); |
10676 | UNUSED_PARAM(state); |
10677 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10678 | return jsUndefined(); |
10679 | return JSWritableStream::getConstructor(state.vm(), &thisObject); |
10680 | } |
10681 | |
10682 | EncodedJSValue jsDOMWindowWritableStreamConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10683 | { |
10684 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWritableStreamConstructorGetter>(*state, thisValue, "WritableStream" ); |
10685 | } |
10686 | |
10687 | #endif |
10688 | |
10689 | #if ENABLE(STREAMS_API) |
10690 | static inline bool setJSDOMWindowWritableStreamConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10691 | { |
10692 | UNUSED_PARAM(throwScope); |
10693 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10694 | return false; |
10695 | // Shadowing a built-in constructor. |
10696 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WritableStream" ), strlen("WritableStream" )), value); |
10697 | } |
10698 | |
10699 | bool setJSDOMWindowWritableStreamConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10700 | { |
10701 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWritableStreamConstructorSetter>(*state, thisValue, encodedValue, "WritableStream" ); |
10702 | } |
10703 | |
10704 | #endif |
10705 | |
10706 | #if ENABLE(WEB_AUDIO) |
10707 | static inline JSValue jsDOMWindowAnalyserNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10708 | { |
10709 | UNUSED_PARAM(throwScope); |
10710 | UNUSED_PARAM(state); |
10711 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10712 | return jsUndefined(); |
10713 | return JSAnalyserNode::getConstructor(state.vm(), &thisObject); |
10714 | } |
10715 | |
10716 | EncodedJSValue jsDOMWindowAnalyserNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10717 | { |
10718 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAnalyserNodeConstructorGetter>(*state, thisValue, "AnalyserNode" ); |
10719 | } |
10720 | |
10721 | #endif |
10722 | |
10723 | #if ENABLE(WEB_AUDIO) |
10724 | static inline bool setJSDOMWindowAnalyserNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10725 | { |
10726 | UNUSED_PARAM(throwScope); |
10727 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10728 | return false; |
10729 | // Shadowing a built-in constructor. |
10730 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AnalyserNode" ), strlen("AnalyserNode" )), value); |
10731 | } |
10732 | |
10733 | bool setJSDOMWindowAnalyserNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10734 | { |
10735 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAnalyserNodeConstructorSetter>(*state, thisValue, encodedValue, "AnalyserNode" ); |
10736 | } |
10737 | |
10738 | #endif |
10739 | |
10740 | #if ENABLE(WEB_AUDIO) |
10741 | static inline JSValue jsDOMWindowAudioBufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10742 | { |
10743 | UNUSED_PARAM(throwScope); |
10744 | UNUSED_PARAM(state); |
10745 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10746 | return jsUndefined(); |
10747 | return JSAudioBuffer::getConstructor(state.vm(), &thisObject); |
10748 | } |
10749 | |
10750 | EncodedJSValue jsDOMWindowAudioBufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10751 | { |
10752 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioBufferConstructorGetter>(*state, thisValue, "AudioBuffer" ); |
10753 | } |
10754 | |
10755 | #endif |
10756 | |
10757 | #if ENABLE(WEB_AUDIO) |
10758 | static inline bool setJSDOMWindowAudioBufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10759 | { |
10760 | UNUSED_PARAM(throwScope); |
10761 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10762 | return false; |
10763 | // Shadowing a built-in constructor. |
10764 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioBuffer" ), strlen("AudioBuffer" )), value); |
10765 | } |
10766 | |
10767 | bool setJSDOMWindowAudioBufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10768 | { |
10769 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioBufferConstructorSetter>(*state, thisValue, encodedValue, "AudioBuffer" ); |
10770 | } |
10771 | |
10772 | #endif |
10773 | |
10774 | #if ENABLE(WEB_AUDIO) |
10775 | static inline JSValue jsDOMWindowAudioBufferSourceNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10776 | { |
10777 | UNUSED_PARAM(throwScope); |
10778 | UNUSED_PARAM(state); |
10779 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10780 | return jsUndefined(); |
10781 | return JSAudioBufferSourceNode::getConstructor(state.vm(), &thisObject); |
10782 | } |
10783 | |
10784 | EncodedJSValue jsDOMWindowAudioBufferSourceNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10785 | { |
10786 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioBufferSourceNodeConstructorGetter>(*state, thisValue, "AudioBufferSourceNode" ); |
10787 | } |
10788 | |
10789 | #endif |
10790 | |
10791 | #if ENABLE(WEB_AUDIO) |
10792 | static inline bool setJSDOMWindowAudioBufferSourceNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10793 | { |
10794 | UNUSED_PARAM(throwScope); |
10795 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10796 | return false; |
10797 | // Shadowing a built-in constructor. |
10798 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioBufferSourceNode" ), strlen("AudioBufferSourceNode" )), value); |
10799 | } |
10800 | |
10801 | bool setJSDOMWindowAudioBufferSourceNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10802 | { |
10803 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioBufferSourceNodeConstructorSetter>(*state, thisValue, encodedValue, "AudioBufferSourceNode" ); |
10804 | } |
10805 | |
10806 | #endif |
10807 | |
10808 | #if ENABLE(WEB_AUDIO) |
10809 | static inline JSValue jsDOMWindowWebkitAudioContextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10810 | { |
10811 | UNUSED_PARAM(throwScope); |
10812 | UNUSED_PARAM(state); |
10813 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10814 | return jsUndefined(); |
10815 | return JSAudioContext::getConstructor(state.vm(), &thisObject); |
10816 | } |
10817 | |
10818 | EncodedJSValue jsDOMWindowWebkitAudioContextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10819 | { |
10820 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebkitAudioContextConstructorGetter>(*state, thisValue, "webkitAudioContext" ); |
10821 | } |
10822 | |
10823 | #endif |
10824 | |
10825 | #if ENABLE(WEB_AUDIO) |
10826 | static inline bool setJSDOMWindowWebkitAudioContextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10827 | { |
10828 | UNUSED_PARAM(throwScope); |
10829 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10830 | return false; |
10831 | // Shadowing a built-in constructor. |
10832 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("webkitAudioContext" ), strlen("webkitAudioContext" )), value); |
10833 | } |
10834 | |
10835 | bool setJSDOMWindowWebkitAudioContextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10836 | { |
10837 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebkitAudioContextConstructorSetter>(*state, thisValue, encodedValue, "webkitAudioContext" ); |
10838 | } |
10839 | |
10840 | #endif |
10841 | |
10842 | #if ENABLE(WEB_AUDIO) |
10843 | static inline JSValue jsDOMWindowAudioDestinationNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10844 | { |
10845 | UNUSED_PARAM(throwScope); |
10846 | UNUSED_PARAM(state); |
10847 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10848 | return jsUndefined(); |
10849 | return JSAudioDestinationNode::getConstructor(state.vm(), &thisObject); |
10850 | } |
10851 | |
10852 | EncodedJSValue jsDOMWindowAudioDestinationNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10853 | { |
10854 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioDestinationNodeConstructorGetter>(*state, thisValue, "AudioDestinationNode" ); |
10855 | } |
10856 | |
10857 | #endif |
10858 | |
10859 | #if ENABLE(WEB_AUDIO) |
10860 | static inline bool setJSDOMWindowAudioDestinationNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10861 | { |
10862 | UNUSED_PARAM(throwScope); |
10863 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10864 | return false; |
10865 | // Shadowing a built-in constructor. |
10866 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioDestinationNode" ), strlen("AudioDestinationNode" )), value); |
10867 | } |
10868 | |
10869 | bool setJSDOMWindowAudioDestinationNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10870 | { |
10871 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioDestinationNodeConstructorSetter>(*state, thisValue, encodedValue, "AudioDestinationNode" ); |
10872 | } |
10873 | |
10874 | #endif |
10875 | |
10876 | #if ENABLE(WEB_AUDIO) |
10877 | static inline JSValue jsDOMWindowAudioListenerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10878 | { |
10879 | UNUSED_PARAM(throwScope); |
10880 | UNUSED_PARAM(state); |
10881 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10882 | return jsUndefined(); |
10883 | return JSAudioListener::getConstructor(state.vm(), &thisObject); |
10884 | } |
10885 | |
10886 | EncodedJSValue jsDOMWindowAudioListenerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10887 | { |
10888 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioListenerConstructorGetter>(*state, thisValue, "AudioListener" ); |
10889 | } |
10890 | |
10891 | #endif |
10892 | |
10893 | #if ENABLE(WEB_AUDIO) |
10894 | static inline bool setJSDOMWindowAudioListenerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10895 | { |
10896 | UNUSED_PARAM(throwScope); |
10897 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10898 | return false; |
10899 | // Shadowing a built-in constructor. |
10900 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioListener" ), strlen("AudioListener" )), value); |
10901 | } |
10902 | |
10903 | bool setJSDOMWindowAudioListenerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10904 | { |
10905 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioListenerConstructorSetter>(*state, thisValue, encodedValue, "AudioListener" ); |
10906 | } |
10907 | |
10908 | #endif |
10909 | |
10910 | #if ENABLE(WEB_AUDIO) |
10911 | static inline JSValue jsDOMWindowAudioNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10912 | { |
10913 | UNUSED_PARAM(throwScope); |
10914 | UNUSED_PARAM(state); |
10915 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10916 | return jsUndefined(); |
10917 | return JSAudioNode::getConstructor(state.vm(), &thisObject); |
10918 | } |
10919 | |
10920 | EncodedJSValue jsDOMWindowAudioNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10921 | { |
10922 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioNodeConstructorGetter>(*state, thisValue, "AudioNode" ); |
10923 | } |
10924 | |
10925 | #endif |
10926 | |
10927 | #if ENABLE(WEB_AUDIO) |
10928 | static inline bool setJSDOMWindowAudioNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10929 | { |
10930 | UNUSED_PARAM(throwScope); |
10931 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10932 | return false; |
10933 | // Shadowing a built-in constructor. |
10934 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioNode" ), strlen("AudioNode" )), value); |
10935 | } |
10936 | |
10937 | bool setJSDOMWindowAudioNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10938 | { |
10939 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioNodeConstructorSetter>(*state, thisValue, encodedValue, "AudioNode" ); |
10940 | } |
10941 | |
10942 | #endif |
10943 | |
10944 | #if ENABLE(WEB_AUDIO) |
10945 | static inline JSValue jsDOMWindowAudioParamConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10946 | { |
10947 | UNUSED_PARAM(throwScope); |
10948 | UNUSED_PARAM(state); |
10949 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10950 | return jsUndefined(); |
10951 | return JSAudioParam::getConstructor(state.vm(), &thisObject); |
10952 | } |
10953 | |
10954 | EncodedJSValue jsDOMWindowAudioParamConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10955 | { |
10956 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioParamConstructorGetter>(*state, thisValue, "AudioParam" ); |
10957 | } |
10958 | |
10959 | #endif |
10960 | |
10961 | #if ENABLE(WEB_AUDIO) |
10962 | static inline bool setJSDOMWindowAudioParamConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10963 | { |
10964 | UNUSED_PARAM(throwScope); |
10965 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10966 | return false; |
10967 | // Shadowing a built-in constructor. |
10968 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioParam" ), strlen("AudioParam" )), value); |
10969 | } |
10970 | |
10971 | bool setJSDOMWindowAudioParamConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
10972 | { |
10973 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioParamConstructorSetter>(*state, thisValue, encodedValue, "AudioParam" ); |
10974 | } |
10975 | |
10976 | #endif |
10977 | |
10978 | #if ENABLE(WEB_AUDIO) |
10979 | static inline JSValue jsDOMWindowAudioProcessingEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
10980 | { |
10981 | UNUSED_PARAM(throwScope); |
10982 | UNUSED_PARAM(state); |
10983 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
10984 | return jsUndefined(); |
10985 | return JSAudioProcessingEvent::getConstructor(state.vm(), &thisObject); |
10986 | } |
10987 | |
10988 | EncodedJSValue jsDOMWindowAudioProcessingEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
10989 | { |
10990 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioProcessingEventConstructorGetter>(*state, thisValue, "AudioProcessingEvent" ); |
10991 | } |
10992 | |
10993 | #endif |
10994 | |
10995 | #if ENABLE(WEB_AUDIO) |
10996 | static inline bool setJSDOMWindowAudioProcessingEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
10997 | { |
10998 | UNUSED_PARAM(throwScope); |
10999 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11000 | return false; |
11001 | // Shadowing a built-in constructor. |
11002 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioProcessingEvent" ), strlen("AudioProcessingEvent" )), value); |
11003 | } |
11004 | |
11005 | bool setJSDOMWindowAudioProcessingEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11006 | { |
11007 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioProcessingEventConstructorSetter>(*state, thisValue, encodedValue, "AudioProcessingEvent" ); |
11008 | } |
11009 | |
11010 | #endif |
11011 | |
11012 | #if ENABLE(WEB_AUDIO) |
11013 | static inline JSValue jsDOMWindowBiquadFilterNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11014 | { |
11015 | UNUSED_PARAM(throwScope); |
11016 | UNUSED_PARAM(state); |
11017 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11018 | return jsUndefined(); |
11019 | return JSBiquadFilterNode::getConstructor(state.vm(), &thisObject); |
11020 | } |
11021 | |
11022 | EncodedJSValue jsDOMWindowBiquadFilterNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11023 | { |
11024 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowBiquadFilterNodeConstructorGetter>(*state, thisValue, "BiquadFilterNode" ); |
11025 | } |
11026 | |
11027 | #endif |
11028 | |
11029 | #if ENABLE(WEB_AUDIO) |
11030 | static inline bool setJSDOMWindowBiquadFilterNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11031 | { |
11032 | UNUSED_PARAM(throwScope); |
11033 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11034 | return false; |
11035 | // Shadowing a built-in constructor. |
11036 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("BiquadFilterNode" ), strlen("BiquadFilterNode" )), value); |
11037 | } |
11038 | |
11039 | bool setJSDOMWindowBiquadFilterNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11040 | { |
11041 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowBiquadFilterNodeConstructorSetter>(*state, thisValue, encodedValue, "BiquadFilterNode" ); |
11042 | } |
11043 | |
11044 | #endif |
11045 | |
11046 | #if ENABLE(WEB_AUDIO) |
11047 | static inline JSValue jsDOMWindowChannelMergerNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11048 | { |
11049 | UNUSED_PARAM(throwScope); |
11050 | UNUSED_PARAM(state); |
11051 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11052 | return jsUndefined(); |
11053 | return JSChannelMergerNode::getConstructor(state.vm(), &thisObject); |
11054 | } |
11055 | |
11056 | EncodedJSValue jsDOMWindowChannelMergerNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11057 | { |
11058 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowChannelMergerNodeConstructorGetter>(*state, thisValue, "ChannelMergerNode" ); |
11059 | } |
11060 | |
11061 | #endif |
11062 | |
11063 | #if ENABLE(WEB_AUDIO) |
11064 | static inline bool setJSDOMWindowChannelMergerNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11065 | { |
11066 | UNUSED_PARAM(throwScope); |
11067 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11068 | return false; |
11069 | // Shadowing a built-in constructor. |
11070 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ChannelMergerNode" ), strlen("ChannelMergerNode" )), value); |
11071 | } |
11072 | |
11073 | bool setJSDOMWindowChannelMergerNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11074 | { |
11075 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowChannelMergerNodeConstructorSetter>(*state, thisValue, encodedValue, "ChannelMergerNode" ); |
11076 | } |
11077 | |
11078 | #endif |
11079 | |
11080 | #if ENABLE(WEB_AUDIO) |
11081 | static inline JSValue jsDOMWindowChannelSplitterNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11082 | { |
11083 | UNUSED_PARAM(throwScope); |
11084 | UNUSED_PARAM(state); |
11085 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11086 | return jsUndefined(); |
11087 | return JSChannelSplitterNode::getConstructor(state.vm(), &thisObject); |
11088 | } |
11089 | |
11090 | EncodedJSValue jsDOMWindowChannelSplitterNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11091 | { |
11092 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowChannelSplitterNodeConstructorGetter>(*state, thisValue, "ChannelSplitterNode" ); |
11093 | } |
11094 | |
11095 | #endif |
11096 | |
11097 | #if ENABLE(WEB_AUDIO) |
11098 | static inline bool setJSDOMWindowChannelSplitterNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11099 | { |
11100 | UNUSED_PARAM(throwScope); |
11101 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11102 | return false; |
11103 | // Shadowing a built-in constructor. |
11104 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ChannelSplitterNode" ), strlen("ChannelSplitterNode" )), value); |
11105 | } |
11106 | |
11107 | bool setJSDOMWindowChannelSplitterNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11108 | { |
11109 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowChannelSplitterNodeConstructorSetter>(*state, thisValue, encodedValue, "ChannelSplitterNode" ); |
11110 | } |
11111 | |
11112 | #endif |
11113 | |
11114 | #if ENABLE(WEB_AUDIO) |
11115 | static inline JSValue jsDOMWindowConvolverNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11116 | { |
11117 | UNUSED_PARAM(throwScope); |
11118 | UNUSED_PARAM(state); |
11119 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11120 | return jsUndefined(); |
11121 | return JSConvolverNode::getConstructor(state.vm(), &thisObject); |
11122 | } |
11123 | |
11124 | EncodedJSValue jsDOMWindowConvolverNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11125 | { |
11126 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowConvolverNodeConstructorGetter>(*state, thisValue, "ConvolverNode" ); |
11127 | } |
11128 | |
11129 | #endif |
11130 | |
11131 | #if ENABLE(WEB_AUDIO) |
11132 | static inline bool setJSDOMWindowConvolverNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11133 | { |
11134 | UNUSED_PARAM(throwScope); |
11135 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11136 | return false; |
11137 | // Shadowing a built-in constructor. |
11138 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ConvolverNode" ), strlen("ConvolverNode" )), value); |
11139 | } |
11140 | |
11141 | bool setJSDOMWindowConvolverNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11142 | { |
11143 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowConvolverNodeConstructorSetter>(*state, thisValue, encodedValue, "ConvolverNode" ); |
11144 | } |
11145 | |
11146 | #endif |
11147 | |
11148 | #if ENABLE(WEB_AUDIO) |
11149 | static inline JSValue jsDOMWindowDelayNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11150 | { |
11151 | UNUSED_PARAM(throwScope); |
11152 | UNUSED_PARAM(state); |
11153 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11154 | return jsUndefined(); |
11155 | return JSDelayNode::getConstructor(state.vm(), &thisObject); |
11156 | } |
11157 | |
11158 | EncodedJSValue jsDOMWindowDelayNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11159 | { |
11160 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDelayNodeConstructorGetter>(*state, thisValue, "DelayNode" ); |
11161 | } |
11162 | |
11163 | #endif |
11164 | |
11165 | #if ENABLE(WEB_AUDIO) |
11166 | static inline bool setJSDOMWindowDelayNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11167 | { |
11168 | UNUSED_PARAM(throwScope); |
11169 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11170 | return false; |
11171 | // Shadowing a built-in constructor. |
11172 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DelayNode" ), strlen("DelayNode" )), value); |
11173 | } |
11174 | |
11175 | bool setJSDOMWindowDelayNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11176 | { |
11177 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDelayNodeConstructorSetter>(*state, thisValue, encodedValue, "DelayNode" ); |
11178 | } |
11179 | |
11180 | #endif |
11181 | |
11182 | #if ENABLE(WEB_AUDIO) |
11183 | static inline JSValue jsDOMWindowDynamicsCompressorNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11184 | { |
11185 | UNUSED_PARAM(throwScope); |
11186 | UNUSED_PARAM(state); |
11187 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11188 | return jsUndefined(); |
11189 | return JSDynamicsCompressorNode::getConstructor(state.vm(), &thisObject); |
11190 | } |
11191 | |
11192 | EncodedJSValue jsDOMWindowDynamicsCompressorNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11193 | { |
11194 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDynamicsCompressorNodeConstructorGetter>(*state, thisValue, "DynamicsCompressorNode" ); |
11195 | } |
11196 | |
11197 | #endif |
11198 | |
11199 | #if ENABLE(WEB_AUDIO) |
11200 | static inline bool setJSDOMWindowDynamicsCompressorNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11201 | { |
11202 | UNUSED_PARAM(throwScope); |
11203 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11204 | return false; |
11205 | // Shadowing a built-in constructor. |
11206 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DynamicsCompressorNode" ), strlen("DynamicsCompressorNode" )), value); |
11207 | } |
11208 | |
11209 | bool setJSDOMWindowDynamicsCompressorNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11210 | { |
11211 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDynamicsCompressorNodeConstructorSetter>(*state, thisValue, encodedValue, "DynamicsCompressorNode" ); |
11212 | } |
11213 | |
11214 | #endif |
11215 | |
11216 | #if ENABLE(WEB_AUDIO) |
11217 | static inline JSValue jsDOMWindowGainNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11218 | { |
11219 | UNUSED_PARAM(throwScope); |
11220 | UNUSED_PARAM(state); |
11221 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11222 | return jsUndefined(); |
11223 | return JSGainNode::getConstructor(state.vm(), &thisObject); |
11224 | } |
11225 | |
11226 | EncodedJSValue jsDOMWindowGainNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11227 | { |
11228 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGainNodeConstructorGetter>(*state, thisValue, "GainNode" ); |
11229 | } |
11230 | |
11231 | #endif |
11232 | |
11233 | #if ENABLE(WEB_AUDIO) |
11234 | static inline bool setJSDOMWindowGainNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11235 | { |
11236 | UNUSED_PARAM(throwScope); |
11237 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11238 | return false; |
11239 | // Shadowing a built-in constructor. |
11240 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GainNode" ), strlen("GainNode" )), value); |
11241 | } |
11242 | |
11243 | bool setJSDOMWindowGainNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11244 | { |
11245 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGainNodeConstructorSetter>(*state, thisValue, encodedValue, "GainNode" ); |
11246 | } |
11247 | |
11248 | #endif |
11249 | |
11250 | #if ENABLE(VIDEO) && ENABLE(WEB_AUDIO) |
11251 | static inline JSValue jsDOMWindowMediaElementAudioSourceNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11252 | { |
11253 | UNUSED_PARAM(throwScope); |
11254 | UNUSED_PARAM(state); |
11255 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11256 | return jsUndefined(); |
11257 | return JSMediaElementAudioSourceNode::getConstructor(state.vm(), &thisObject); |
11258 | } |
11259 | |
11260 | EncodedJSValue jsDOMWindowMediaElementAudioSourceNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11261 | { |
11262 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaElementAudioSourceNodeConstructorGetter>(*state, thisValue, "MediaElementAudioSourceNode" ); |
11263 | } |
11264 | |
11265 | #endif |
11266 | |
11267 | #if ENABLE(VIDEO) && ENABLE(WEB_AUDIO) |
11268 | static inline bool setJSDOMWindowMediaElementAudioSourceNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11269 | { |
11270 | UNUSED_PARAM(throwScope); |
11271 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11272 | return false; |
11273 | // Shadowing a built-in constructor. |
11274 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaElementAudioSourceNode" ), strlen("MediaElementAudioSourceNode" )), value); |
11275 | } |
11276 | |
11277 | bool setJSDOMWindowMediaElementAudioSourceNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11278 | { |
11279 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaElementAudioSourceNodeConstructorSetter>(*state, thisValue, encodedValue, "MediaElementAudioSourceNode" ); |
11280 | } |
11281 | |
11282 | #endif |
11283 | |
11284 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
11285 | static inline JSValue jsDOMWindowMediaStreamAudioDestinationNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11286 | { |
11287 | UNUSED_PARAM(throwScope); |
11288 | UNUSED_PARAM(state); |
11289 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11290 | return jsUndefined(); |
11291 | return JSMediaStreamAudioDestinationNode::getConstructor(state.vm(), &thisObject); |
11292 | } |
11293 | |
11294 | EncodedJSValue jsDOMWindowMediaStreamAudioDestinationNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11295 | { |
11296 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaStreamAudioDestinationNodeConstructorGetter>(*state, thisValue, "MediaStreamAudioDestinationNode" ); |
11297 | } |
11298 | |
11299 | #endif |
11300 | |
11301 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
11302 | static inline bool setJSDOMWindowMediaStreamAudioDestinationNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11303 | { |
11304 | UNUSED_PARAM(throwScope); |
11305 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11306 | return false; |
11307 | // Shadowing a built-in constructor. |
11308 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaStreamAudioDestinationNode" ), strlen("MediaStreamAudioDestinationNode" )), value); |
11309 | } |
11310 | |
11311 | bool setJSDOMWindowMediaStreamAudioDestinationNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11312 | { |
11313 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaStreamAudioDestinationNodeConstructorSetter>(*state, thisValue, encodedValue, "MediaStreamAudioDestinationNode" ); |
11314 | } |
11315 | |
11316 | #endif |
11317 | |
11318 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
11319 | static inline JSValue jsDOMWindowMediaStreamAudioSourceNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11320 | { |
11321 | UNUSED_PARAM(throwScope); |
11322 | UNUSED_PARAM(state); |
11323 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11324 | return jsUndefined(); |
11325 | return JSMediaStreamAudioSourceNode::getConstructor(state.vm(), &thisObject); |
11326 | } |
11327 | |
11328 | EncodedJSValue jsDOMWindowMediaStreamAudioSourceNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11329 | { |
11330 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaStreamAudioSourceNodeConstructorGetter>(*state, thisValue, "MediaStreamAudioSourceNode" ); |
11331 | } |
11332 | |
11333 | #endif |
11334 | |
11335 | #if ENABLE(MEDIA_STREAM) && ENABLE(WEB_AUDIO) |
11336 | static inline bool setJSDOMWindowMediaStreamAudioSourceNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11337 | { |
11338 | UNUSED_PARAM(throwScope); |
11339 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11340 | return false; |
11341 | // Shadowing a built-in constructor. |
11342 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaStreamAudioSourceNode" ), strlen("MediaStreamAudioSourceNode" )), value); |
11343 | } |
11344 | |
11345 | bool setJSDOMWindowMediaStreamAudioSourceNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11346 | { |
11347 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaStreamAudioSourceNodeConstructorSetter>(*state, thisValue, encodedValue, "MediaStreamAudioSourceNode" ); |
11348 | } |
11349 | |
11350 | #endif |
11351 | |
11352 | #if ENABLE(WEB_AUDIO) |
11353 | static inline JSValue jsDOMWindowOfflineAudioCompletionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11354 | { |
11355 | UNUSED_PARAM(throwScope); |
11356 | UNUSED_PARAM(state); |
11357 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11358 | return jsUndefined(); |
11359 | return JSOfflineAudioCompletionEvent::getConstructor(state.vm(), &thisObject); |
11360 | } |
11361 | |
11362 | EncodedJSValue jsDOMWindowOfflineAudioCompletionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11363 | { |
11364 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOfflineAudioCompletionEventConstructorGetter>(*state, thisValue, "OfflineAudioCompletionEvent" ); |
11365 | } |
11366 | |
11367 | #endif |
11368 | |
11369 | #if ENABLE(WEB_AUDIO) |
11370 | static inline bool setJSDOMWindowOfflineAudioCompletionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11371 | { |
11372 | UNUSED_PARAM(throwScope); |
11373 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11374 | return false; |
11375 | // Shadowing a built-in constructor. |
11376 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OfflineAudioCompletionEvent" ), strlen("OfflineAudioCompletionEvent" )), value); |
11377 | } |
11378 | |
11379 | bool setJSDOMWindowOfflineAudioCompletionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11380 | { |
11381 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOfflineAudioCompletionEventConstructorSetter>(*state, thisValue, encodedValue, "OfflineAudioCompletionEvent" ); |
11382 | } |
11383 | |
11384 | #endif |
11385 | |
11386 | #if ENABLE(WEB_AUDIO) |
11387 | static inline JSValue jsDOMWindowWebkitOfflineAudioContextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11388 | { |
11389 | UNUSED_PARAM(throwScope); |
11390 | UNUSED_PARAM(state); |
11391 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11392 | return jsUndefined(); |
11393 | return JSOfflineAudioContext::getConstructor(state.vm(), &thisObject); |
11394 | } |
11395 | |
11396 | EncodedJSValue jsDOMWindowWebkitOfflineAudioContextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11397 | { |
11398 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebkitOfflineAudioContextConstructorGetter>(*state, thisValue, "webkitOfflineAudioContext" ); |
11399 | } |
11400 | |
11401 | #endif |
11402 | |
11403 | #if ENABLE(WEB_AUDIO) |
11404 | static inline bool setJSDOMWindowWebkitOfflineAudioContextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11405 | { |
11406 | UNUSED_PARAM(throwScope); |
11407 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11408 | return false; |
11409 | // Shadowing a built-in constructor. |
11410 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("webkitOfflineAudioContext" ), strlen("webkitOfflineAudioContext" )), value); |
11411 | } |
11412 | |
11413 | bool setJSDOMWindowWebkitOfflineAudioContextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11414 | { |
11415 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebkitOfflineAudioContextConstructorSetter>(*state, thisValue, encodedValue, "webkitOfflineAudioContext" ); |
11416 | } |
11417 | |
11418 | #endif |
11419 | |
11420 | #if ENABLE(WEB_AUDIO) |
11421 | static inline JSValue jsDOMWindowOscillatorNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11422 | { |
11423 | UNUSED_PARAM(throwScope); |
11424 | UNUSED_PARAM(state); |
11425 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11426 | return jsUndefined(); |
11427 | return JSOscillatorNode::getConstructor(state.vm(), &thisObject); |
11428 | } |
11429 | |
11430 | EncodedJSValue jsDOMWindowOscillatorNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11431 | { |
11432 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOscillatorNodeConstructorGetter>(*state, thisValue, "OscillatorNode" ); |
11433 | } |
11434 | |
11435 | #endif |
11436 | |
11437 | #if ENABLE(WEB_AUDIO) |
11438 | static inline bool setJSDOMWindowOscillatorNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11439 | { |
11440 | UNUSED_PARAM(throwScope); |
11441 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11442 | return false; |
11443 | // Shadowing a built-in constructor. |
11444 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OscillatorNode" ), strlen("OscillatorNode" )), value); |
11445 | } |
11446 | |
11447 | bool setJSDOMWindowOscillatorNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11448 | { |
11449 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOscillatorNodeConstructorSetter>(*state, thisValue, encodedValue, "OscillatorNode" ); |
11450 | } |
11451 | |
11452 | #endif |
11453 | |
11454 | #if ENABLE(WEB_AUDIO) |
11455 | static inline JSValue jsDOMWindowWebkitAudioPannerNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11456 | { |
11457 | UNUSED_PARAM(throwScope); |
11458 | UNUSED_PARAM(state); |
11459 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11460 | return jsUndefined(); |
11461 | return JSPannerNode::getConstructor(state.vm(), &thisObject); |
11462 | } |
11463 | |
11464 | EncodedJSValue jsDOMWindowWebkitAudioPannerNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11465 | { |
11466 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebkitAudioPannerNodeConstructorGetter>(*state, thisValue, "webkitAudioPannerNode" ); |
11467 | } |
11468 | |
11469 | #endif |
11470 | |
11471 | #if ENABLE(WEB_AUDIO) |
11472 | static inline bool setJSDOMWindowWebkitAudioPannerNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11473 | { |
11474 | UNUSED_PARAM(throwScope); |
11475 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11476 | return false; |
11477 | // Shadowing a built-in constructor. |
11478 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("webkitAudioPannerNode" ), strlen("webkitAudioPannerNode" )), value); |
11479 | } |
11480 | |
11481 | bool setJSDOMWindowWebkitAudioPannerNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11482 | { |
11483 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebkitAudioPannerNodeConstructorSetter>(*state, thisValue, encodedValue, "webkitAudioPannerNode" ); |
11484 | } |
11485 | |
11486 | #endif |
11487 | |
11488 | #if ENABLE(WEB_AUDIO) |
11489 | static inline JSValue jsDOMWindowPeriodicWaveConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11490 | { |
11491 | UNUSED_PARAM(throwScope); |
11492 | UNUSED_PARAM(state); |
11493 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11494 | return jsUndefined(); |
11495 | return JSPeriodicWave::getConstructor(state.vm(), &thisObject); |
11496 | } |
11497 | |
11498 | EncodedJSValue jsDOMWindowPeriodicWaveConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11499 | { |
11500 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPeriodicWaveConstructorGetter>(*state, thisValue, "PeriodicWave" ); |
11501 | } |
11502 | |
11503 | #endif |
11504 | |
11505 | #if ENABLE(WEB_AUDIO) |
11506 | static inline bool setJSDOMWindowPeriodicWaveConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11507 | { |
11508 | UNUSED_PARAM(throwScope); |
11509 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11510 | return false; |
11511 | // Shadowing a built-in constructor. |
11512 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PeriodicWave" ), strlen("PeriodicWave" )), value); |
11513 | } |
11514 | |
11515 | bool setJSDOMWindowPeriodicWaveConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11516 | { |
11517 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPeriodicWaveConstructorSetter>(*state, thisValue, encodedValue, "PeriodicWave" ); |
11518 | } |
11519 | |
11520 | #endif |
11521 | |
11522 | #if ENABLE(WEB_AUDIO) |
11523 | static inline JSValue jsDOMWindowScriptProcessorNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11524 | { |
11525 | UNUSED_PARAM(throwScope); |
11526 | UNUSED_PARAM(state); |
11527 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11528 | return jsUndefined(); |
11529 | return JSScriptProcessorNode::getConstructor(state.vm(), &thisObject); |
11530 | } |
11531 | |
11532 | EncodedJSValue jsDOMWindowScriptProcessorNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11533 | { |
11534 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScriptProcessorNodeConstructorGetter>(*state, thisValue, "ScriptProcessorNode" ); |
11535 | } |
11536 | |
11537 | #endif |
11538 | |
11539 | #if ENABLE(WEB_AUDIO) |
11540 | static inline bool setJSDOMWindowScriptProcessorNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11541 | { |
11542 | UNUSED_PARAM(throwScope); |
11543 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11544 | return false; |
11545 | // Shadowing a built-in constructor. |
11546 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ScriptProcessorNode" ), strlen("ScriptProcessorNode" )), value); |
11547 | } |
11548 | |
11549 | bool setJSDOMWindowScriptProcessorNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11550 | { |
11551 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScriptProcessorNodeConstructorSetter>(*state, thisValue, encodedValue, "ScriptProcessorNode" ); |
11552 | } |
11553 | |
11554 | #endif |
11555 | |
11556 | #if ENABLE(WEB_AUDIO) |
11557 | static inline JSValue jsDOMWindowWaveShaperNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11558 | { |
11559 | UNUSED_PARAM(throwScope); |
11560 | UNUSED_PARAM(state); |
11561 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11562 | return jsUndefined(); |
11563 | return JSWaveShaperNode::getConstructor(state.vm(), &thisObject); |
11564 | } |
11565 | |
11566 | EncodedJSValue jsDOMWindowWaveShaperNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11567 | { |
11568 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWaveShaperNodeConstructorGetter>(*state, thisValue, "WaveShaperNode" ); |
11569 | } |
11570 | |
11571 | #endif |
11572 | |
11573 | #if ENABLE(WEB_AUDIO) |
11574 | static inline bool setJSDOMWindowWaveShaperNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11575 | { |
11576 | UNUSED_PARAM(throwScope); |
11577 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11578 | return false; |
11579 | // Shadowing a built-in constructor. |
11580 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WaveShaperNode" ), strlen("WaveShaperNode" )), value); |
11581 | } |
11582 | |
11583 | bool setJSDOMWindowWaveShaperNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11584 | { |
11585 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWaveShaperNodeConstructorSetter>(*state, thisValue, encodedValue, "WaveShaperNode" ); |
11586 | } |
11587 | |
11588 | #endif |
11589 | |
11590 | #if ENABLE(WEB_AUTHN) |
11591 | static inline JSValue jsDOMWindowAuthenticatorAssertionResponseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11592 | { |
11593 | UNUSED_PARAM(throwScope); |
11594 | UNUSED_PARAM(state); |
11595 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11596 | return jsUndefined(); |
11597 | return JSAuthenticatorAssertionResponse::getConstructor(state.vm(), &thisObject); |
11598 | } |
11599 | |
11600 | EncodedJSValue jsDOMWindowAuthenticatorAssertionResponseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11601 | { |
11602 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAuthenticatorAssertionResponseConstructorGetter>(*state, thisValue, "AuthenticatorAssertionResponse" ); |
11603 | } |
11604 | |
11605 | #endif |
11606 | |
11607 | #if ENABLE(WEB_AUTHN) |
11608 | static inline bool setJSDOMWindowAuthenticatorAssertionResponseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11609 | { |
11610 | UNUSED_PARAM(throwScope); |
11611 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11612 | return false; |
11613 | // Shadowing a built-in constructor. |
11614 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AuthenticatorAssertionResponse" ), strlen("AuthenticatorAssertionResponse" )), value); |
11615 | } |
11616 | |
11617 | bool setJSDOMWindowAuthenticatorAssertionResponseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11618 | { |
11619 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAuthenticatorAssertionResponseConstructorSetter>(*state, thisValue, encodedValue, "AuthenticatorAssertionResponse" ); |
11620 | } |
11621 | |
11622 | #endif |
11623 | |
11624 | #if ENABLE(WEB_AUTHN) |
11625 | static inline JSValue jsDOMWindowAuthenticatorAttestationResponseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11626 | { |
11627 | UNUSED_PARAM(throwScope); |
11628 | UNUSED_PARAM(state); |
11629 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11630 | return jsUndefined(); |
11631 | return JSAuthenticatorAttestationResponse::getConstructor(state.vm(), &thisObject); |
11632 | } |
11633 | |
11634 | EncodedJSValue jsDOMWindowAuthenticatorAttestationResponseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11635 | { |
11636 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAuthenticatorAttestationResponseConstructorGetter>(*state, thisValue, "AuthenticatorAttestationResponse" ); |
11637 | } |
11638 | |
11639 | #endif |
11640 | |
11641 | #if ENABLE(WEB_AUTHN) |
11642 | static inline bool setJSDOMWindowAuthenticatorAttestationResponseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11643 | { |
11644 | UNUSED_PARAM(throwScope); |
11645 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11646 | return false; |
11647 | // Shadowing a built-in constructor. |
11648 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AuthenticatorAttestationResponse" ), strlen("AuthenticatorAttestationResponse" )), value); |
11649 | } |
11650 | |
11651 | bool setJSDOMWindowAuthenticatorAttestationResponseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11652 | { |
11653 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAuthenticatorAttestationResponseConstructorSetter>(*state, thisValue, encodedValue, "AuthenticatorAttestationResponse" ); |
11654 | } |
11655 | |
11656 | #endif |
11657 | |
11658 | #if ENABLE(WEB_AUTHN) |
11659 | static inline JSValue jsDOMWindowAuthenticatorResponseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11660 | { |
11661 | UNUSED_PARAM(throwScope); |
11662 | UNUSED_PARAM(state); |
11663 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11664 | return jsUndefined(); |
11665 | return JSAuthenticatorResponse::getConstructor(state.vm(), &thisObject); |
11666 | } |
11667 | |
11668 | EncodedJSValue jsDOMWindowAuthenticatorResponseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11669 | { |
11670 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAuthenticatorResponseConstructorGetter>(*state, thisValue, "AuthenticatorResponse" ); |
11671 | } |
11672 | |
11673 | #endif |
11674 | |
11675 | #if ENABLE(WEB_AUTHN) |
11676 | static inline bool setJSDOMWindowAuthenticatorResponseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11677 | { |
11678 | UNUSED_PARAM(throwScope); |
11679 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11680 | return false; |
11681 | // Shadowing a built-in constructor. |
11682 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AuthenticatorResponse" ), strlen("AuthenticatorResponse" )), value); |
11683 | } |
11684 | |
11685 | bool setJSDOMWindowAuthenticatorResponseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11686 | { |
11687 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAuthenticatorResponseConstructorSetter>(*state, thisValue, encodedValue, "AuthenticatorResponse" ); |
11688 | } |
11689 | |
11690 | #endif |
11691 | |
11692 | #if ENABLE(WEB_AUTHN) |
11693 | static inline JSValue jsDOMWindowPublicKeyCredentialConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11694 | { |
11695 | UNUSED_PARAM(throwScope); |
11696 | UNUSED_PARAM(state); |
11697 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11698 | return jsUndefined(); |
11699 | return JSPublicKeyCredential::getConstructor(state.vm(), &thisObject); |
11700 | } |
11701 | |
11702 | EncodedJSValue jsDOMWindowPublicKeyCredentialConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11703 | { |
11704 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPublicKeyCredentialConstructorGetter>(*state, thisValue, "PublicKeyCredential" ); |
11705 | } |
11706 | |
11707 | #endif |
11708 | |
11709 | #if ENABLE(WEB_AUTHN) |
11710 | static inline bool setJSDOMWindowPublicKeyCredentialConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11711 | { |
11712 | UNUSED_PARAM(throwScope); |
11713 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11714 | return false; |
11715 | // Shadowing a built-in constructor. |
11716 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PublicKeyCredential" ), strlen("PublicKeyCredential" )), value); |
11717 | } |
11718 | |
11719 | bool setJSDOMWindowPublicKeyCredentialConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11720 | { |
11721 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPublicKeyCredentialConstructorSetter>(*state, thisValue, encodedValue, "PublicKeyCredential" ); |
11722 | } |
11723 | |
11724 | #endif |
11725 | |
11726 | static inline JSValue jsDOMWindowDatabaseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11727 | { |
11728 | UNUSED_PARAM(throwScope); |
11729 | UNUSED_PARAM(state); |
11730 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11731 | return jsUndefined(); |
11732 | return JSDatabase::getConstructor(state.vm(), &thisObject); |
11733 | } |
11734 | |
11735 | EncodedJSValue jsDOMWindowDatabaseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11736 | { |
11737 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDatabaseConstructorGetter>(*state, thisValue, "Database" ); |
11738 | } |
11739 | |
11740 | static inline bool setJSDOMWindowDatabaseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11741 | { |
11742 | UNUSED_PARAM(throwScope); |
11743 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11744 | return false; |
11745 | // Shadowing a built-in constructor. |
11746 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Database" ), strlen("Database" )), value); |
11747 | } |
11748 | |
11749 | bool setJSDOMWindowDatabaseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11750 | { |
11751 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDatabaseConstructorSetter>(*state, thisValue, encodedValue, "Database" ); |
11752 | } |
11753 | |
11754 | static inline JSValue jsDOMWindowSQLErrorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11755 | { |
11756 | UNUSED_PARAM(throwScope); |
11757 | UNUSED_PARAM(state); |
11758 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11759 | return jsUndefined(); |
11760 | return JSSQLError::getConstructor(state.vm(), &thisObject); |
11761 | } |
11762 | |
11763 | EncodedJSValue jsDOMWindowSQLErrorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11764 | { |
11765 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSQLErrorConstructorGetter>(*state, thisValue, "SQLError" ); |
11766 | } |
11767 | |
11768 | static inline bool setJSDOMWindowSQLErrorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11769 | { |
11770 | UNUSED_PARAM(throwScope); |
11771 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11772 | return false; |
11773 | // Shadowing a built-in constructor. |
11774 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SQLError" ), strlen("SQLError" )), value); |
11775 | } |
11776 | |
11777 | bool setJSDOMWindowSQLErrorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11778 | { |
11779 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSQLErrorConstructorSetter>(*state, thisValue, encodedValue, "SQLError" ); |
11780 | } |
11781 | |
11782 | static inline JSValue jsDOMWindowSQLResultSetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11783 | { |
11784 | UNUSED_PARAM(throwScope); |
11785 | UNUSED_PARAM(state); |
11786 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11787 | return jsUndefined(); |
11788 | return JSSQLResultSet::getConstructor(state.vm(), &thisObject); |
11789 | } |
11790 | |
11791 | EncodedJSValue jsDOMWindowSQLResultSetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11792 | { |
11793 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSQLResultSetConstructorGetter>(*state, thisValue, "SQLResultSet" ); |
11794 | } |
11795 | |
11796 | static inline bool setJSDOMWindowSQLResultSetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11797 | { |
11798 | UNUSED_PARAM(throwScope); |
11799 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11800 | return false; |
11801 | // Shadowing a built-in constructor. |
11802 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SQLResultSet" ), strlen("SQLResultSet" )), value); |
11803 | } |
11804 | |
11805 | bool setJSDOMWindowSQLResultSetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11806 | { |
11807 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSQLResultSetConstructorSetter>(*state, thisValue, encodedValue, "SQLResultSet" ); |
11808 | } |
11809 | |
11810 | static inline JSValue jsDOMWindowSQLResultSetRowListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11811 | { |
11812 | UNUSED_PARAM(throwScope); |
11813 | UNUSED_PARAM(state); |
11814 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11815 | return jsUndefined(); |
11816 | return JSSQLResultSetRowList::getConstructor(state.vm(), &thisObject); |
11817 | } |
11818 | |
11819 | EncodedJSValue jsDOMWindowSQLResultSetRowListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11820 | { |
11821 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSQLResultSetRowListConstructorGetter>(*state, thisValue, "SQLResultSetRowList" ); |
11822 | } |
11823 | |
11824 | static inline bool setJSDOMWindowSQLResultSetRowListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11825 | { |
11826 | UNUSED_PARAM(throwScope); |
11827 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11828 | return false; |
11829 | // Shadowing a built-in constructor. |
11830 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SQLResultSetRowList" ), strlen("SQLResultSetRowList" )), value); |
11831 | } |
11832 | |
11833 | bool setJSDOMWindowSQLResultSetRowListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11834 | { |
11835 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSQLResultSetRowListConstructorSetter>(*state, thisValue, encodedValue, "SQLResultSetRowList" ); |
11836 | } |
11837 | |
11838 | static inline JSValue jsDOMWindowSQLTransactionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11839 | { |
11840 | UNUSED_PARAM(throwScope); |
11841 | UNUSED_PARAM(state); |
11842 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11843 | return jsUndefined(); |
11844 | return JSSQLTransaction::getConstructor(state.vm(), &thisObject); |
11845 | } |
11846 | |
11847 | EncodedJSValue jsDOMWindowSQLTransactionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11848 | { |
11849 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSQLTransactionConstructorGetter>(*state, thisValue, "SQLTransaction" ); |
11850 | } |
11851 | |
11852 | static inline bool setJSDOMWindowSQLTransactionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11853 | { |
11854 | UNUSED_PARAM(throwScope); |
11855 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11856 | return false; |
11857 | // Shadowing a built-in constructor. |
11858 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SQLTransaction" ), strlen("SQLTransaction" )), value); |
11859 | } |
11860 | |
11861 | bool setJSDOMWindowSQLTransactionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11862 | { |
11863 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSQLTransactionConstructorSetter>(*state, thisValue, encodedValue, "SQLTransaction" ); |
11864 | } |
11865 | |
11866 | #if ENABLE(WEBGPU) |
11867 | static inline JSValue jsDOMWindowGPUBufferUsageConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11868 | { |
11869 | UNUSED_PARAM(throwScope); |
11870 | UNUSED_PARAM(state); |
11871 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11872 | return jsUndefined(); |
11873 | return JSGPUBufferUsage::getConstructor(state.vm(), &thisObject); |
11874 | } |
11875 | |
11876 | EncodedJSValue jsDOMWindowGPUBufferUsageConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11877 | { |
11878 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUBufferUsageConstructorGetter>(*state, thisValue, "GPUBufferUsage" ); |
11879 | } |
11880 | |
11881 | #endif |
11882 | |
11883 | #if ENABLE(WEBGPU) |
11884 | static inline bool setJSDOMWindowGPUBufferUsageConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11885 | { |
11886 | UNUSED_PARAM(throwScope); |
11887 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11888 | return false; |
11889 | // Shadowing a built-in constructor. |
11890 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUBufferUsage" ), strlen("GPUBufferUsage" )), value); |
11891 | } |
11892 | |
11893 | bool setJSDOMWindowGPUBufferUsageConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11894 | { |
11895 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUBufferUsageConstructorSetter>(*state, thisValue, encodedValue, "GPUBufferUsage" ); |
11896 | } |
11897 | |
11898 | #endif |
11899 | |
11900 | #if ENABLE(WEBGPU) |
11901 | static inline JSValue jsDOMWindowGPUCanvasContextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11902 | { |
11903 | UNUSED_PARAM(throwScope); |
11904 | UNUSED_PARAM(state); |
11905 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11906 | return jsUndefined(); |
11907 | return JSGPUCanvasContext::getConstructor(state.vm(), &thisObject); |
11908 | } |
11909 | |
11910 | EncodedJSValue jsDOMWindowGPUCanvasContextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11911 | { |
11912 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUCanvasContextConstructorGetter>(*state, thisValue, "GPUCanvasContext" ); |
11913 | } |
11914 | |
11915 | #endif |
11916 | |
11917 | #if ENABLE(WEBGPU) |
11918 | static inline bool setJSDOMWindowGPUCanvasContextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11919 | { |
11920 | UNUSED_PARAM(throwScope); |
11921 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11922 | return false; |
11923 | // Shadowing a built-in constructor. |
11924 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUCanvasContext" ), strlen("GPUCanvasContext" )), value); |
11925 | } |
11926 | |
11927 | bool setJSDOMWindowGPUCanvasContextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11928 | { |
11929 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUCanvasContextConstructorSetter>(*state, thisValue, encodedValue, "GPUCanvasContext" ); |
11930 | } |
11931 | |
11932 | #endif |
11933 | |
11934 | #if ENABLE(WEBGPU) |
11935 | static inline JSValue jsDOMWindowGPUColorWriteBitsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11936 | { |
11937 | UNUSED_PARAM(throwScope); |
11938 | UNUSED_PARAM(state); |
11939 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11940 | return jsUndefined(); |
11941 | return JSGPUColorWriteBits::getConstructor(state.vm(), &thisObject); |
11942 | } |
11943 | |
11944 | EncodedJSValue jsDOMWindowGPUColorWriteBitsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11945 | { |
11946 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUColorWriteBitsConstructorGetter>(*state, thisValue, "GPUColorWriteBits" ); |
11947 | } |
11948 | |
11949 | #endif |
11950 | |
11951 | #if ENABLE(WEBGPU) |
11952 | static inline bool setJSDOMWindowGPUColorWriteBitsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11953 | { |
11954 | UNUSED_PARAM(throwScope); |
11955 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11956 | return false; |
11957 | // Shadowing a built-in constructor. |
11958 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUColorWriteBits" ), strlen("GPUColorWriteBits" )), value); |
11959 | } |
11960 | |
11961 | bool setJSDOMWindowGPUColorWriteBitsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11962 | { |
11963 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUColorWriteBitsConstructorSetter>(*state, thisValue, encodedValue, "GPUColorWriteBits" ); |
11964 | } |
11965 | |
11966 | #endif |
11967 | |
11968 | #if ENABLE(WEBGPU) |
11969 | static inline JSValue jsDOMWindowGPUShaderStageBitConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
11970 | { |
11971 | UNUSED_PARAM(throwScope); |
11972 | UNUSED_PARAM(state); |
11973 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11974 | return jsUndefined(); |
11975 | return JSGPUShaderStageBit::getConstructor(state.vm(), &thisObject); |
11976 | } |
11977 | |
11978 | EncodedJSValue jsDOMWindowGPUShaderStageBitConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
11979 | { |
11980 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUShaderStageBitConstructorGetter>(*state, thisValue, "GPUShaderStageBit" ); |
11981 | } |
11982 | |
11983 | #endif |
11984 | |
11985 | #if ENABLE(WEBGPU) |
11986 | static inline bool setJSDOMWindowGPUShaderStageBitConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
11987 | { |
11988 | UNUSED_PARAM(throwScope); |
11989 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
11990 | return false; |
11991 | // Shadowing a built-in constructor. |
11992 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUShaderStageBit" ), strlen("GPUShaderStageBit" )), value); |
11993 | } |
11994 | |
11995 | bool setJSDOMWindowGPUShaderStageBitConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
11996 | { |
11997 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUShaderStageBitConstructorSetter>(*state, thisValue, encodedValue, "GPUShaderStageBit" ); |
11998 | } |
11999 | |
12000 | #endif |
12001 | |
12002 | #if ENABLE(WEBGPU) |
12003 | static inline JSValue jsDOMWindowGPUTextureUsageConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12004 | { |
12005 | UNUSED_PARAM(throwScope); |
12006 | UNUSED_PARAM(state); |
12007 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12008 | return jsUndefined(); |
12009 | return JSGPUTextureUsage::getConstructor(state.vm(), &thisObject); |
12010 | } |
12011 | |
12012 | EncodedJSValue jsDOMWindowGPUTextureUsageConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12013 | { |
12014 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUTextureUsageConstructorGetter>(*state, thisValue, "GPUTextureUsage" ); |
12015 | } |
12016 | |
12017 | #endif |
12018 | |
12019 | #if ENABLE(WEBGPU) |
12020 | static inline bool setJSDOMWindowGPUTextureUsageConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12021 | { |
12022 | UNUSED_PARAM(throwScope); |
12023 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12024 | return false; |
12025 | // Shadowing a built-in constructor. |
12026 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUTextureUsage" ), strlen("GPUTextureUsage" )), value); |
12027 | } |
12028 | |
12029 | bool setJSDOMWindowGPUTextureUsageConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12030 | { |
12031 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUTextureUsageConstructorSetter>(*state, thisValue, encodedValue, "GPUTextureUsage" ); |
12032 | } |
12033 | |
12034 | #endif |
12035 | |
12036 | #if ENABLE(WEBGPU) |
12037 | static inline JSValue jsDOMWindowGPUConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12038 | { |
12039 | UNUSED_PARAM(throwScope); |
12040 | UNUSED_PARAM(state); |
12041 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12042 | return jsUndefined(); |
12043 | return JSWebGPU::getConstructor(state.vm(), &thisObject); |
12044 | } |
12045 | |
12046 | EncodedJSValue jsDOMWindowGPUConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12047 | { |
12048 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUConstructorGetter>(*state, thisValue, "GPU" ); |
12049 | } |
12050 | |
12051 | #endif |
12052 | |
12053 | #if ENABLE(WEBGPU) |
12054 | static inline bool setJSDOMWindowGPUConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12055 | { |
12056 | UNUSED_PARAM(throwScope); |
12057 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12058 | return false; |
12059 | // Shadowing a built-in constructor. |
12060 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPU" ), strlen("GPU" )), value); |
12061 | } |
12062 | |
12063 | bool setJSDOMWindowGPUConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12064 | { |
12065 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUConstructorSetter>(*state, thisValue, encodedValue, "GPU" ); |
12066 | } |
12067 | |
12068 | #endif |
12069 | |
12070 | #if ENABLE(WEBGPU) |
12071 | static inline JSValue jsDOMWindowGPUAdapterConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12072 | { |
12073 | UNUSED_PARAM(throwScope); |
12074 | UNUSED_PARAM(state); |
12075 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12076 | return jsUndefined(); |
12077 | return JSWebGPUAdapter::getConstructor(state.vm(), &thisObject); |
12078 | } |
12079 | |
12080 | EncodedJSValue jsDOMWindowGPUAdapterConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12081 | { |
12082 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUAdapterConstructorGetter>(*state, thisValue, "GPUAdapter" ); |
12083 | } |
12084 | |
12085 | #endif |
12086 | |
12087 | #if ENABLE(WEBGPU) |
12088 | static inline bool setJSDOMWindowGPUAdapterConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12089 | { |
12090 | UNUSED_PARAM(throwScope); |
12091 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12092 | return false; |
12093 | // Shadowing a built-in constructor. |
12094 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUAdapter" ), strlen("GPUAdapter" )), value); |
12095 | } |
12096 | |
12097 | bool setJSDOMWindowGPUAdapterConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12098 | { |
12099 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUAdapterConstructorSetter>(*state, thisValue, encodedValue, "GPUAdapter" ); |
12100 | } |
12101 | |
12102 | #endif |
12103 | |
12104 | #if ENABLE(WEBGPU) |
12105 | static inline JSValue jsDOMWindowGPUBindGroupConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12106 | { |
12107 | UNUSED_PARAM(throwScope); |
12108 | UNUSED_PARAM(state); |
12109 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12110 | return jsUndefined(); |
12111 | return JSWebGPUBindGroup::getConstructor(state.vm(), &thisObject); |
12112 | } |
12113 | |
12114 | EncodedJSValue jsDOMWindowGPUBindGroupConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12115 | { |
12116 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUBindGroupConstructorGetter>(*state, thisValue, "GPUBindGroup" ); |
12117 | } |
12118 | |
12119 | #endif |
12120 | |
12121 | #if ENABLE(WEBGPU) |
12122 | static inline bool setJSDOMWindowGPUBindGroupConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12123 | { |
12124 | UNUSED_PARAM(throwScope); |
12125 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12126 | return false; |
12127 | // Shadowing a built-in constructor. |
12128 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUBindGroup" ), strlen("GPUBindGroup" )), value); |
12129 | } |
12130 | |
12131 | bool setJSDOMWindowGPUBindGroupConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12132 | { |
12133 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUBindGroupConstructorSetter>(*state, thisValue, encodedValue, "GPUBindGroup" ); |
12134 | } |
12135 | |
12136 | #endif |
12137 | |
12138 | #if ENABLE(WEBGPU) |
12139 | static inline JSValue jsDOMWindowGPUBindGroupLayoutConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12140 | { |
12141 | UNUSED_PARAM(throwScope); |
12142 | UNUSED_PARAM(state); |
12143 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12144 | return jsUndefined(); |
12145 | return JSWebGPUBindGroupLayout::getConstructor(state.vm(), &thisObject); |
12146 | } |
12147 | |
12148 | EncodedJSValue jsDOMWindowGPUBindGroupLayoutConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12149 | { |
12150 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUBindGroupLayoutConstructorGetter>(*state, thisValue, "GPUBindGroupLayout" ); |
12151 | } |
12152 | |
12153 | #endif |
12154 | |
12155 | #if ENABLE(WEBGPU) |
12156 | static inline bool setJSDOMWindowGPUBindGroupLayoutConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12157 | { |
12158 | UNUSED_PARAM(throwScope); |
12159 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12160 | return false; |
12161 | // Shadowing a built-in constructor. |
12162 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUBindGroupLayout" ), strlen("GPUBindGroupLayout" )), value); |
12163 | } |
12164 | |
12165 | bool setJSDOMWindowGPUBindGroupLayoutConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12166 | { |
12167 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUBindGroupLayoutConstructorSetter>(*state, thisValue, encodedValue, "GPUBindGroupLayout" ); |
12168 | } |
12169 | |
12170 | #endif |
12171 | |
12172 | #if ENABLE(WEBGPU) |
12173 | static inline JSValue jsDOMWindowGPUBufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12174 | { |
12175 | UNUSED_PARAM(throwScope); |
12176 | UNUSED_PARAM(state); |
12177 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12178 | return jsUndefined(); |
12179 | return JSWebGPUBuffer::getConstructor(state.vm(), &thisObject); |
12180 | } |
12181 | |
12182 | EncodedJSValue jsDOMWindowGPUBufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12183 | { |
12184 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUBufferConstructorGetter>(*state, thisValue, "GPUBuffer" ); |
12185 | } |
12186 | |
12187 | #endif |
12188 | |
12189 | #if ENABLE(WEBGPU) |
12190 | static inline bool setJSDOMWindowGPUBufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12191 | { |
12192 | UNUSED_PARAM(throwScope); |
12193 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12194 | return false; |
12195 | // Shadowing a built-in constructor. |
12196 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUBuffer" ), strlen("GPUBuffer" )), value); |
12197 | } |
12198 | |
12199 | bool setJSDOMWindowGPUBufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12200 | { |
12201 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUBufferConstructorSetter>(*state, thisValue, encodedValue, "GPUBuffer" ); |
12202 | } |
12203 | |
12204 | #endif |
12205 | |
12206 | #if ENABLE(WEBGPU) |
12207 | static inline JSValue jsDOMWindowGPUCommandBufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12208 | { |
12209 | UNUSED_PARAM(throwScope); |
12210 | UNUSED_PARAM(state); |
12211 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12212 | return jsUndefined(); |
12213 | return JSWebGPUCommandBuffer::getConstructor(state.vm(), &thisObject); |
12214 | } |
12215 | |
12216 | EncodedJSValue jsDOMWindowGPUCommandBufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12217 | { |
12218 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUCommandBufferConstructorGetter>(*state, thisValue, "GPUCommandBuffer" ); |
12219 | } |
12220 | |
12221 | #endif |
12222 | |
12223 | #if ENABLE(WEBGPU) |
12224 | static inline bool setJSDOMWindowGPUCommandBufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12225 | { |
12226 | UNUSED_PARAM(throwScope); |
12227 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12228 | return false; |
12229 | // Shadowing a built-in constructor. |
12230 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUCommandBuffer" ), strlen("GPUCommandBuffer" )), value); |
12231 | } |
12232 | |
12233 | bool setJSDOMWindowGPUCommandBufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12234 | { |
12235 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUCommandBufferConstructorSetter>(*state, thisValue, encodedValue, "GPUCommandBuffer" ); |
12236 | } |
12237 | |
12238 | #endif |
12239 | |
12240 | #if ENABLE(WEBGPU) |
12241 | static inline JSValue jsDOMWindowGPUCommandEncoderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12242 | { |
12243 | UNUSED_PARAM(throwScope); |
12244 | UNUSED_PARAM(state); |
12245 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12246 | return jsUndefined(); |
12247 | return JSWebGPUCommandEncoder::getConstructor(state.vm(), &thisObject); |
12248 | } |
12249 | |
12250 | EncodedJSValue jsDOMWindowGPUCommandEncoderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12251 | { |
12252 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUCommandEncoderConstructorGetter>(*state, thisValue, "GPUCommandEncoder" ); |
12253 | } |
12254 | |
12255 | #endif |
12256 | |
12257 | #if ENABLE(WEBGPU) |
12258 | static inline bool setJSDOMWindowGPUCommandEncoderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12259 | { |
12260 | UNUSED_PARAM(throwScope); |
12261 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12262 | return false; |
12263 | // Shadowing a built-in constructor. |
12264 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUCommandEncoder" ), strlen("GPUCommandEncoder" )), value); |
12265 | } |
12266 | |
12267 | bool setJSDOMWindowGPUCommandEncoderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12268 | { |
12269 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUCommandEncoderConstructorSetter>(*state, thisValue, encodedValue, "GPUCommandEncoder" ); |
12270 | } |
12271 | |
12272 | #endif |
12273 | |
12274 | #if ENABLE(WEBGPU) |
12275 | static inline JSValue jsDOMWindowGPUComputePassEncoderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12276 | { |
12277 | UNUSED_PARAM(throwScope); |
12278 | UNUSED_PARAM(state); |
12279 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12280 | return jsUndefined(); |
12281 | return JSWebGPUComputePassEncoder::getConstructor(state.vm(), &thisObject); |
12282 | } |
12283 | |
12284 | EncodedJSValue jsDOMWindowGPUComputePassEncoderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12285 | { |
12286 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUComputePassEncoderConstructorGetter>(*state, thisValue, "GPUComputePassEncoder" ); |
12287 | } |
12288 | |
12289 | #endif |
12290 | |
12291 | #if ENABLE(WEBGPU) |
12292 | static inline bool setJSDOMWindowGPUComputePassEncoderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12293 | { |
12294 | UNUSED_PARAM(throwScope); |
12295 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12296 | return false; |
12297 | // Shadowing a built-in constructor. |
12298 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUComputePassEncoder" ), strlen("GPUComputePassEncoder" )), value); |
12299 | } |
12300 | |
12301 | bool setJSDOMWindowGPUComputePassEncoderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12302 | { |
12303 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUComputePassEncoderConstructorSetter>(*state, thisValue, encodedValue, "GPUComputePassEncoder" ); |
12304 | } |
12305 | |
12306 | #endif |
12307 | |
12308 | #if ENABLE(WEBGPU) |
12309 | static inline JSValue jsDOMWindowGPUComputePipelineConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12310 | { |
12311 | UNUSED_PARAM(throwScope); |
12312 | UNUSED_PARAM(state); |
12313 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12314 | return jsUndefined(); |
12315 | return JSWebGPUComputePipeline::getConstructor(state.vm(), &thisObject); |
12316 | } |
12317 | |
12318 | EncodedJSValue jsDOMWindowGPUComputePipelineConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12319 | { |
12320 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUComputePipelineConstructorGetter>(*state, thisValue, "GPUComputePipeline" ); |
12321 | } |
12322 | |
12323 | #endif |
12324 | |
12325 | #if ENABLE(WEBGPU) |
12326 | static inline bool setJSDOMWindowGPUComputePipelineConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12327 | { |
12328 | UNUSED_PARAM(throwScope); |
12329 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12330 | return false; |
12331 | // Shadowing a built-in constructor. |
12332 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUComputePipeline" ), strlen("GPUComputePipeline" )), value); |
12333 | } |
12334 | |
12335 | bool setJSDOMWindowGPUComputePipelineConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12336 | { |
12337 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUComputePipelineConstructorSetter>(*state, thisValue, encodedValue, "GPUComputePipeline" ); |
12338 | } |
12339 | |
12340 | #endif |
12341 | |
12342 | #if ENABLE(WEBGPU) |
12343 | static inline JSValue jsDOMWindowGPUDeviceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12344 | { |
12345 | UNUSED_PARAM(throwScope); |
12346 | UNUSED_PARAM(state); |
12347 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12348 | return jsUndefined(); |
12349 | return JSWebGPUDevice::getConstructor(state.vm(), &thisObject); |
12350 | } |
12351 | |
12352 | EncodedJSValue jsDOMWindowGPUDeviceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12353 | { |
12354 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUDeviceConstructorGetter>(*state, thisValue, "GPUDevice" ); |
12355 | } |
12356 | |
12357 | #endif |
12358 | |
12359 | #if ENABLE(WEBGPU) |
12360 | static inline bool setJSDOMWindowGPUDeviceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12361 | { |
12362 | UNUSED_PARAM(throwScope); |
12363 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12364 | return false; |
12365 | // Shadowing a built-in constructor. |
12366 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUDevice" ), strlen("GPUDevice" )), value); |
12367 | } |
12368 | |
12369 | bool setJSDOMWindowGPUDeviceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12370 | { |
12371 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUDeviceConstructorSetter>(*state, thisValue, encodedValue, "GPUDevice" ); |
12372 | } |
12373 | |
12374 | #endif |
12375 | |
12376 | #if ENABLE(WEBGPU) |
12377 | static inline JSValue jsDOMWindowGPUPipelineLayoutConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12378 | { |
12379 | UNUSED_PARAM(throwScope); |
12380 | UNUSED_PARAM(state); |
12381 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12382 | return jsUndefined(); |
12383 | return JSWebGPUPipelineLayout::getConstructor(state.vm(), &thisObject); |
12384 | } |
12385 | |
12386 | EncodedJSValue jsDOMWindowGPUPipelineLayoutConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12387 | { |
12388 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUPipelineLayoutConstructorGetter>(*state, thisValue, "GPUPipelineLayout" ); |
12389 | } |
12390 | |
12391 | #endif |
12392 | |
12393 | #if ENABLE(WEBGPU) |
12394 | static inline bool setJSDOMWindowGPUPipelineLayoutConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12395 | { |
12396 | UNUSED_PARAM(throwScope); |
12397 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12398 | return false; |
12399 | // Shadowing a built-in constructor. |
12400 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUPipelineLayout" ), strlen("GPUPipelineLayout" )), value); |
12401 | } |
12402 | |
12403 | bool setJSDOMWindowGPUPipelineLayoutConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12404 | { |
12405 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUPipelineLayoutConstructorSetter>(*state, thisValue, encodedValue, "GPUPipelineLayout" ); |
12406 | } |
12407 | |
12408 | #endif |
12409 | |
12410 | #if ENABLE(WEBGPU) |
12411 | static inline JSValue jsDOMWindowGPUProgrammablePassEncoderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12412 | { |
12413 | UNUSED_PARAM(throwScope); |
12414 | UNUSED_PARAM(state); |
12415 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12416 | return jsUndefined(); |
12417 | return JSWebGPUProgrammablePassEncoder::getConstructor(state.vm(), &thisObject); |
12418 | } |
12419 | |
12420 | EncodedJSValue jsDOMWindowGPUProgrammablePassEncoderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12421 | { |
12422 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUProgrammablePassEncoderConstructorGetter>(*state, thisValue, "GPUProgrammablePassEncoder" ); |
12423 | } |
12424 | |
12425 | #endif |
12426 | |
12427 | #if ENABLE(WEBGPU) |
12428 | static inline bool setJSDOMWindowGPUProgrammablePassEncoderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12429 | { |
12430 | UNUSED_PARAM(throwScope); |
12431 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12432 | return false; |
12433 | // Shadowing a built-in constructor. |
12434 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUProgrammablePassEncoder" ), strlen("GPUProgrammablePassEncoder" )), value); |
12435 | } |
12436 | |
12437 | bool setJSDOMWindowGPUProgrammablePassEncoderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12438 | { |
12439 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUProgrammablePassEncoderConstructorSetter>(*state, thisValue, encodedValue, "GPUProgrammablePassEncoder" ); |
12440 | } |
12441 | |
12442 | #endif |
12443 | |
12444 | #if ENABLE(WEBGPU) |
12445 | static inline JSValue jsDOMWindowGPUQueueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12446 | { |
12447 | UNUSED_PARAM(throwScope); |
12448 | UNUSED_PARAM(state); |
12449 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12450 | return jsUndefined(); |
12451 | return JSWebGPUQueue::getConstructor(state.vm(), &thisObject); |
12452 | } |
12453 | |
12454 | EncodedJSValue jsDOMWindowGPUQueueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12455 | { |
12456 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUQueueConstructorGetter>(*state, thisValue, "GPUQueue" ); |
12457 | } |
12458 | |
12459 | #endif |
12460 | |
12461 | #if ENABLE(WEBGPU) |
12462 | static inline bool setJSDOMWindowGPUQueueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12463 | { |
12464 | UNUSED_PARAM(throwScope); |
12465 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12466 | return false; |
12467 | // Shadowing a built-in constructor. |
12468 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUQueue" ), strlen("GPUQueue" )), value); |
12469 | } |
12470 | |
12471 | bool setJSDOMWindowGPUQueueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12472 | { |
12473 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUQueueConstructorSetter>(*state, thisValue, encodedValue, "GPUQueue" ); |
12474 | } |
12475 | |
12476 | #endif |
12477 | |
12478 | #if ENABLE(WEBGPU) |
12479 | static inline JSValue jsDOMWindowGPURenderPassEncoderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12480 | { |
12481 | UNUSED_PARAM(throwScope); |
12482 | UNUSED_PARAM(state); |
12483 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12484 | return jsUndefined(); |
12485 | return JSWebGPURenderPassEncoder::getConstructor(state.vm(), &thisObject); |
12486 | } |
12487 | |
12488 | EncodedJSValue jsDOMWindowGPURenderPassEncoderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12489 | { |
12490 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPURenderPassEncoderConstructorGetter>(*state, thisValue, "GPURenderPassEncoder" ); |
12491 | } |
12492 | |
12493 | #endif |
12494 | |
12495 | #if ENABLE(WEBGPU) |
12496 | static inline bool setJSDOMWindowGPURenderPassEncoderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12497 | { |
12498 | UNUSED_PARAM(throwScope); |
12499 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12500 | return false; |
12501 | // Shadowing a built-in constructor. |
12502 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPURenderPassEncoder" ), strlen("GPURenderPassEncoder" )), value); |
12503 | } |
12504 | |
12505 | bool setJSDOMWindowGPURenderPassEncoderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12506 | { |
12507 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPURenderPassEncoderConstructorSetter>(*state, thisValue, encodedValue, "GPURenderPassEncoder" ); |
12508 | } |
12509 | |
12510 | #endif |
12511 | |
12512 | #if ENABLE(WEBGPU) |
12513 | static inline JSValue jsDOMWindowGPURenderPipelineConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12514 | { |
12515 | UNUSED_PARAM(throwScope); |
12516 | UNUSED_PARAM(state); |
12517 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12518 | return jsUndefined(); |
12519 | return JSWebGPURenderPipeline::getConstructor(state.vm(), &thisObject); |
12520 | } |
12521 | |
12522 | EncodedJSValue jsDOMWindowGPURenderPipelineConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12523 | { |
12524 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPURenderPipelineConstructorGetter>(*state, thisValue, "GPURenderPipeline" ); |
12525 | } |
12526 | |
12527 | #endif |
12528 | |
12529 | #if ENABLE(WEBGPU) |
12530 | static inline bool setJSDOMWindowGPURenderPipelineConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12531 | { |
12532 | UNUSED_PARAM(throwScope); |
12533 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12534 | return false; |
12535 | // Shadowing a built-in constructor. |
12536 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPURenderPipeline" ), strlen("GPURenderPipeline" )), value); |
12537 | } |
12538 | |
12539 | bool setJSDOMWindowGPURenderPipelineConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12540 | { |
12541 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPURenderPipelineConstructorSetter>(*state, thisValue, encodedValue, "GPURenderPipeline" ); |
12542 | } |
12543 | |
12544 | #endif |
12545 | |
12546 | #if ENABLE(WEBGPU) |
12547 | static inline JSValue jsDOMWindowGPUSamplerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12548 | { |
12549 | UNUSED_PARAM(throwScope); |
12550 | UNUSED_PARAM(state); |
12551 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12552 | return jsUndefined(); |
12553 | return JSWebGPUSampler::getConstructor(state.vm(), &thisObject); |
12554 | } |
12555 | |
12556 | EncodedJSValue jsDOMWindowGPUSamplerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12557 | { |
12558 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUSamplerConstructorGetter>(*state, thisValue, "GPUSampler" ); |
12559 | } |
12560 | |
12561 | #endif |
12562 | |
12563 | #if ENABLE(WEBGPU) |
12564 | static inline bool setJSDOMWindowGPUSamplerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12565 | { |
12566 | UNUSED_PARAM(throwScope); |
12567 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12568 | return false; |
12569 | // Shadowing a built-in constructor. |
12570 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUSampler" ), strlen("GPUSampler" )), value); |
12571 | } |
12572 | |
12573 | bool setJSDOMWindowGPUSamplerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12574 | { |
12575 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUSamplerConstructorSetter>(*state, thisValue, encodedValue, "GPUSampler" ); |
12576 | } |
12577 | |
12578 | #endif |
12579 | |
12580 | #if ENABLE(WEBGPU) |
12581 | static inline JSValue jsDOMWindowGPUShaderModuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12582 | { |
12583 | UNUSED_PARAM(throwScope); |
12584 | UNUSED_PARAM(state); |
12585 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12586 | return jsUndefined(); |
12587 | return JSWebGPUShaderModule::getConstructor(state.vm(), &thisObject); |
12588 | } |
12589 | |
12590 | EncodedJSValue jsDOMWindowGPUShaderModuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12591 | { |
12592 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUShaderModuleConstructorGetter>(*state, thisValue, "GPUShaderModule" ); |
12593 | } |
12594 | |
12595 | #endif |
12596 | |
12597 | #if ENABLE(WEBGPU) |
12598 | static inline bool setJSDOMWindowGPUShaderModuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12599 | { |
12600 | UNUSED_PARAM(throwScope); |
12601 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12602 | return false; |
12603 | // Shadowing a built-in constructor. |
12604 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUShaderModule" ), strlen("GPUShaderModule" )), value); |
12605 | } |
12606 | |
12607 | bool setJSDOMWindowGPUShaderModuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12608 | { |
12609 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUShaderModuleConstructorSetter>(*state, thisValue, encodedValue, "GPUShaderModule" ); |
12610 | } |
12611 | |
12612 | #endif |
12613 | |
12614 | #if ENABLE(WEBGPU) |
12615 | static inline JSValue jsDOMWindowGPUSwapChainConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12616 | { |
12617 | UNUSED_PARAM(throwScope); |
12618 | UNUSED_PARAM(state); |
12619 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12620 | return jsUndefined(); |
12621 | return JSWebGPUSwapChain::getConstructor(state.vm(), &thisObject); |
12622 | } |
12623 | |
12624 | EncodedJSValue jsDOMWindowGPUSwapChainConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12625 | { |
12626 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUSwapChainConstructorGetter>(*state, thisValue, "GPUSwapChain" ); |
12627 | } |
12628 | |
12629 | #endif |
12630 | |
12631 | #if ENABLE(WEBGPU) |
12632 | static inline bool setJSDOMWindowGPUSwapChainConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12633 | { |
12634 | UNUSED_PARAM(throwScope); |
12635 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12636 | return false; |
12637 | // Shadowing a built-in constructor. |
12638 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUSwapChain" ), strlen("GPUSwapChain" )), value); |
12639 | } |
12640 | |
12641 | bool setJSDOMWindowGPUSwapChainConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12642 | { |
12643 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUSwapChainConstructorSetter>(*state, thisValue, encodedValue, "GPUSwapChain" ); |
12644 | } |
12645 | |
12646 | #endif |
12647 | |
12648 | #if ENABLE(WEBGPU) |
12649 | static inline JSValue jsDOMWindowGPUTextureConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12650 | { |
12651 | UNUSED_PARAM(throwScope); |
12652 | UNUSED_PARAM(state); |
12653 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12654 | return jsUndefined(); |
12655 | return JSWebGPUTexture::getConstructor(state.vm(), &thisObject); |
12656 | } |
12657 | |
12658 | EncodedJSValue jsDOMWindowGPUTextureConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12659 | { |
12660 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUTextureConstructorGetter>(*state, thisValue, "GPUTexture" ); |
12661 | } |
12662 | |
12663 | #endif |
12664 | |
12665 | #if ENABLE(WEBGPU) |
12666 | static inline bool setJSDOMWindowGPUTextureConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12667 | { |
12668 | UNUSED_PARAM(throwScope); |
12669 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12670 | return false; |
12671 | // Shadowing a built-in constructor. |
12672 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUTexture" ), strlen("GPUTexture" )), value); |
12673 | } |
12674 | |
12675 | bool setJSDOMWindowGPUTextureConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12676 | { |
12677 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUTextureConstructorSetter>(*state, thisValue, encodedValue, "GPUTexture" ); |
12678 | } |
12679 | |
12680 | #endif |
12681 | |
12682 | #if ENABLE(WEBGPU) |
12683 | static inline JSValue jsDOMWindowGPUTextureViewConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12684 | { |
12685 | UNUSED_PARAM(throwScope); |
12686 | UNUSED_PARAM(state); |
12687 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12688 | return jsUndefined(); |
12689 | return JSWebGPUTextureView::getConstructor(state.vm(), &thisObject); |
12690 | } |
12691 | |
12692 | EncodedJSValue jsDOMWindowGPUTextureViewConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12693 | { |
12694 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowGPUTextureViewConstructorGetter>(*state, thisValue, "GPUTextureView" ); |
12695 | } |
12696 | |
12697 | #endif |
12698 | |
12699 | #if ENABLE(WEBGPU) |
12700 | static inline bool setJSDOMWindowGPUTextureViewConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12701 | { |
12702 | UNUSED_PARAM(throwScope); |
12703 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12704 | return false; |
12705 | // Shadowing a built-in constructor. |
12706 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("GPUTextureView" ), strlen("GPUTextureView" )), value); |
12707 | } |
12708 | |
12709 | bool setJSDOMWindowGPUTextureViewConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12710 | { |
12711 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowGPUTextureViewConstructorSetter>(*state, thisValue, encodedValue, "GPUTextureView" ); |
12712 | } |
12713 | |
12714 | #endif |
12715 | |
12716 | static inline JSValue jsDOMWindowCloseEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12717 | { |
12718 | UNUSED_PARAM(throwScope); |
12719 | UNUSED_PARAM(state); |
12720 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12721 | return jsUndefined(); |
12722 | return JSCloseEvent::getConstructor(state.vm(), &thisObject); |
12723 | } |
12724 | |
12725 | EncodedJSValue jsDOMWindowCloseEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12726 | { |
12727 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCloseEventConstructorGetter>(*state, thisValue, "CloseEvent" ); |
12728 | } |
12729 | |
12730 | static inline bool setJSDOMWindowCloseEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12731 | { |
12732 | UNUSED_PARAM(throwScope); |
12733 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12734 | return false; |
12735 | // Shadowing a built-in constructor. |
12736 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CloseEvent" ), strlen("CloseEvent" )), value); |
12737 | } |
12738 | |
12739 | bool setJSDOMWindowCloseEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12740 | { |
12741 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCloseEventConstructorSetter>(*state, thisValue, encodedValue, "CloseEvent" ); |
12742 | } |
12743 | |
12744 | static inline JSValue jsDOMWindowWebSocketConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12745 | { |
12746 | UNUSED_PARAM(throwScope); |
12747 | UNUSED_PARAM(state); |
12748 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12749 | return jsUndefined(); |
12750 | return JSWebSocket::getConstructor(state.vm(), &thisObject); |
12751 | } |
12752 | |
12753 | EncodedJSValue jsDOMWindowWebSocketConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12754 | { |
12755 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebSocketConstructorGetter>(*state, thisValue, "WebSocket" ); |
12756 | } |
12757 | |
12758 | static inline bool setJSDOMWindowWebSocketConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12759 | { |
12760 | UNUSED_PARAM(throwScope); |
12761 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12762 | return false; |
12763 | // Shadowing a built-in constructor. |
12764 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebSocket" ), strlen("WebSocket" )), value); |
12765 | } |
12766 | |
12767 | bool setJSDOMWindowWebSocketConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12768 | { |
12769 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebSocketConstructorSetter>(*state, thisValue, encodedValue, "WebSocket" ); |
12770 | } |
12771 | |
12772 | static inline JSValue jsDOMWindowVRDisplayConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12773 | { |
12774 | UNUSED_PARAM(throwScope); |
12775 | UNUSED_PARAM(state); |
12776 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12777 | return jsUndefined(); |
12778 | return JSVRDisplay::getConstructor(state.vm(), &thisObject); |
12779 | } |
12780 | |
12781 | EncodedJSValue jsDOMWindowVRDisplayConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12782 | { |
12783 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRDisplayConstructorGetter>(*state, thisValue, "VRDisplay" ); |
12784 | } |
12785 | |
12786 | static inline bool setJSDOMWindowVRDisplayConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12787 | { |
12788 | UNUSED_PARAM(throwScope); |
12789 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12790 | return false; |
12791 | // Shadowing a built-in constructor. |
12792 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRDisplay" ), strlen("VRDisplay" )), value); |
12793 | } |
12794 | |
12795 | bool setJSDOMWindowVRDisplayConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12796 | { |
12797 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRDisplayConstructorSetter>(*state, thisValue, encodedValue, "VRDisplay" ); |
12798 | } |
12799 | |
12800 | static inline JSValue jsDOMWindowVRDisplayCapabilitiesConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12801 | { |
12802 | UNUSED_PARAM(throwScope); |
12803 | UNUSED_PARAM(state); |
12804 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12805 | return jsUndefined(); |
12806 | return JSVRDisplayCapabilities::getConstructor(state.vm(), &thisObject); |
12807 | } |
12808 | |
12809 | EncodedJSValue jsDOMWindowVRDisplayCapabilitiesConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12810 | { |
12811 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRDisplayCapabilitiesConstructorGetter>(*state, thisValue, "VRDisplayCapabilities" ); |
12812 | } |
12813 | |
12814 | static inline bool setJSDOMWindowVRDisplayCapabilitiesConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12815 | { |
12816 | UNUSED_PARAM(throwScope); |
12817 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12818 | return false; |
12819 | // Shadowing a built-in constructor. |
12820 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRDisplayCapabilities" ), strlen("VRDisplayCapabilities" )), value); |
12821 | } |
12822 | |
12823 | bool setJSDOMWindowVRDisplayCapabilitiesConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12824 | { |
12825 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRDisplayCapabilitiesConstructorSetter>(*state, thisValue, encodedValue, "VRDisplayCapabilities" ); |
12826 | } |
12827 | |
12828 | static inline JSValue jsDOMWindowVRDisplayEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12829 | { |
12830 | UNUSED_PARAM(throwScope); |
12831 | UNUSED_PARAM(state); |
12832 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12833 | return jsUndefined(); |
12834 | return JSVRDisplayEvent::getConstructor(state.vm(), &thisObject); |
12835 | } |
12836 | |
12837 | EncodedJSValue jsDOMWindowVRDisplayEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12838 | { |
12839 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRDisplayEventConstructorGetter>(*state, thisValue, "VRDisplayEvent" ); |
12840 | } |
12841 | |
12842 | static inline bool setJSDOMWindowVRDisplayEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12843 | { |
12844 | UNUSED_PARAM(throwScope); |
12845 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12846 | return false; |
12847 | // Shadowing a built-in constructor. |
12848 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRDisplayEvent" ), strlen("VRDisplayEvent" )), value); |
12849 | } |
12850 | |
12851 | bool setJSDOMWindowVRDisplayEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12852 | { |
12853 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRDisplayEventConstructorSetter>(*state, thisValue, encodedValue, "VRDisplayEvent" ); |
12854 | } |
12855 | |
12856 | static inline JSValue jsDOMWindowVREyeParametersConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12857 | { |
12858 | UNUSED_PARAM(throwScope); |
12859 | UNUSED_PARAM(state); |
12860 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12861 | return jsUndefined(); |
12862 | return JSVREyeParameters::getConstructor(state.vm(), &thisObject); |
12863 | } |
12864 | |
12865 | EncodedJSValue jsDOMWindowVREyeParametersConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12866 | { |
12867 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVREyeParametersConstructorGetter>(*state, thisValue, "VREyeParameters" ); |
12868 | } |
12869 | |
12870 | static inline bool setJSDOMWindowVREyeParametersConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12871 | { |
12872 | UNUSED_PARAM(throwScope); |
12873 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12874 | return false; |
12875 | // Shadowing a built-in constructor. |
12876 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VREyeParameters" ), strlen("VREyeParameters" )), value); |
12877 | } |
12878 | |
12879 | bool setJSDOMWindowVREyeParametersConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12880 | { |
12881 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVREyeParametersConstructorSetter>(*state, thisValue, encodedValue, "VREyeParameters" ); |
12882 | } |
12883 | |
12884 | static inline JSValue jsDOMWindowVRFieldOfViewConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12885 | { |
12886 | UNUSED_PARAM(throwScope); |
12887 | UNUSED_PARAM(state); |
12888 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12889 | return jsUndefined(); |
12890 | return JSVRFieldOfView::getConstructor(state.vm(), &thisObject); |
12891 | } |
12892 | |
12893 | EncodedJSValue jsDOMWindowVRFieldOfViewConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12894 | { |
12895 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRFieldOfViewConstructorGetter>(*state, thisValue, "VRFieldOfView" ); |
12896 | } |
12897 | |
12898 | static inline bool setJSDOMWindowVRFieldOfViewConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12899 | { |
12900 | UNUSED_PARAM(throwScope); |
12901 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12902 | return false; |
12903 | // Shadowing a built-in constructor. |
12904 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRFieldOfView" ), strlen("VRFieldOfView" )), value); |
12905 | } |
12906 | |
12907 | bool setJSDOMWindowVRFieldOfViewConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12908 | { |
12909 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRFieldOfViewConstructorSetter>(*state, thisValue, encodedValue, "VRFieldOfView" ); |
12910 | } |
12911 | |
12912 | static inline JSValue jsDOMWindowVRFrameDataConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12913 | { |
12914 | UNUSED_PARAM(throwScope); |
12915 | UNUSED_PARAM(state); |
12916 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12917 | return jsUndefined(); |
12918 | return JSVRFrameData::getConstructor(state.vm(), &thisObject); |
12919 | } |
12920 | |
12921 | EncodedJSValue jsDOMWindowVRFrameDataConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12922 | { |
12923 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRFrameDataConstructorGetter>(*state, thisValue, "VRFrameData" ); |
12924 | } |
12925 | |
12926 | static inline bool setJSDOMWindowVRFrameDataConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12927 | { |
12928 | UNUSED_PARAM(throwScope); |
12929 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12930 | return false; |
12931 | // Shadowing a built-in constructor. |
12932 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRFrameData" ), strlen("VRFrameData" )), value); |
12933 | } |
12934 | |
12935 | bool setJSDOMWindowVRFrameDataConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12936 | { |
12937 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRFrameDataConstructorSetter>(*state, thisValue, encodedValue, "VRFrameData" ); |
12938 | } |
12939 | |
12940 | static inline JSValue jsDOMWindowVRPoseConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12941 | { |
12942 | UNUSED_PARAM(throwScope); |
12943 | UNUSED_PARAM(state); |
12944 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12945 | return jsUndefined(); |
12946 | return JSVRPose::getConstructor(state.vm(), &thisObject); |
12947 | } |
12948 | |
12949 | EncodedJSValue jsDOMWindowVRPoseConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12950 | { |
12951 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRPoseConstructorGetter>(*state, thisValue, "VRPose" ); |
12952 | } |
12953 | |
12954 | static inline bool setJSDOMWindowVRPoseConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12955 | { |
12956 | UNUSED_PARAM(throwScope); |
12957 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12958 | return false; |
12959 | // Shadowing a built-in constructor. |
12960 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRPose" ), strlen("VRPose" )), value); |
12961 | } |
12962 | |
12963 | bool setJSDOMWindowVRPoseConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12964 | { |
12965 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRPoseConstructorSetter>(*state, thisValue, encodedValue, "VRPose" ); |
12966 | } |
12967 | |
12968 | static inline JSValue jsDOMWindowVRStageParametersConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12969 | { |
12970 | UNUSED_PARAM(throwScope); |
12971 | UNUSED_PARAM(state); |
12972 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12973 | return jsUndefined(); |
12974 | return JSVRStageParameters::getConstructor(state.vm(), &thisObject); |
12975 | } |
12976 | |
12977 | EncodedJSValue jsDOMWindowVRStageParametersConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
12978 | { |
12979 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVRStageParametersConstructorGetter>(*state, thisValue, "VRStageParameters" ); |
12980 | } |
12981 | |
12982 | static inline bool setJSDOMWindowVRStageParametersConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
12983 | { |
12984 | UNUSED_PARAM(throwScope); |
12985 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
12986 | return false; |
12987 | // Shadowing a built-in constructor. |
12988 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VRStageParameters" ), strlen("VRStageParameters" )), value); |
12989 | } |
12990 | |
12991 | bool setJSDOMWindowVRStageParametersConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
12992 | { |
12993 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVRStageParametersConstructorSetter>(*state, thisValue, encodedValue, "VRStageParameters" ); |
12994 | } |
12995 | |
12996 | static inline JSValue jsDOMWindowAnimationEffectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
12997 | { |
12998 | UNUSED_PARAM(throwScope); |
12999 | UNUSED_PARAM(state); |
13000 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13001 | return jsUndefined(); |
13002 | return JSAnimationEffect::getConstructor(state.vm(), &thisObject); |
13003 | } |
13004 | |
13005 | EncodedJSValue jsDOMWindowAnimationEffectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13006 | { |
13007 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAnimationEffectConstructorGetter>(*state, thisValue, "AnimationEffect" ); |
13008 | } |
13009 | |
13010 | static inline bool setJSDOMWindowAnimationEffectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13011 | { |
13012 | UNUSED_PARAM(throwScope); |
13013 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13014 | return false; |
13015 | // Shadowing a built-in constructor. |
13016 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AnimationEffect" ), strlen("AnimationEffect" )), value); |
13017 | } |
13018 | |
13019 | bool setJSDOMWindowAnimationEffectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13020 | { |
13021 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAnimationEffectConstructorSetter>(*state, thisValue, encodedValue, "AnimationEffect" ); |
13022 | } |
13023 | |
13024 | static inline JSValue jsDOMWindowAnimationPlaybackEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13025 | { |
13026 | UNUSED_PARAM(throwScope); |
13027 | UNUSED_PARAM(state); |
13028 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13029 | return jsUndefined(); |
13030 | return JSAnimationPlaybackEvent::getConstructor(state.vm(), &thisObject); |
13031 | } |
13032 | |
13033 | EncodedJSValue jsDOMWindowAnimationPlaybackEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13034 | { |
13035 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAnimationPlaybackEventConstructorGetter>(*state, thisValue, "AnimationPlaybackEvent" ); |
13036 | } |
13037 | |
13038 | static inline bool setJSDOMWindowAnimationPlaybackEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13039 | { |
13040 | UNUSED_PARAM(throwScope); |
13041 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13042 | return false; |
13043 | // Shadowing a built-in constructor. |
13044 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AnimationPlaybackEvent" ), strlen("AnimationPlaybackEvent" )), value); |
13045 | } |
13046 | |
13047 | bool setJSDOMWindowAnimationPlaybackEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13048 | { |
13049 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAnimationPlaybackEventConstructorSetter>(*state, thisValue, encodedValue, "AnimationPlaybackEvent" ); |
13050 | } |
13051 | |
13052 | static inline JSValue jsDOMWindowAnimationTimelineConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13053 | { |
13054 | UNUSED_PARAM(throwScope); |
13055 | UNUSED_PARAM(state); |
13056 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13057 | return jsUndefined(); |
13058 | return JSAnimationTimeline::getConstructor(state.vm(), &thisObject); |
13059 | } |
13060 | |
13061 | EncodedJSValue jsDOMWindowAnimationTimelineConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13062 | { |
13063 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAnimationTimelineConstructorGetter>(*state, thisValue, "AnimationTimeline" ); |
13064 | } |
13065 | |
13066 | static inline bool setJSDOMWindowAnimationTimelineConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13067 | { |
13068 | UNUSED_PARAM(throwScope); |
13069 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13070 | return false; |
13071 | // Shadowing a built-in constructor. |
13072 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AnimationTimeline" ), strlen("AnimationTimeline" )), value); |
13073 | } |
13074 | |
13075 | bool setJSDOMWindowAnimationTimelineConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13076 | { |
13077 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAnimationTimelineConstructorSetter>(*state, thisValue, encodedValue, "AnimationTimeline" ); |
13078 | } |
13079 | |
13080 | static inline JSValue jsDOMWindowCSSAnimationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13081 | { |
13082 | UNUSED_PARAM(throwScope); |
13083 | UNUSED_PARAM(state); |
13084 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13085 | return jsUndefined(); |
13086 | return JSCSSAnimation::getConstructor(state.vm(), &thisObject); |
13087 | } |
13088 | |
13089 | EncodedJSValue jsDOMWindowCSSAnimationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13090 | { |
13091 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSAnimationConstructorGetter>(*state, thisValue, "CSSAnimation" ); |
13092 | } |
13093 | |
13094 | static inline bool setJSDOMWindowCSSAnimationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13095 | { |
13096 | UNUSED_PARAM(throwScope); |
13097 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13098 | return false; |
13099 | // Shadowing a built-in constructor. |
13100 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSAnimation" ), strlen("CSSAnimation" )), value); |
13101 | } |
13102 | |
13103 | bool setJSDOMWindowCSSAnimationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13104 | { |
13105 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSAnimationConstructorSetter>(*state, thisValue, encodedValue, "CSSAnimation" ); |
13106 | } |
13107 | |
13108 | static inline JSValue jsDOMWindowCSSTransitionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13109 | { |
13110 | UNUSED_PARAM(throwScope); |
13111 | UNUSED_PARAM(state); |
13112 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13113 | return jsUndefined(); |
13114 | return JSCSSTransition::getConstructor(state.vm(), &thisObject); |
13115 | } |
13116 | |
13117 | EncodedJSValue jsDOMWindowCSSTransitionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13118 | { |
13119 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSTransitionConstructorGetter>(*state, thisValue, "CSSTransition" ); |
13120 | } |
13121 | |
13122 | static inline bool setJSDOMWindowCSSTransitionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13123 | { |
13124 | UNUSED_PARAM(throwScope); |
13125 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13126 | return false; |
13127 | // Shadowing a built-in constructor. |
13128 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSTransition" ), strlen("CSSTransition" )), value); |
13129 | } |
13130 | |
13131 | bool setJSDOMWindowCSSTransitionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13132 | { |
13133 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSTransitionConstructorSetter>(*state, thisValue, encodedValue, "CSSTransition" ); |
13134 | } |
13135 | |
13136 | static inline JSValue jsDOMWindowDocumentTimelineConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13137 | { |
13138 | UNUSED_PARAM(throwScope); |
13139 | UNUSED_PARAM(state); |
13140 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13141 | return jsUndefined(); |
13142 | return JSDocumentTimeline::getConstructor(state.vm(), &thisObject); |
13143 | } |
13144 | |
13145 | EncodedJSValue jsDOMWindowDocumentTimelineConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13146 | { |
13147 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDocumentTimelineConstructorGetter>(*state, thisValue, "DocumentTimeline" ); |
13148 | } |
13149 | |
13150 | static inline bool setJSDOMWindowDocumentTimelineConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13151 | { |
13152 | UNUSED_PARAM(throwScope); |
13153 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13154 | return false; |
13155 | // Shadowing a built-in constructor. |
13156 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DocumentTimeline" ), strlen("DocumentTimeline" )), value); |
13157 | } |
13158 | |
13159 | bool setJSDOMWindowDocumentTimelineConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13160 | { |
13161 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDocumentTimelineConstructorSetter>(*state, thisValue, encodedValue, "DocumentTimeline" ); |
13162 | } |
13163 | |
13164 | static inline JSValue jsDOMWindowKeyframeEffectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13165 | { |
13166 | UNUSED_PARAM(throwScope); |
13167 | UNUSED_PARAM(state); |
13168 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13169 | return jsUndefined(); |
13170 | return JSKeyframeEffect::getConstructor(state.vm(), &thisObject); |
13171 | } |
13172 | |
13173 | EncodedJSValue jsDOMWindowKeyframeEffectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13174 | { |
13175 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowKeyframeEffectConstructorGetter>(*state, thisValue, "KeyframeEffect" ); |
13176 | } |
13177 | |
13178 | static inline bool setJSDOMWindowKeyframeEffectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13179 | { |
13180 | UNUSED_PARAM(throwScope); |
13181 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13182 | return false; |
13183 | // Shadowing a built-in constructor. |
13184 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("KeyframeEffect" ), strlen("KeyframeEffect" )), value); |
13185 | } |
13186 | |
13187 | bool setJSDOMWindowKeyframeEffectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13188 | { |
13189 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowKeyframeEffectConstructorSetter>(*state, thisValue, encodedValue, "KeyframeEffect" ); |
13190 | } |
13191 | |
13192 | static inline JSValue jsDOMWindowAnimationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13193 | { |
13194 | UNUSED_PARAM(throwScope); |
13195 | UNUSED_PARAM(state); |
13196 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13197 | return jsUndefined(); |
13198 | return JSWebAnimation::getConstructor(state.vm(), &thisObject); |
13199 | } |
13200 | |
13201 | EncodedJSValue jsDOMWindowAnimationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13202 | { |
13203 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAnimationConstructorGetter>(*state, thisValue, "Animation" ); |
13204 | } |
13205 | |
13206 | static inline bool setJSDOMWindowAnimationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13207 | { |
13208 | UNUSED_PARAM(throwScope); |
13209 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13210 | return false; |
13211 | // Shadowing a built-in constructor. |
13212 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Animation" ), strlen("Animation" )), value); |
13213 | } |
13214 | |
13215 | bool setJSDOMWindowAnimationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13216 | { |
13217 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAnimationConstructorSetter>(*state, thisValue, encodedValue, "Animation" ); |
13218 | } |
13219 | |
13220 | #if ENABLE(WEB_CRYPTO) |
13221 | static inline JSValue jsDOMWindowCryptoKeyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13222 | { |
13223 | UNUSED_PARAM(throwScope); |
13224 | UNUSED_PARAM(state); |
13225 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13226 | return jsUndefined(); |
13227 | return JSCryptoKey::getConstructor(state.vm(), &thisObject); |
13228 | } |
13229 | |
13230 | EncodedJSValue jsDOMWindowCryptoKeyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13231 | { |
13232 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCryptoKeyConstructorGetter>(*state, thisValue, "CryptoKey" ); |
13233 | } |
13234 | |
13235 | #endif |
13236 | |
13237 | #if ENABLE(WEB_CRYPTO) |
13238 | static inline bool setJSDOMWindowCryptoKeyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13239 | { |
13240 | UNUSED_PARAM(throwScope); |
13241 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13242 | return false; |
13243 | // Shadowing a built-in constructor. |
13244 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CryptoKey" ), strlen("CryptoKey" )), value); |
13245 | } |
13246 | |
13247 | bool setJSDOMWindowCryptoKeyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13248 | { |
13249 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCryptoKeyConstructorSetter>(*state, thisValue, encodedValue, "CryptoKey" ); |
13250 | } |
13251 | |
13252 | #endif |
13253 | |
13254 | #if ENABLE(WEB_CRYPTO) |
13255 | static inline JSValue jsDOMWindowSubtleCryptoConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13256 | { |
13257 | UNUSED_PARAM(throwScope); |
13258 | UNUSED_PARAM(state); |
13259 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13260 | return jsUndefined(); |
13261 | return JSSubtleCrypto::getConstructor(state.vm(), &thisObject); |
13262 | } |
13263 | |
13264 | EncodedJSValue jsDOMWindowSubtleCryptoConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13265 | { |
13266 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSubtleCryptoConstructorGetter>(*state, thisValue, "SubtleCrypto" ); |
13267 | } |
13268 | |
13269 | #endif |
13270 | |
13271 | #if ENABLE(WEB_CRYPTO) |
13272 | static inline bool setJSDOMWindowSubtleCryptoConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13273 | { |
13274 | UNUSED_PARAM(throwScope); |
13275 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13276 | return false; |
13277 | // Shadowing a built-in constructor. |
13278 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SubtleCrypto" ), strlen("SubtleCrypto" )), value); |
13279 | } |
13280 | |
13281 | bool setJSDOMWindowSubtleCryptoConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13282 | { |
13283 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSubtleCryptoConstructorSetter>(*state, thisValue, encodedValue, "SubtleCrypto" ); |
13284 | } |
13285 | |
13286 | #endif |
13287 | |
13288 | static inline JSValue jsDOMWindowCSSFontFaceRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13289 | { |
13290 | UNUSED_PARAM(throwScope); |
13291 | UNUSED_PARAM(state); |
13292 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13293 | return jsUndefined(); |
13294 | return JSCSSFontFaceRule::getConstructor(state.vm(), &thisObject); |
13295 | } |
13296 | |
13297 | EncodedJSValue jsDOMWindowCSSFontFaceRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13298 | { |
13299 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSFontFaceRuleConstructorGetter>(*state, thisValue, "CSSFontFaceRule" ); |
13300 | } |
13301 | |
13302 | static inline bool setJSDOMWindowCSSFontFaceRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13303 | { |
13304 | UNUSED_PARAM(throwScope); |
13305 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13306 | return false; |
13307 | // Shadowing a built-in constructor. |
13308 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSFontFaceRule" ), strlen("CSSFontFaceRule" )), value); |
13309 | } |
13310 | |
13311 | bool setJSDOMWindowCSSFontFaceRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13312 | { |
13313 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSFontFaceRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSFontFaceRule" ); |
13314 | } |
13315 | |
13316 | static inline JSValue jsDOMWindowCSSImportRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13317 | { |
13318 | UNUSED_PARAM(throwScope); |
13319 | UNUSED_PARAM(state); |
13320 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13321 | return jsUndefined(); |
13322 | return JSCSSImportRule::getConstructor(state.vm(), &thisObject); |
13323 | } |
13324 | |
13325 | EncodedJSValue jsDOMWindowCSSImportRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13326 | { |
13327 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSImportRuleConstructorGetter>(*state, thisValue, "CSSImportRule" ); |
13328 | } |
13329 | |
13330 | static inline bool setJSDOMWindowCSSImportRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13331 | { |
13332 | UNUSED_PARAM(throwScope); |
13333 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13334 | return false; |
13335 | // Shadowing a built-in constructor. |
13336 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSImportRule" ), strlen("CSSImportRule" )), value); |
13337 | } |
13338 | |
13339 | bool setJSDOMWindowCSSImportRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13340 | { |
13341 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSImportRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSImportRule" ); |
13342 | } |
13343 | |
13344 | static inline JSValue jsDOMWindowCSSKeyframeRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13345 | { |
13346 | UNUSED_PARAM(throwScope); |
13347 | UNUSED_PARAM(state); |
13348 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13349 | return jsUndefined(); |
13350 | return JSCSSKeyframeRule::getConstructor(state.vm(), &thisObject); |
13351 | } |
13352 | |
13353 | EncodedJSValue jsDOMWindowCSSKeyframeRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13354 | { |
13355 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSKeyframeRuleConstructorGetter>(*state, thisValue, "CSSKeyframeRule" ); |
13356 | } |
13357 | |
13358 | static inline bool setJSDOMWindowCSSKeyframeRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13359 | { |
13360 | UNUSED_PARAM(throwScope); |
13361 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13362 | return false; |
13363 | // Shadowing a built-in constructor. |
13364 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSKeyframeRule" ), strlen("CSSKeyframeRule" )), value); |
13365 | } |
13366 | |
13367 | bool setJSDOMWindowCSSKeyframeRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13368 | { |
13369 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSKeyframeRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSKeyframeRule" ); |
13370 | } |
13371 | |
13372 | static inline JSValue jsDOMWindowCSSKeyframesRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13373 | { |
13374 | UNUSED_PARAM(throwScope); |
13375 | UNUSED_PARAM(state); |
13376 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13377 | return jsUndefined(); |
13378 | return JSCSSKeyframesRule::getConstructor(state.vm(), &thisObject); |
13379 | } |
13380 | |
13381 | EncodedJSValue jsDOMWindowCSSKeyframesRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13382 | { |
13383 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSKeyframesRuleConstructorGetter>(*state, thisValue, "CSSKeyframesRule" ); |
13384 | } |
13385 | |
13386 | static inline bool setJSDOMWindowCSSKeyframesRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13387 | { |
13388 | UNUSED_PARAM(throwScope); |
13389 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13390 | return false; |
13391 | // Shadowing a built-in constructor. |
13392 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSKeyframesRule" ), strlen("CSSKeyframesRule" )), value); |
13393 | } |
13394 | |
13395 | bool setJSDOMWindowCSSKeyframesRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13396 | { |
13397 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSKeyframesRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSKeyframesRule" ); |
13398 | } |
13399 | |
13400 | static inline JSValue jsDOMWindowCSSMediaRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13401 | { |
13402 | UNUSED_PARAM(throwScope); |
13403 | UNUSED_PARAM(state); |
13404 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13405 | return jsUndefined(); |
13406 | return JSCSSMediaRule::getConstructor(state.vm(), &thisObject); |
13407 | } |
13408 | |
13409 | EncodedJSValue jsDOMWindowCSSMediaRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13410 | { |
13411 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSMediaRuleConstructorGetter>(*state, thisValue, "CSSMediaRule" ); |
13412 | } |
13413 | |
13414 | static inline bool setJSDOMWindowCSSMediaRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13415 | { |
13416 | UNUSED_PARAM(throwScope); |
13417 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13418 | return false; |
13419 | // Shadowing a built-in constructor. |
13420 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSMediaRule" ), strlen("CSSMediaRule" )), value); |
13421 | } |
13422 | |
13423 | bool setJSDOMWindowCSSMediaRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13424 | { |
13425 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSMediaRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSMediaRule" ); |
13426 | } |
13427 | |
13428 | static inline JSValue jsDOMWindowCSSNamespaceRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13429 | { |
13430 | UNUSED_PARAM(throwScope); |
13431 | UNUSED_PARAM(state); |
13432 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13433 | return jsUndefined(); |
13434 | return JSCSSNamespaceRule::getConstructor(state.vm(), &thisObject); |
13435 | } |
13436 | |
13437 | EncodedJSValue jsDOMWindowCSSNamespaceRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13438 | { |
13439 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSNamespaceRuleConstructorGetter>(*state, thisValue, "CSSNamespaceRule" ); |
13440 | } |
13441 | |
13442 | static inline bool setJSDOMWindowCSSNamespaceRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13443 | { |
13444 | UNUSED_PARAM(throwScope); |
13445 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13446 | return false; |
13447 | // Shadowing a built-in constructor. |
13448 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSNamespaceRule" ), strlen("CSSNamespaceRule" )), value); |
13449 | } |
13450 | |
13451 | bool setJSDOMWindowCSSNamespaceRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13452 | { |
13453 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSNamespaceRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSNamespaceRule" ); |
13454 | } |
13455 | |
13456 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13457 | { |
13458 | UNUSED_PARAM(throwScope); |
13459 | UNUSED_PARAM(state); |
13460 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13461 | return jsUndefined(); |
13462 | return JSCSSPageRule::getConstructor(state.vm(), &thisObject); |
13463 | } |
13464 | |
13465 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
13466 | { |
13467 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSPageRuleConstructorGetter>(*state, thisValue, "CSSPageRule" ); |
13468 | } |
13469 | |
13470 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13471 | { |
13472 | UNUSED_PARAM(throwScope); |
13473 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13474 | return false; |
13475 | // Shadowing a built-in constructor. |
13476 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSPageRule" ), strlen("CSSPageRule" )), value); |
13477 | } |
13478 | |
13479 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13480 | { |
13481 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSPageRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSPageRule" ); |
13482 | } |
13483 | |
13484 | static inline JSValue jsDOMWindowCSSRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13485 | { |
13486 | UNUSED_PARAM(throwScope); |
13487 | UNUSED_PARAM(state); |
13488 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13489 | return jsUndefined(); |
13490 | return JSCSSRule::getConstructor(state.vm(), &thisObject); |
13491 | } |
13492 | |
13493 | EncodedJSValue jsDOMWindowCSSRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13494 | { |
13495 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSRuleConstructorGetter>(*state, thisValue, "CSSRule" ); |
13496 | } |
13497 | |
13498 | static inline bool setJSDOMWindowCSSRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13499 | { |
13500 | UNUSED_PARAM(throwScope); |
13501 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13502 | return false; |
13503 | // Shadowing a built-in constructor. |
13504 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSRule" ), strlen("CSSRule" )), value); |
13505 | } |
13506 | |
13507 | bool setJSDOMWindowCSSRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13508 | { |
13509 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSRule" ); |
13510 | } |
13511 | |
13512 | static inline JSValue jsDOMWindowCSSRuleListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13513 | { |
13514 | UNUSED_PARAM(throwScope); |
13515 | UNUSED_PARAM(state); |
13516 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13517 | return jsUndefined(); |
13518 | return JSCSSRuleList::getConstructor(state.vm(), &thisObject); |
13519 | } |
13520 | |
13521 | EncodedJSValue jsDOMWindowCSSRuleListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13522 | { |
13523 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSRuleListConstructorGetter>(*state, thisValue, "CSSRuleList" ); |
13524 | } |
13525 | |
13526 | static inline bool setJSDOMWindowCSSRuleListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13527 | { |
13528 | UNUSED_PARAM(throwScope); |
13529 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13530 | return false; |
13531 | // Shadowing a built-in constructor. |
13532 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSRuleList" ), strlen("CSSRuleList" )), value); |
13533 | } |
13534 | |
13535 | bool setJSDOMWindowCSSRuleListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13536 | { |
13537 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSRuleListConstructorSetter>(*state, thisValue, encodedValue, "CSSRuleList" ); |
13538 | } |
13539 | |
13540 | static inline JSValue jsDOMWindowCSSStyleDeclarationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13541 | { |
13542 | UNUSED_PARAM(throwScope); |
13543 | UNUSED_PARAM(state); |
13544 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13545 | return jsUndefined(); |
13546 | return JSCSSStyleDeclaration::getConstructor(state.vm(), &thisObject); |
13547 | } |
13548 | |
13549 | EncodedJSValue jsDOMWindowCSSStyleDeclarationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13550 | { |
13551 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSStyleDeclarationConstructorGetter>(*state, thisValue, "CSSStyleDeclaration" ); |
13552 | } |
13553 | |
13554 | static inline bool setJSDOMWindowCSSStyleDeclarationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13555 | { |
13556 | UNUSED_PARAM(throwScope); |
13557 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13558 | return false; |
13559 | // Shadowing a built-in constructor. |
13560 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSStyleDeclaration" ), strlen("CSSStyleDeclaration" )), value); |
13561 | } |
13562 | |
13563 | bool setJSDOMWindowCSSStyleDeclarationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13564 | { |
13565 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSStyleDeclarationConstructorSetter>(*state, thisValue, encodedValue, "CSSStyleDeclaration" ); |
13566 | } |
13567 | |
13568 | static inline JSValue jsDOMWindowCSSStyleRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13569 | { |
13570 | UNUSED_PARAM(throwScope); |
13571 | UNUSED_PARAM(state); |
13572 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13573 | return jsUndefined(); |
13574 | return JSCSSStyleRule::getConstructor(state.vm(), &thisObject); |
13575 | } |
13576 | |
13577 | EncodedJSValue jsDOMWindowCSSStyleRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13578 | { |
13579 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSStyleRuleConstructorGetter>(*state, thisValue, "CSSStyleRule" ); |
13580 | } |
13581 | |
13582 | static inline bool setJSDOMWindowCSSStyleRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13583 | { |
13584 | UNUSED_PARAM(throwScope); |
13585 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13586 | return false; |
13587 | // Shadowing a built-in constructor. |
13588 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSStyleRule" ), strlen("CSSStyleRule" )), value); |
13589 | } |
13590 | |
13591 | bool setJSDOMWindowCSSStyleRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13592 | { |
13593 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSStyleRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSStyleRule" ); |
13594 | } |
13595 | |
13596 | static inline JSValue jsDOMWindowCSSStyleSheetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13597 | { |
13598 | UNUSED_PARAM(throwScope); |
13599 | UNUSED_PARAM(state); |
13600 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13601 | return jsUndefined(); |
13602 | return JSCSSStyleSheet::getConstructor(state.vm(), &thisObject); |
13603 | } |
13604 | |
13605 | EncodedJSValue jsDOMWindowCSSStyleSheetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13606 | { |
13607 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSStyleSheetConstructorGetter>(*state, thisValue, "CSSStyleSheet" ); |
13608 | } |
13609 | |
13610 | static inline bool setJSDOMWindowCSSStyleSheetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13611 | { |
13612 | UNUSED_PARAM(throwScope); |
13613 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13614 | return false; |
13615 | // Shadowing a built-in constructor. |
13616 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSStyleSheet" ), strlen("CSSStyleSheet" )), value); |
13617 | } |
13618 | |
13619 | bool setJSDOMWindowCSSStyleSheetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13620 | { |
13621 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSStyleSheetConstructorSetter>(*state, thisValue, encodedValue, "CSSStyleSheet" ); |
13622 | } |
13623 | |
13624 | static inline JSValue jsDOMWindowCSSSupportsRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13625 | { |
13626 | UNUSED_PARAM(throwScope); |
13627 | UNUSED_PARAM(state); |
13628 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13629 | return jsUndefined(); |
13630 | return JSCSSSupportsRule::getConstructor(state.vm(), &thisObject); |
13631 | } |
13632 | |
13633 | EncodedJSValue jsDOMWindowCSSSupportsRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13634 | { |
13635 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSSupportsRuleConstructorGetter>(*state, thisValue, "CSSSupportsRule" ); |
13636 | } |
13637 | |
13638 | static inline bool setJSDOMWindowCSSSupportsRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13639 | { |
13640 | UNUSED_PARAM(throwScope); |
13641 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13642 | return false; |
13643 | // Shadowing a built-in constructor. |
13644 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSSupportsRule" ), strlen("CSSSupportsRule" )), value); |
13645 | } |
13646 | |
13647 | bool setJSDOMWindowCSSSupportsRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13648 | { |
13649 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSSupportsRuleConstructorSetter>(*state, thisValue, encodedValue, "CSSSupportsRule" ); |
13650 | } |
13651 | |
13652 | static inline JSValue jsDOMWindowCSSConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13653 | { |
13654 | UNUSED_PARAM(throwScope); |
13655 | UNUSED_PARAM(state); |
13656 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13657 | return jsUndefined(); |
13658 | return JSDOMCSSNamespace::getConstructor(state.vm(), &thisObject); |
13659 | } |
13660 | |
13661 | EncodedJSValue jsDOMWindowCSSConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13662 | { |
13663 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSConstructorGetter>(*state, thisValue, "CSS" ); |
13664 | } |
13665 | |
13666 | static inline bool setJSDOMWindowCSSConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13667 | { |
13668 | UNUSED_PARAM(throwScope); |
13669 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13670 | return false; |
13671 | // Shadowing a built-in constructor. |
13672 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSS" ), strlen("CSS" )), value); |
13673 | } |
13674 | |
13675 | bool setJSDOMWindowCSSConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13676 | { |
13677 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSConstructorSetter>(*state, thisValue, encodedValue, "CSS" ); |
13678 | } |
13679 | |
13680 | static inline JSValue jsDOMWindowDOMMatrixConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13681 | { |
13682 | UNUSED_PARAM(throwScope); |
13683 | UNUSED_PARAM(state); |
13684 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13685 | return jsUndefined(); |
13686 | return JSDOMMatrix::getConstructor(state.vm(), &thisObject); |
13687 | } |
13688 | |
13689 | EncodedJSValue jsDOMWindowDOMMatrixConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13690 | { |
13691 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMMatrixConstructorGetter>(*state, thisValue, "DOMMatrix" ); |
13692 | } |
13693 | |
13694 | static inline bool setJSDOMWindowDOMMatrixConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13695 | { |
13696 | UNUSED_PARAM(throwScope); |
13697 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13698 | return false; |
13699 | // Shadowing a built-in constructor. |
13700 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMMatrix" ), strlen("DOMMatrix" )), value); |
13701 | } |
13702 | |
13703 | bool setJSDOMWindowDOMMatrixConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13704 | { |
13705 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMMatrixConstructorSetter>(*state, thisValue, encodedValue, "DOMMatrix" ); |
13706 | } |
13707 | |
13708 | static inline JSValue jsDOMWindowDOMMatrixReadOnlyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13709 | { |
13710 | UNUSED_PARAM(throwScope); |
13711 | UNUSED_PARAM(state); |
13712 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13713 | return jsUndefined(); |
13714 | return JSDOMMatrixReadOnly::getConstructor(state.vm(), &thisObject); |
13715 | } |
13716 | |
13717 | EncodedJSValue jsDOMWindowDOMMatrixReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13718 | { |
13719 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMMatrixReadOnlyConstructorGetter>(*state, thisValue, "DOMMatrixReadOnly" ); |
13720 | } |
13721 | |
13722 | static inline bool setJSDOMWindowDOMMatrixReadOnlyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13723 | { |
13724 | UNUSED_PARAM(throwScope); |
13725 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13726 | return false; |
13727 | // Shadowing a built-in constructor. |
13728 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMMatrixReadOnly" ), strlen("DOMMatrixReadOnly" )), value); |
13729 | } |
13730 | |
13731 | bool setJSDOMWindowDOMMatrixReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13732 | { |
13733 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMMatrixReadOnlyConstructorSetter>(*state, thisValue, encodedValue, "DOMMatrixReadOnly" ); |
13734 | } |
13735 | |
13736 | static inline JSValue jsDOMWindowCounterConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13737 | { |
13738 | UNUSED_PARAM(throwScope); |
13739 | UNUSED_PARAM(state); |
13740 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13741 | return jsUndefined(); |
13742 | return JSDeprecatedCSSOMCounter::getConstructor(state.vm(), &thisObject); |
13743 | } |
13744 | |
13745 | EncodedJSValue jsDOMWindowCounterConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13746 | { |
13747 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCounterConstructorGetter>(*state, thisValue, "Counter" ); |
13748 | } |
13749 | |
13750 | static inline bool setJSDOMWindowCounterConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13751 | { |
13752 | UNUSED_PARAM(throwScope); |
13753 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13754 | return false; |
13755 | // Shadowing a built-in constructor. |
13756 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Counter" ), strlen("Counter" )), value); |
13757 | } |
13758 | |
13759 | bool setJSDOMWindowCounterConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13760 | { |
13761 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCounterConstructorSetter>(*state, thisValue, encodedValue, "Counter" ); |
13762 | } |
13763 | |
13764 | static inline JSValue jsDOMWindowCSSPrimitiveValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13765 | { |
13766 | UNUSED_PARAM(throwScope); |
13767 | UNUSED_PARAM(state); |
13768 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13769 | return jsUndefined(); |
13770 | return JSDeprecatedCSSOMPrimitiveValue::getConstructor(state.vm(), &thisObject); |
13771 | } |
13772 | |
13773 | EncodedJSValue jsDOMWindowCSSPrimitiveValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13774 | { |
13775 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSPrimitiveValueConstructorGetter>(*state, thisValue, "CSSPrimitiveValue" ); |
13776 | } |
13777 | |
13778 | static inline bool setJSDOMWindowCSSPrimitiveValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13779 | { |
13780 | UNUSED_PARAM(throwScope); |
13781 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13782 | return false; |
13783 | // Shadowing a built-in constructor. |
13784 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSPrimitiveValue" ), strlen("CSSPrimitiveValue" )), value); |
13785 | } |
13786 | |
13787 | bool setJSDOMWindowCSSPrimitiveValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13788 | { |
13789 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSPrimitiveValueConstructorSetter>(*state, thisValue, encodedValue, "CSSPrimitiveValue" ); |
13790 | } |
13791 | |
13792 | static inline JSValue jsDOMWindowRGBColorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13793 | { |
13794 | UNUSED_PARAM(throwScope); |
13795 | UNUSED_PARAM(state); |
13796 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13797 | return jsUndefined(); |
13798 | return JSDeprecatedCSSOMRGBColor::getConstructor(state.vm(), &thisObject); |
13799 | } |
13800 | |
13801 | EncodedJSValue jsDOMWindowRGBColorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13802 | { |
13803 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRGBColorConstructorGetter>(*state, thisValue, "RGBColor" ); |
13804 | } |
13805 | |
13806 | static inline bool setJSDOMWindowRGBColorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13807 | { |
13808 | UNUSED_PARAM(throwScope); |
13809 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13810 | return false; |
13811 | // Shadowing a built-in constructor. |
13812 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RGBColor" ), strlen("RGBColor" )), value); |
13813 | } |
13814 | |
13815 | bool setJSDOMWindowRGBColorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13816 | { |
13817 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRGBColorConstructorSetter>(*state, thisValue, encodedValue, "RGBColor" ); |
13818 | } |
13819 | |
13820 | static inline JSValue jsDOMWindowRectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13821 | { |
13822 | UNUSED_PARAM(throwScope); |
13823 | UNUSED_PARAM(state); |
13824 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13825 | return jsUndefined(); |
13826 | return JSDeprecatedCSSOMRect::getConstructor(state.vm(), &thisObject); |
13827 | } |
13828 | |
13829 | EncodedJSValue jsDOMWindowRectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13830 | { |
13831 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRectConstructorGetter>(*state, thisValue, "Rect" ); |
13832 | } |
13833 | |
13834 | static inline bool setJSDOMWindowRectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13835 | { |
13836 | UNUSED_PARAM(throwScope); |
13837 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13838 | return false; |
13839 | // Shadowing a built-in constructor. |
13840 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Rect" ), strlen("Rect" )), value); |
13841 | } |
13842 | |
13843 | bool setJSDOMWindowRectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13844 | { |
13845 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRectConstructorSetter>(*state, thisValue, encodedValue, "Rect" ); |
13846 | } |
13847 | |
13848 | static inline JSValue jsDOMWindowCSSValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13849 | { |
13850 | UNUSED_PARAM(throwScope); |
13851 | UNUSED_PARAM(state); |
13852 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13853 | return jsUndefined(); |
13854 | return JSDeprecatedCSSOMValue::getConstructor(state.vm(), &thisObject); |
13855 | } |
13856 | |
13857 | EncodedJSValue jsDOMWindowCSSValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13858 | { |
13859 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSValueConstructorGetter>(*state, thisValue, "CSSValue" ); |
13860 | } |
13861 | |
13862 | static inline bool setJSDOMWindowCSSValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13863 | { |
13864 | UNUSED_PARAM(throwScope); |
13865 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13866 | return false; |
13867 | // Shadowing a built-in constructor. |
13868 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSValue" ), strlen("CSSValue" )), value); |
13869 | } |
13870 | |
13871 | bool setJSDOMWindowCSSValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13872 | { |
13873 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSValueConstructorSetter>(*state, thisValue, encodedValue, "CSSValue" ); |
13874 | } |
13875 | |
13876 | static inline JSValue jsDOMWindowCSSValueListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13877 | { |
13878 | UNUSED_PARAM(throwScope); |
13879 | UNUSED_PARAM(state); |
13880 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13881 | return jsUndefined(); |
13882 | return JSDeprecatedCSSOMValueList::getConstructor(state.vm(), &thisObject); |
13883 | } |
13884 | |
13885 | EncodedJSValue jsDOMWindowCSSValueListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13886 | { |
13887 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSValueListConstructorGetter>(*state, thisValue, "CSSValueList" ); |
13888 | } |
13889 | |
13890 | static inline bool setJSDOMWindowCSSValueListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13891 | { |
13892 | UNUSED_PARAM(throwScope); |
13893 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13894 | return false; |
13895 | // Shadowing a built-in constructor. |
13896 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSValueList" ), strlen("CSSValueList" )), value); |
13897 | } |
13898 | |
13899 | bool setJSDOMWindowCSSValueListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13900 | { |
13901 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSValueListConstructorSetter>(*state, thisValue, encodedValue, "CSSValueList" ); |
13902 | } |
13903 | |
13904 | static inline JSValue jsDOMWindowFontFaceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13905 | { |
13906 | UNUSED_PARAM(throwScope); |
13907 | UNUSED_PARAM(state); |
13908 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13909 | return jsUndefined(); |
13910 | return JSFontFace::getConstructor(state.vm(), &thisObject); |
13911 | } |
13912 | |
13913 | EncodedJSValue jsDOMWindowFontFaceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13914 | { |
13915 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFontFaceConstructorGetter>(*state, thisValue, "FontFace" ); |
13916 | } |
13917 | |
13918 | static inline bool setJSDOMWindowFontFaceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13919 | { |
13920 | UNUSED_PARAM(throwScope); |
13921 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13922 | return false; |
13923 | // Shadowing a built-in constructor. |
13924 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FontFace" ), strlen("FontFace" )), value); |
13925 | } |
13926 | |
13927 | bool setJSDOMWindowFontFaceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13928 | { |
13929 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFontFaceConstructorSetter>(*state, thisValue, encodedValue, "FontFace" ); |
13930 | } |
13931 | |
13932 | static inline JSValue jsDOMWindowFontFaceSetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13933 | { |
13934 | UNUSED_PARAM(throwScope); |
13935 | UNUSED_PARAM(state); |
13936 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13937 | return jsUndefined(); |
13938 | return JSFontFaceSet::getConstructor(state.vm(), &thisObject); |
13939 | } |
13940 | |
13941 | EncodedJSValue jsDOMWindowFontFaceSetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13942 | { |
13943 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFontFaceSetConstructorGetter>(*state, thisValue, "FontFaceSet" ); |
13944 | } |
13945 | |
13946 | static inline bool setJSDOMWindowFontFaceSetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13947 | { |
13948 | UNUSED_PARAM(throwScope); |
13949 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13950 | return false; |
13951 | // Shadowing a built-in constructor. |
13952 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FontFaceSet" ), strlen("FontFaceSet" )), value); |
13953 | } |
13954 | |
13955 | bool setJSDOMWindowFontFaceSetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13956 | { |
13957 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFontFaceSetConstructorSetter>(*state, thisValue, encodedValue, "FontFaceSet" ); |
13958 | } |
13959 | |
13960 | static inline JSValue jsDOMWindowMediaListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13961 | { |
13962 | UNUSED_PARAM(throwScope); |
13963 | UNUSED_PARAM(state); |
13964 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13965 | return jsUndefined(); |
13966 | return JSMediaList::getConstructor(state.vm(), &thisObject); |
13967 | } |
13968 | |
13969 | EncodedJSValue jsDOMWindowMediaListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13970 | { |
13971 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaListConstructorGetter>(*state, thisValue, "MediaList" ); |
13972 | } |
13973 | |
13974 | static inline bool setJSDOMWindowMediaListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
13975 | { |
13976 | UNUSED_PARAM(throwScope); |
13977 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13978 | return false; |
13979 | // Shadowing a built-in constructor. |
13980 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaList" ), strlen("MediaList" )), value); |
13981 | } |
13982 | |
13983 | bool setJSDOMWindowMediaListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
13984 | { |
13985 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaListConstructorSetter>(*state, thisValue, encodedValue, "MediaList" ); |
13986 | } |
13987 | |
13988 | static inline JSValue jsDOMWindowStyleSheetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
13989 | { |
13990 | UNUSED_PARAM(throwScope); |
13991 | UNUSED_PARAM(state); |
13992 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
13993 | return jsUndefined(); |
13994 | return JSStyleSheet::getConstructor(state.vm(), &thisObject); |
13995 | } |
13996 | |
13997 | EncodedJSValue jsDOMWindowStyleSheetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
13998 | { |
13999 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStyleSheetConstructorGetter>(*state, thisValue, "StyleSheet" ); |
14000 | } |
14001 | |
14002 | static inline bool setJSDOMWindowStyleSheetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14003 | { |
14004 | UNUSED_PARAM(throwScope); |
14005 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14006 | return false; |
14007 | // Shadowing a built-in constructor. |
14008 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("StyleSheet" ), strlen("StyleSheet" )), value); |
14009 | } |
14010 | |
14011 | bool setJSDOMWindowStyleSheetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14012 | { |
14013 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStyleSheetConstructorSetter>(*state, thisValue, encodedValue, "StyleSheet" ); |
14014 | } |
14015 | |
14016 | static inline JSValue jsDOMWindowStyleSheetListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14017 | { |
14018 | UNUSED_PARAM(throwScope); |
14019 | UNUSED_PARAM(state); |
14020 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14021 | return jsUndefined(); |
14022 | return JSStyleSheetList::getConstructor(state.vm(), &thisObject); |
14023 | } |
14024 | |
14025 | EncodedJSValue jsDOMWindowStyleSheetListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14026 | { |
14027 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStyleSheetListConstructorGetter>(*state, thisValue, "StyleSheetList" ); |
14028 | } |
14029 | |
14030 | static inline bool setJSDOMWindowStyleSheetListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14031 | { |
14032 | UNUSED_PARAM(throwScope); |
14033 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14034 | return false; |
14035 | // Shadowing a built-in constructor. |
14036 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("StyleSheetList" ), strlen("StyleSheetList" )), value); |
14037 | } |
14038 | |
14039 | bool setJSDOMWindowStyleSheetListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14040 | { |
14041 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStyleSheetListConstructorSetter>(*state, thisValue, encodedValue, "StyleSheetList" ); |
14042 | } |
14043 | |
14044 | static inline JSValue jsDOMWindowWebKitCSSMatrixConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14045 | { |
14046 | UNUSED_PARAM(throwScope); |
14047 | UNUSED_PARAM(state); |
14048 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14049 | return jsUndefined(); |
14050 | return JSWebKitCSSMatrix::getConstructor(state.vm(), &thisObject); |
14051 | } |
14052 | |
14053 | EncodedJSValue jsDOMWindowWebKitCSSMatrixConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14054 | { |
14055 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitCSSMatrixConstructorGetter>(*state, thisValue, "WebKitCSSMatrix" ); |
14056 | } |
14057 | |
14058 | static inline bool setJSDOMWindowWebKitCSSMatrixConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14059 | { |
14060 | UNUSED_PARAM(throwScope); |
14061 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14062 | return false; |
14063 | // Shadowing a built-in constructor. |
14064 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitCSSMatrix" ), strlen("WebKitCSSMatrix" )), value); |
14065 | } |
14066 | |
14067 | bool setJSDOMWindowWebKitCSSMatrixConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14068 | { |
14069 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitCSSMatrixConstructorSetter>(*state, thisValue, encodedValue, "WebKitCSSMatrix" ); |
14070 | } |
14071 | |
14072 | #if ENABLE(CSS_DEVICE_ADAPTATION) |
14073 | static inline JSValue jsDOMWindowWebKitCSSViewportRuleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14074 | { |
14075 | UNUSED_PARAM(throwScope); |
14076 | UNUSED_PARAM(state); |
14077 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14078 | return jsUndefined(); |
14079 | return JSWebKitCSSViewportRule::getConstructor(state.vm(), &thisObject); |
14080 | } |
14081 | |
14082 | EncodedJSValue jsDOMWindowWebKitCSSViewportRuleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14083 | { |
14084 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitCSSViewportRuleConstructorGetter>(*state, thisValue, "WebKitCSSViewportRule" ); |
14085 | } |
14086 | |
14087 | #endif |
14088 | |
14089 | #if ENABLE(CSS_DEVICE_ADAPTATION) |
14090 | static inline bool setJSDOMWindowWebKitCSSViewportRuleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14091 | { |
14092 | UNUSED_PARAM(throwScope); |
14093 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14094 | return false; |
14095 | // Shadowing a built-in constructor. |
14096 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitCSSViewportRule" ), strlen("WebKitCSSViewportRule" )), value); |
14097 | } |
14098 | |
14099 | bool setJSDOMWindowWebKitCSSViewportRuleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14100 | { |
14101 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitCSSViewportRuleConstructorSetter>(*state, thisValue, encodedValue, "WebKitCSSViewportRule" ); |
14102 | } |
14103 | |
14104 | #endif |
14105 | |
14106 | #if ENABLE(CSS_TYPED_OM) |
14107 | static inline JSValue jsDOMWindowStylePropertyMapConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14108 | { |
14109 | UNUSED_PARAM(throwScope); |
14110 | UNUSED_PARAM(state); |
14111 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14112 | return jsUndefined(); |
14113 | return JSStylePropertyMap::getConstructor(state.vm(), &thisObject); |
14114 | } |
14115 | |
14116 | EncodedJSValue jsDOMWindowStylePropertyMapConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14117 | { |
14118 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStylePropertyMapConstructorGetter>(*state, thisValue, "StylePropertyMap" ); |
14119 | } |
14120 | |
14121 | #endif |
14122 | |
14123 | #if ENABLE(CSS_TYPED_OM) |
14124 | static inline bool setJSDOMWindowStylePropertyMapConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14125 | { |
14126 | UNUSED_PARAM(throwScope); |
14127 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14128 | return false; |
14129 | // Shadowing a built-in constructor. |
14130 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("StylePropertyMap" ), strlen("StylePropertyMap" )), value); |
14131 | } |
14132 | |
14133 | bool setJSDOMWindowStylePropertyMapConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14134 | { |
14135 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStylePropertyMapConstructorSetter>(*state, thisValue, encodedValue, "StylePropertyMap" ); |
14136 | } |
14137 | |
14138 | #endif |
14139 | |
14140 | #if ENABLE(CSS_TYPED_OM) |
14141 | static inline JSValue jsDOMWindowStylePropertyMapReadOnlyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14142 | { |
14143 | UNUSED_PARAM(throwScope); |
14144 | UNUSED_PARAM(state); |
14145 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14146 | return jsUndefined(); |
14147 | return JSStylePropertyMapReadOnly::getConstructor(state.vm(), &thisObject); |
14148 | } |
14149 | |
14150 | EncodedJSValue jsDOMWindowStylePropertyMapReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14151 | { |
14152 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStylePropertyMapReadOnlyConstructorGetter>(*state, thisValue, "StylePropertyMapReadOnly" ); |
14153 | } |
14154 | |
14155 | #endif |
14156 | |
14157 | #if ENABLE(CSS_TYPED_OM) |
14158 | static inline bool setJSDOMWindowStylePropertyMapReadOnlyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14159 | { |
14160 | UNUSED_PARAM(throwScope); |
14161 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14162 | return false; |
14163 | // Shadowing a built-in constructor. |
14164 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("StylePropertyMapReadOnly" ), strlen("StylePropertyMapReadOnly" )), value); |
14165 | } |
14166 | |
14167 | bool setJSDOMWindowStylePropertyMapReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14168 | { |
14169 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStylePropertyMapReadOnlyConstructorSetter>(*state, thisValue, encodedValue, "StylePropertyMapReadOnly" ); |
14170 | } |
14171 | |
14172 | #endif |
14173 | |
14174 | #if ENABLE(CSS_TYPED_OM) |
14175 | static inline JSValue jsDOMWindowCSSImageValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14176 | { |
14177 | UNUSED_PARAM(throwScope); |
14178 | UNUSED_PARAM(state); |
14179 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14180 | return jsUndefined(); |
14181 | return JSTypedOMCSSImageValue::getConstructor(state.vm(), &thisObject); |
14182 | } |
14183 | |
14184 | EncodedJSValue jsDOMWindowCSSImageValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14185 | { |
14186 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSImageValueConstructorGetter>(*state, thisValue, "CSSImageValue" ); |
14187 | } |
14188 | |
14189 | #endif |
14190 | |
14191 | #if ENABLE(CSS_TYPED_OM) |
14192 | static inline bool setJSDOMWindowCSSImageValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14193 | { |
14194 | UNUSED_PARAM(throwScope); |
14195 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14196 | return false; |
14197 | // Shadowing a built-in constructor. |
14198 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSImageValue" ), strlen("CSSImageValue" )), value); |
14199 | } |
14200 | |
14201 | bool setJSDOMWindowCSSImageValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14202 | { |
14203 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSImageValueConstructorSetter>(*state, thisValue, encodedValue, "CSSImageValue" ); |
14204 | } |
14205 | |
14206 | #endif |
14207 | |
14208 | #if ENABLE(CSS_TYPED_OM) |
14209 | static inline JSValue jsDOMWindowCSSNumericValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14210 | { |
14211 | UNUSED_PARAM(throwScope); |
14212 | UNUSED_PARAM(state); |
14213 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14214 | return jsUndefined(); |
14215 | return JSTypedOMCSSNumericValue::getConstructor(state.vm(), &thisObject); |
14216 | } |
14217 | |
14218 | EncodedJSValue jsDOMWindowCSSNumericValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14219 | { |
14220 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSNumericValueConstructorGetter>(*state, thisValue, "CSSNumericValue" ); |
14221 | } |
14222 | |
14223 | #endif |
14224 | |
14225 | #if ENABLE(CSS_TYPED_OM) |
14226 | static inline bool setJSDOMWindowCSSNumericValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14227 | { |
14228 | UNUSED_PARAM(throwScope); |
14229 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14230 | return false; |
14231 | // Shadowing a built-in constructor. |
14232 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSNumericValue" ), strlen("CSSNumericValue" )), value); |
14233 | } |
14234 | |
14235 | bool setJSDOMWindowCSSNumericValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14236 | { |
14237 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSNumericValueConstructorSetter>(*state, thisValue, encodedValue, "CSSNumericValue" ); |
14238 | } |
14239 | |
14240 | #endif |
14241 | |
14242 | #if ENABLE(CSS_TYPED_OM) |
14243 | static inline JSValue jsDOMWindowCSSStyleValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14244 | { |
14245 | UNUSED_PARAM(throwScope); |
14246 | UNUSED_PARAM(state); |
14247 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14248 | return jsUndefined(); |
14249 | return JSTypedOMCSSStyleValue::getConstructor(state.vm(), &thisObject); |
14250 | } |
14251 | |
14252 | EncodedJSValue jsDOMWindowCSSStyleValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14253 | { |
14254 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSStyleValueConstructorGetter>(*state, thisValue, "CSSStyleValue" ); |
14255 | } |
14256 | |
14257 | #endif |
14258 | |
14259 | #if ENABLE(CSS_TYPED_OM) |
14260 | static inline bool setJSDOMWindowCSSStyleValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14261 | { |
14262 | UNUSED_PARAM(throwScope); |
14263 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14264 | return false; |
14265 | // Shadowing a built-in constructor. |
14266 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSStyleValue" ), strlen("CSSStyleValue" )), value); |
14267 | } |
14268 | |
14269 | bool setJSDOMWindowCSSStyleValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14270 | { |
14271 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSStyleValueConstructorSetter>(*state, thisValue, encodedValue, "CSSStyleValue" ); |
14272 | } |
14273 | |
14274 | #endif |
14275 | |
14276 | #if ENABLE(CSS_TYPED_OM) |
14277 | static inline JSValue jsDOMWindowCSSUnitValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14278 | { |
14279 | UNUSED_PARAM(throwScope); |
14280 | UNUSED_PARAM(state); |
14281 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14282 | return jsUndefined(); |
14283 | return JSTypedOMCSSUnitValue::getConstructor(state.vm(), &thisObject); |
14284 | } |
14285 | |
14286 | EncodedJSValue jsDOMWindowCSSUnitValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14287 | { |
14288 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSUnitValueConstructorGetter>(*state, thisValue, "CSSUnitValue" ); |
14289 | } |
14290 | |
14291 | #endif |
14292 | |
14293 | #if ENABLE(CSS_TYPED_OM) |
14294 | static inline bool setJSDOMWindowCSSUnitValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14295 | { |
14296 | UNUSED_PARAM(throwScope); |
14297 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14298 | return false; |
14299 | // Shadowing a built-in constructor. |
14300 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSUnitValue" ), strlen("CSSUnitValue" )), value); |
14301 | } |
14302 | |
14303 | bool setJSDOMWindowCSSUnitValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14304 | { |
14305 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSUnitValueConstructorSetter>(*state, thisValue, encodedValue, "CSSUnitValue" ); |
14306 | } |
14307 | |
14308 | #endif |
14309 | |
14310 | #if ENABLE(CSS_TYPED_OM) |
14311 | static inline JSValue jsDOMWindowCSSUnparsedValueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14312 | { |
14313 | UNUSED_PARAM(throwScope); |
14314 | UNUSED_PARAM(state); |
14315 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14316 | return jsUndefined(); |
14317 | return JSTypedOMCSSUnparsedValue::getConstructor(state.vm(), &thisObject); |
14318 | } |
14319 | |
14320 | EncodedJSValue jsDOMWindowCSSUnparsedValueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14321 | { |
14322 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCSSUnparsedValueConstructorGetter>(*state, thisValue, "CSSUnparsedValue" ); |
14323 | } |
14324 | |
14325 | #endif |
14326 | |
14327 | #if ENABLE(CSS_TYPED_OM) |
14328 | static inline bool setJSDOMWindowCSSUnparsedValueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14329 | { |
14330 | UNUSED_PARAM(throwScope); |
14331 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14332 | return false; |
14333 | // Shadowing a built-in constructor. |
14334 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CSSUnparsedValue" ), strlen("CSSUnparsedValue" )), value); |
14335 | } |
14336 | |
14337 | bool setJSDOMWindowCSSUnparsedValueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14338 | { |
14339 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCSSUnparsedValueConstructorSetter>(*state, thisValue, encodedValue, "CSSUnparsedValue" ); |
14340 | } |
14341 | |
14342 | #endif |
14343 | |
14344 | static inline JSValue jsDOMWindowAbortControllerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14345 | { |
14346 | UNUSED_PARAM(throwScope); |
14347 | UNUSED_PARAM(state); |
14348 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14349 | return jsUndefined(); |
14350 | return JSAbortController::getConstructor(state.vm(), &thisObject); |
14351 | } |
14352 | |
14353 | EncodedJSValue jsDOMWindowAbortControllerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14354 | { |
14355 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAbortControllerConstructorGetter>(*state, thisValue, "AbortController" ); |
14356 | } |
14357 | |
14358 | static inline bool setJSDOMWindowAbortControllerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14359 | { |
14360 | UNUSED_PARAM(throwScope); |
14361 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14362 | return false; |
14363 | // Shadowing a built-in constructor. |
14364 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AbortController" ), strlen("AbortController" )), value); |
14365 | } |
14366 | |
14367 | bool setJSDOMWindowAbortControllerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14368 | { |
14369 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAbortControllerConstructorSetter>(*state, thisValue, encodedValue, "AbortController" ); |
14370 | } |
14371 | |
14372 | static inline JSValue jsDOMWindowAbortSignalConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14373 | { |
14374 | UNUSED_PARAM(throwScope); |
14375 | UNUSED_PARAM(state); |
14376 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14377 | return jsUndefined(); |
14378 | return JSAbortSignal::getConstructor(state.vm(), &thisObject); |
14379 | } |
14380 | |
14381 | EncodedJSValue jsDOMWindowAbortSignalConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14382 | { |
14383 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAbortSignalConstructorGetter>(*state, thisValue, "AbortSignal" ); |
14384 | } |
14385 | |
14386 | static inline bool setJSDOMWindowAbortSignalConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14387 | { |
14388 | UNUSED_PARAM(throwScope); |
14389 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14390 | return false; |
14391 | // Shadowing a built-in constructor. |
14392 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AbortSignal" ), strlen("AbortSignal" )), value); |
14393 | } |
14394 | |
14395 | bool setJSDOMWindowAbortSignalConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14396 | { |
14397 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAbortSignalConstructorSetter>(*state, thisValue, encodedValue, "AbortSignal" ); |
14398 | } |
14399 | |
14400 | static inline JSValue jsDOMWindowAnimationEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14401 | { |
14402 | UNUSED_PARAM(throwScope); |
14403 | UNUSED_PARAM(state); |
14404 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14405 | return jsUndefined(); |
14406 | return JSAnimationEvent::getConstructor(state.vm(), &thisObject); |
14407 | } |
14408 | |
14409 | EncodedJSValue jsDOMWindowAnimationEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14410 | { |
14411 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAnimationEventConstructorGetter>(*state, thisValue, "AnimationEvent" ); |
14412 | } |
14413 | |
14414 | static inline bool setJSDOMWindowAnimationEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14415 | { |
14416 | UNUSED_PARAM(throwScope); |
14417 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14418 | return false; |
14419 | // Shadowing a built-in constructor. |
14420 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AnimationEvent" ), strlen("AnimationEvent" )), value); |
14421 | } |
14422 | |
14423 | bool setJSDOMWindowAnimationEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14424 | { |
14425 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAnimationEventConstructorSetter>(*state, thisValue, encodedValue, "AnimationEvent" ); |
14426 | } |
14427 | |
14428 | static inline JSValue jsDOMWindowAttrConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14429 | { |
14430 | UNUSED_PARAM(throwScope); |
14431 | UNUSED_PARAM(state); |
14432 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14433 | return jsUndefined(); |
14434 | return JSAttr::getConstructor(state.vm(), &thisObject); |
14435 | } |
14436 | |
14437 | EncodedJSValue jsDOMWindowAttrConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14438 | { |
14439 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAttrConstructorGetter>(*state, thisValue, "Attr" ); |
14440 | } |
14441 | |
14442 | static inline bool setJSDOMWindowAttrConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14443 | { |
14444 | UNUSED_PARAM(throwScope); |
14445 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14446 | return false; |
14447 | // Shadowing a built-in constructor. |
14448 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Attr" ), strlen("Attr" )), value); |
14449 | } |
14450 | |
14451 | bool setJSDOMWindowAttrConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14452 | { |
14453 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAttrConstructorSetter>(*state, thisValue, encodedValue, "Attr" ); |
14454 | } |
14455 | |
14456 | static inline JSValue jsDOMWindowBeforeLoadEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14457 | { |
14458 | UNUSED_PARAM(throwScope); |
14459 | UNUSED_PARAM(state); |
14460 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14461 | return jsUndefined(); |
14462 | return JSBeforeLoadEvent::getConstructor(state.vm(), &thisObject); |
14463 | } |
14464 | |
14465 | EncodedJSValue jsDOMWindowBeforeLoadEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14466 | { |
14467 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowBeforeLoadEventConstructorGetter>(*state, thisValue, "BeforeLoadEvent" ); |
14468 | } |
14469 | |
14470 | static inline bool setJSDOMWindowBeforeLoadEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14471 | { |
14472 | UNUSED_PARAM(throwScope); |
14473 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14474 | return false; |
14475 | // Shadowing a built-in constructor. |
14476 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("BeforeLoadEvent" ), strlen("BeforeLoadEvent" )), value); |
14477 | } |
14478 | |
14479 | bool setJSDOMWindowBeforeLoadEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14480 | { |
14481 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowBeforeLoadEventConstructorSetter>(*state, thisValue, encodedValue, "BeforeLoadEvent" ); |
14482 | } |
14483 | |
14484 | static inline JSValue jsDOMWindowBeforeUnloadEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14485 | { |
14486 | UNUSED_PARAM(throwScope); |
14487 | UNUSED_PARAM(state); |
14488 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14489 | return jsUndefined(); |
14490 | return JSBeforeUnloadEvent::getConstructor(state.vm(), &thisObject); |
14491 | } |
14492 | |
14493 | EncodedJSValue jsDOMWindowBeforeUnloadEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14494 | { |
14495 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowBeforeUnloadEventConstructorGetter>(*state, thisValue, "BeforeUnloadEvent" ); |
14496 | } |
14497 | |
14498 | static inline bool setJSDOMWindowBeforeUnloadEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14499 | { |
14500 | UNUSED_PARAM(throwScope); |
14501 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14502 | return false; |
14503 | // Shadowing a built-in constructor. |
14504 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("BeforeUnloadEvent" ), strlen("BeforeUnloadEvent" )), value); |
14505 | } |
14506 | |
14507 | bool setJSDOMWindowBeforeUnloadEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14508 | { |
14509 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowBeforeUnloadEventConstructorSetter>(*state, thisValue, encodedValue, "BeforeUnloadEvent" ); |
14510 | } |
14511 | |
14512 | static inline JSValue jsDOMWindowCDATASectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14513 | { |
14514 | UNUSED_PARAM(throwScope); |
14515 | UNUSED_PARAM(state); |
14516 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14517 | return jsUndefined(); |
14518 | return JSCDATASection::getConstructor(state.vm(), &thisObject); |
14519 | } |
14520 | |
14521 | EncodedJSValue jsDOMWindowCDATASectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14522 | { |
14523 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCDATASectionConstructorGetter>(*state, thisValue, "CDATASection" ); |
14524 | } |
14525 | |
14526 | static inline bool setJSDOMWindowCDATASectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14527 | { |
14528 | UNUSED_PARAM(throwScope); |
14529 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14530 | return false; |
14531 | // Shadowing a built-in constructor. |
14532 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CDATASection" ), strlen("CDATASection" )), value); |
14533 | } |
14534 | |
14535 | bool setJSDOMWindowCDATASectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14536 | { |
14537 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCDATASectionConstructorSetter>(*state, thisValue, encodedValue, "CDATASection" ); |
14538 | } |
14539 | |
14540 | static inline JSValue jsDOMWindowCharacterDataConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14541 | { |
14542 | UNUSED_PARAM(throwScope); |
14543 | UNUSED_PARAM(state); |
14544 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14545 | return jsUndefined(); |
14546 | return JSCharacterData::getConstructor(state.vm(), &thisObject); |
14547 | } |
14548 | |
14549 | EncodedJSValue jsDOMWindowCharacterDataConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14550 | { |
14551 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCharacterDataConstructorGetter>(*state, thisValue, "CharacterData" ); |
14552 | } |
14553 | |
14554 | static inline bool setJSDOMWindowCharacterDataConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14555 | { |
14556 | UNUSED_PARAM(throwScope); |
14557 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14558 | return false; |
14559 | // Shadowing a built-in constructor. |
14560 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CharacterData" ), strlen("CharacterData" )), value); |
14561 | } |
14562 | |
14563 | bool setJSDOMWindowCharacterDataConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14564 | { |
14565 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCharacterDataConstructorSetter>(*state, thisValue, encodedValue, "CharacterData" ); |
14566 | } |
14567 | |
14568 | static inline JSValue jsDOMWindowClipboardEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14569 | { |
14570 | UNUSED_PARAM(throwScope); |
14571 | UNUSED_PARAM(state); |
14572 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14573 | return jsUndefined(); |
14574 | return JSClipboardEvent::getConstructor(state.vm(), &thisObject); |
14575 | } |
14576 | |
14577 | EncodedJSValue jsDOMWindowClipboardEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14578 | { |
14579 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowClipboardEventConstructorGetter>(*state, thisValue, "ClipboardEvent" ); |
14580 | } |
14581 | |
14582 | static inline bool setJSDOMWindowClipboardEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14583 | { |
14584 | UNUSED_PARAM(throwScope); |
14585 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14586 | return false; |
14587 | // Shadowing a built-in constructor. |
14588 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ClipboardEvent" ), strlen("ClipboardEvent" )), value); |
14589 | } |
14590 | |
14591 | bool setJSDOMWindowClipboardEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14592 | { |
14593 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowClipboardEventConstructorSetter>(*state, thisValue, encodedValue, "ClipboardEvent" ); |
14594 | } |
14595 | |
14596 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14597 | { |
14598 | UNUSED_PARAM(throwScope); |
14599 | UNUSED_PARAM(state); |
14600 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14601 | return jsUndefined(); |
14602 | return JSComment::getConstructor(state.vm(), &thisObject); |
14603 | } |
14604 | |
14605 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
14606 | { |
14607 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCommentConstructorGetter>(*state, thisValue, "Comment" ); |
14608 | } |
14609 | |
14610 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14611 | { |
14612 | UNUSED_PARAM(throwScope); |
14613 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14614 | return false; |
14615 | // Shadowing a built-in constructor. |
14616 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Comment" ), strlen("Comment" )), value); |
14617 | } |
14618 | |
14619 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14620 | { |
14621 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCommentConstructorSetter>(*state, thisValue, encodedValue, "Comment" ); |
14622 | } |
14623 | |
14624 | static inline JSValue jsDOMWindowCompositionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14625 | { |
14626 | UNUSED_PARAM(throwScope); |
14627 | UNUSED_PARAM(state); |
14628 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14629 | return jsUndefined(); |
14630 | return JSCompositionEvent::getConstructor(state.vm(), &thisObject); |
14631 | } |
14632 | |
14633 | EncodedJSValue jsDOMWindowCompositionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14634 | { |
14635 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCompositionEventConstructorGetter>(*state, thisValue, "CompositionEvent" ); |
14636 | } |
14637 | |
14638 | static inline bool setJSDOMWindowCompositionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14639 | { |
14640 | UNUSED_PARAM(throwScope); |
14641 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14642 | return false; |
14643 | // Shadowing a built-in constructor. |
14644 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CompositionEvent" ), strlen("CompositionEvent" )), value); |
14645 | } |
14646 | |
14647 | bool setJSDOMWindowCompositionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14648 | { |
14649 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCompositionEventConstructorSetter>(*state, thisValue, encodedValue, "CompositionEvent" ); |
14650 | } |
14651 | |
14652 | static inline JSValue jsDOMWindowCustomElementRegistryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14653 | { |
14654 | UNUSED_PARAM(throwScope); |
14655 | UNUSED_PARAM(state); |
14656 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14657 | return jsUndefined(); |
14658 | return JSCustomElementRegistry::getConstructor(state.vm(), &thisObject); |
14659 | } |
14660 | |
14661 | EncodedJSValue jsDOMWindowCustomElementRegistryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14662 | { |
14663 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCustomElementRegistryConstructorGetter>(*state, thisValue, "CustomElementRegistry" ); |
14664 | } |
14665 | |
14666 | static inline bool setJSDOMWindowCustomElementRegistryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14667 | { |
14668 | UNUSED_PARAM(throwScope); |
14669 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14670 | return false; |
14671 | // Shadowing a built-in constructor. |
14672 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CustomElementRegistry" ), strlen("CustomElementRegistry" )), value); |
14673 | } |
14674 | |
14675 | bool setJSDOMWindowCustomElementRegistryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14676 | { |
14677 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCustomElementRegistryConstructorSetter>(*state, thisValue, encodedValue, "CustomElementRegistry" ); |
14678 | } |
14679 | |
14680 | static inline JSValue jsDOMWindowCustomEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14681 | { |
14682 | UNUSED_PARAM(throwScope); |
14683 | UNUSED_PARAM(state); |
14684 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14685 | return jsUndefined(); |
14686 | return JSCustomEvent::getConstructor(state.vm(), &thisObject); |
14687 | } |
14688 | |
14689 | EncodedJSValue jsDOMWindowCustomEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14690 | { |
14691 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCustomEventConstructorGetter>(*state, thisValue, "CustomEvent" ); |
14692 | } |
14693 | |
14694 | static inline bool setJSDOMWindowCustomEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14695 | { |
14696 | UNUSED_PARAM(throwScope); |
14697 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14698 | return false; |
14699 | // Shadowing a built-in constructor. |
14700 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CustomEvent" ), strlen("CustomEvent" )), value); |
14701 | } |
14702 | |
14703 | bool setJSDOMWindowCustomEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14704 | { |
14705 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCustomEventConstructorSetter>(*state, thisValue, encodedValue, "CustomEvent" ); |
14706 | } |
14707 | |
14708 | static inline JSValue jsDOMWindowDOMExceptionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14709 | { |
14710 | UNUSED_PARAM(throwScope); |
14711 | UNUSED_PARAM(state); |
14712 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14713 | return jsUndefined(); |
14714 | return JSDOMException::getConstructor(state.vm(), &thisObject); |
14715 | } |
14716 | |
14717 | EncodedJSValue jsDOMWindowDOMExceptionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14718 | { |
14719 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMExceptionConstructorGetter>(*state, thisValue, "DOMException" ); |
14720 | } |
14721 | |
14722 | static inline bool setJSDOMWindowDOMExceptionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14723 | { |
14724 | UNUSED_PARAM(throwScope); |
14725 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14726 | return false; |
14727 | // Shadowing a built-in constructor. |
14728 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMException" ), strlen("DOMException" )), value); |
14729 | } |
14730 | |
14731 | bool setJSDOMWindowDOMExceptionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14732 | { |
14733 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMExceptionConstructorSetter>(*state, thisValue, encodedValue, "DOMException" ); |
14734 | } |
14735 | |
14736 | static inline JSValue jsDOMWindowDOMImplementationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14737 | { |
14738 | UNUSED_PARAM(throwScope); |
14739 | UNUSED_PARAM(state); |
14740 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14741 | return jsUndefined(); |
14742 | return JSDOMImplementation::getConstructor(state.vm(), &thisObject); |
14743 | } |
14744 | |
14745 | EncodedJSValue jsDOMWindowDOMImplementationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14746 | { |
14747 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMImplementationConstructorGetter>(*state, thisValue, "DOMImplementation" ); |
14748 | } |
14749 | |
14750 | static inline bool setJSDOMWindowDOMImplementationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14751 | { |
14752 | UNUSED_PARAM(throwScope); |
14753 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14754 | return false; |
14755 | // Shadowing a built-in constructor. |
14756 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMImplementation" ), strlen("DOMImplementation" )), value); |
14757 | } |
14758 | |
14759 | bool setJSDOMWindowDOMImplementationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14760 | { |
14761 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMImplementationConstructorSetter>(*state, thisValue, encodedValue, "DOMImplementation" ); |
14762 | } |
14763 | |
14764 | static inline JSValue jsDOMWindowDOMPointConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14765 | { |
14766 | UNUSED_PARAM(throwScope); |
14767 | UNUSED_PARAM(state); |
14768 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14769 | return jsUndefined(); |
14770 | return JSDOMPoint::getConstructor(state.vm(), &thisObject); |
14771 | } |
14772 | |
14773 | EncodedJSValue jsDOMWindowDOMPointConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14774 | { |
14775 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMPointConstructorGetter>(*state, thisValue, "DOMPoint" ); |
14776 | } |
14777 | |
14778 | static inline bool setJSDOMWindowDOMPointConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14779 | { |
14780 | UNUSED_PARAM(throwScope); |
14781 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14782 | return false; |
14783 | // Shadowing a built-in constructor. |
14784 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMPoint" ), strlen("DOMPoint" )), value); |
14785 | } |
14786 | |
14787 | bool setJSDOMWindowDOMPointConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14788 | { |
14789 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMPointConstructorSetter>(*state, thisValue, encodedValue, "DOMPoint" ); |
14790 | } |
14791 | |
14792 | static inline JSValue jsDOMWindowDOMPointReadOnlyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14793 | { |
14794 | UNUSED_PARAM(throwScope); |
14795 | UNUSED_PARAM(state); |
14796 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14797 | return jsUndefined(); |
14798 | return JSDOMPointReadOnly::getConstructor(state.vm(), &thisObject); |
14799 | } |
14800 | |
14801 | EncodedJSValue jsDOMWindowDOMPointReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14802 | { |
14803 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMPointReadOnlyConstructorGetter>(*state, thisValue, "DOMPointReadOnly" ); |
14804 | } |
14805 | |
14806 | static inline bool setJSDOMWindowDOMPointReadOnlyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14807 | { |
14808 | UNUSED_PARAM(throwScope); |
14809 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14810 | return false; |
14811 | // Shadowing a built-in constructor. |
14812 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMPointReadOnly" ), strlen("DOMPointReadOnly" )), value); |
14813 | } |
14814 | |
14815 | bool setJSDOMWindowDOMPointReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14816 | { |
14817 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMPointReadOnlyConstructorSetter>(*state, thisValue, encodedValue, "DOMPointReadOnly" ); |
14818 | } |
14819 | |
14820 | static inline JSValue jsDOMWindowDOMQuadConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14821 | { |
14822 | UNUSED_PARAM(throwScope); |
14823 | UNUSED_PARAM(state); |
14824 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14825 | return jsUndefined(); |
14826 | return JSDOMQuad::getConstructor(state.vm(), &thisObject); |
14827 | } |
14828 | |
14829 | EncodedJSValue jsDOMWindowDOMQuadConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14830 | { |
14831 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMQuadConstructorGetter>(*state, thisValue, "DOMQuad" ); |
14832 | } |
14833 | |
14834 | static inline bool setJSDOMWindowDOMQuadConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14835 | { |
14836 | UNUSED_PARAM(throwScope); |
14837 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14838 | return false; |
14839 | // Shadowing a built-in constructor. |
14840 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMQuad" ), strlen("DOMQuad" )), value); |
14841 | } |
14842 | |
14843 | bool setJSDOMWindowDOMQuadConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14844 | { |
14845 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMQuadConstructorSetter>(*state, thisValue, encodedValue, "DOMQuad" ); |
14846 | } |
14847 | |
14848 | static inline JSValue jsDOMWindowDOMRectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14849 | { |
14850 | UNUSED_PARAM(throwScope); |
14851 | UNUSED_PARAM(state); |
14852 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14853 | return jsUndefined(); |
14854 | return JSDOMRect::getConstructor(state.vm(), &thisObject); |
14855 | } |
14856 | |
14857 | EncodedJSValue jsDOMWindowDOMRectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14858 | { |
14859 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMRectConstructorGetter>(*state, thisValue, "DOMRect" ); |
14860 | } |
14861 | |
14862 | static inline bool setJSDOMWindowDOMRectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14863 | { |
14864 | UNUSED_PARAM(throwScope); |
14865 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14866 | return false; |
14867 | // Shadowing a built-in constructor. |
14868 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMRect" ), strlen("DOMRect" )), value); |
14869 | } |
14870 | |
14871 | bool setJSDOMWindowDOMRectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14872 | { |
14873 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMRectConstructorSetter>(*state, thisValue, encodedValue, "DOMRect" ); |
14874 | } |
14875 | |
14876 | static inline JSValue jsDOMWindowDOMRectListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14877 | { |
14878 | UNUSED_PARAM(throwScope); |
14879 | UNUSED_PARAM(state); |
14880 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14881 | return jsUndefined(); |
14882 | return JSDOMRectList::getConstructor(state.vm(), &thisObject); |
14883 | } |
14884 | |
14885 | EncodedJSValue jsDOMWindowDOMRectListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14886 | { |
14887 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMRectListConstructorGetter>(*state, thisValue, "DOMRectList" ); |
14888 | } |
14889 | |
14890 | static inline bool setJSDOMWindowDOMRectListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14891 | { |
14892 | UNUSED_PARAM(throwScope); |
14893 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14894 | return false; |
14895 | // Shadowing a built-in constructor. |
14896 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMRectList" ), strlen("DOMRectList" )), value); |
14897 | } |
14898 | |
14899 | bool setJSDOMWindowDOMRectListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14900 | { |
14901 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMRectListConstructorSetter>(*state, thisValue, encodedValue, "DOMRectList" ); |
14902 | } |
14903 | |
14904 | static inline JSValue jsDOMWindowDOMRectReadOnlyConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14905 | { |
14906 | UNUSED_PARAM(throwScope); |
14907 | UNUSED_PARAM(state); |
14908 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14909 | return jsUndefined(); |
14910 | return JSDOMRectReadOnly::getConstructor(state.vm(), &thisObject); |
14911 | } |
14912 | |
14913 | EncodedJSValue jsDOMWindowDOMRectReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14914 | { |
14915 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMRectReadOnlyConstructorGetter>(*state, thisValue, "DOMRectReadOnly" ); |
14916 | } |
14917 | |
14918 | static inline bool setJSDOMWindowDOMRectReadOnlyConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14919 | { |
14920 | UNUSED_PARAM(throwScope); |
14921 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14922 | return false; |
14923 | // Shadowing a built-in constructor. |
14924 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMRectReadOnly" ), strlen("DOMRectReadOnly" )), value); |
14925 | } |
14926 | |
14927 | bool setJSDOMWindowDOMRectReadOnlyConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14928 | { |
14929 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMRectReadOnlyConstructorSetter>(*state, thisValue, encodedValue, "DOMRectReadOnly" ); |
14930 | } |
14931 | |
14932 | static inline JSValue jsDOMWindowDOMStringListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14933 | { |
14934 | UNUSED_PARAM(throwScope); |
14935 | UNUSED_PARAM(state); |
14936 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14937 | return jsUndefined(); |
14938 | return JSDOMStringList::getConstructor(state.vm(), &thisObject); |
14939 | } |
14940 | |
14941 | EncodedJSValue jsDOMWindowDOMStringListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14942 | { |
14943 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMStringListConstructorGetter>(*state, thisValue, "DOMStringList" ); |
14944 | } |
14945 | |
14946 | static inline bool setJSDOMWindowDOMStringListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14947 | { |
14948 | UNUSED_PARAM(throwScope); |
14949 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14950 | return false; |
14951 | // Shadowing a built-in constructor. |
14952 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMStringList" ), strlen("DOMStringList" )), value); |
14953 | } |
14954 | |
14955 | bool setJSDOMWindowDOMStringListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14956 | { |
14957 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMStringListConstructorSetter>(*state, thisValue, encodedValue, "DOMStringList" ); |
14958 | } |
14959 | |
14960 | static inline JSValue jsDOMWindowDOMStringMapConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14961 | { |
14962 | UNUSED_PARAM(throwScope); |
14963 | UNUSED_PARAM(state); |
14964 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14965 | return jsUndefined(); |
14966 | return JSDOMStringMap::getConstructor(state.vm(), &thisObject); |
14967 | } |
14968 | |
14969 | EncodedJSValue jsDOMWindowDOMStringMapConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14970 | { |
14971 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMStringMapConstructorGetter>(*state, thisValue, "DOMStringMap" ); |
14972 | } |
14973 | |
14974 | static inline bool setJSDOMWindowDOMStringMapConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
14975 | { |
14976 | UNUSED_PARAM(throwScope); |
14977 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14978 | return false; |
14979 | // Shadowing a built-in constructor. |
14980 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMStringMap" ), strlen("DOMStringMap" )), value); |
14981 | } |
14982 | |
14983 | bool setJSDOMWindowDOMStringMapConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
14984 | { |
14985 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMStringMapConstructorSetter>(*state, thisValue, encodedValue, "DOMStringMap" ); |
14986 | } |
14987 | |
14988 | static inline JSValue jsDOMWindowDataTransferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
14989 | { |
14990 | UNUSED_PARAM(throwScope); |
14991 | UNUSED_PARAM(state); |
14992 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
14993 | return jsUndefined(); |
14994 | return JSDataTransfer::getConstructor(state.vm(), &thisObject); |
14995 | } |
14996 | |
14997 | EncodedJSValue jsDOMWindowDataTransferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
14998 | { |
14999 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDataTransferConstructorGetter>(*state, thisValue, "DataTransfer" ); |
15000 | } |
15001 | |
15002 | static inline bool setJSDOMWindowDataTransferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15003 | { |
15004 | UNUSED_PARAM(throwScope); |
15005 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15006 | return false; |
15007 | // Shadowing a built-in constructor. |
15008 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DataTransfer" ), strlen("DataTransfer" )), value); |
15009 | } |
15010 | |
15011 | bool setJSDOMWindowDataTransferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15012 | { |
15013 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDataTransferConstructorSetter>(*state, thisValue, encodedValue, "DataTransfer" ); |
15014 | } |
15015 | |
15016 | static inline JSValue jsDOMWindowDataTransferItemConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15017 | { |
15018 | UNUSED_PARAM(throwScope); |
15019 | UNUSED_PARAM(state); |
15020 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15021 | return jsUndefined(); |
15022 | return JSDataTransferItem::getConstructor(state.vm(), &thisObject); |
15023 | } |
15024 | |
15025 | EncodedJSValue jsDOMWindowDataTransferItemConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15026 | { |
15027 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDataTransferItemConstructorGetter>(*state, thisValue, "DataTransferItem" ); |
15028 | } |
15029 | |
15030 | static inline bool setJSDOMWindowDataTransferItemConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15031 | { |
15032 | UNUSED_PARAM(throwScope); |
15033 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15034 | return false; |
15035 | // Shadowing a built-in constructor. |
15036 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DataTransferItem" ), strlen("DataTransferItem" )), value); |
15037 | } |
15038 | |
15039 | bool setJSDOMWindowDataTransferItemConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15040 | { |
15041 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDataTransferItemConstructorSetter>(*state, thisValue, encodedValue, "DataTransferItem" ); |
15042 | } |
15043 | |
15044 | static inline JSValue jsDOMWindowDataTransferItemListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15045 | { |
15046 | UNUSED_PARAM(throwScope); |
15047 | UNUSED_PARAM(state); |
15048 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15049 | return jsUndefined(); |
15050 | return JSDataTransferItemList::getConstructor(state.vm(), &thisObject); |
15051 | } |
15052 | |
15053 | EncodedJSValue jsDOMWindowDataTransferItemListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15054 | { |
15055 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDataTransferItemListConstructorGetter>(*state, thisValue, "DataTransferItemList" ); |
15056 | } |
15057 | |
15058 | static inline bool setJSDOMWindowDataTransferItemListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15059 | { |
15060 | UNUSED_PARAM(throwScope); |
15061 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15062 | return false; |
15063 | // Shadowing a built-in constructor. |
15064 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DataTransferItemList" ), strlen("DataTransferItemList" )), value); |
15065 | } |
15066 | |
15067 | bool setJSDOMWindowDataTransferItemListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15068 | { |
15069 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDataTransferItemListConstructorSetter>(*state, thisValue, encodedValue, "DataTransferItemList" ); |
15070 | } |
15071 | |
15072 | #if ENABLE(DEVICE_ORIENTATION) |
15073 | static inline JSValue jsDOMWindowDeviceMotionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15074 | { |
15075 | UNUSED_PARAM(throwScope); |
15076 | UNUSED_PARAM(state); |
15077 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15078 | return jsUndefined(); |
15079 | return JSDeviceMotionEvent::getConstructor(state.vm(), &thisObject); |
15080 | } |
15081 | |
15082 | EncodedJSValue jsDOMWindowDeviceMotionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15083 | { |
15084 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDeviceMotionEventConstructorGetter>(*state, thisValue, "DeviceMotionEvent" ); |
15085 | } |
15086 | |
15087 | #endif |
15088 | |
15089 | #if ENABLE(DEVICE_ORIENTATION) |
15090 | static inline bool setJSDOMWindowDeviceMotionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15091 | { |
15092 | UNUSED_PARAM(throwScope); |
15093 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15094 | return false; |
15095 | // Shadowing a built-in constructor. |
15096 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DeviceMotionEvent" ), strlen("DeviceMotionEvent" )), value); |
15097 | } |
15098 | |
15099 | bool setJSDOMWindowDeviceMotionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15100 | { |
15101 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDeviceMotionEventConstructorSetter>(*state, thisValue, encodedValue, "DeviceMotionEvent" ); |
15102 | } |
15103 | |
15104 | #endif |
15105 | |
15106 | #if ENABLE(DEVICE_ORIENTATION) |
15107 | static inline JSValue jsDOMWindowDeviceOrientationEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15108 | { |
15109 | UNUSED_PARAM(throwScope); |
15110 | UNUSED_PARAM(state); |
15111 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15112 | return jsUndefined(); |
15113 | return JSDeviceOrientationEvent::getConstructor(state.vm(), &thisObject); |
15114 | } |
15115 | |
15116 | EncodedJSValue jsDOMWindowDeviceOrientationEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15117 | { |
15118 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDeviceOrientationEventConstructorGetter>(*state, thisValue, "DeviceOrientationEvent" ); |
15119 | } |
15120 | |
15121 | #endif |
15122 | |
15123 | #if ENABLE(DEVICE_ORIENTATION) |
15124 | static inline bool setJSDOMWindowDeviceOrientationEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15125 | { |
15126 | UNUSED_PARAM(throwScope); |
15127 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15128 | return false; |
15129 | // Shadowing a built-in constructor. |
15130 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DeviceOrientationEvent" ), strlen("DeviceOrientationEvent" )), value); |
15131 | } |
15132 | |
15133 | bool setJSDOMWindowDeviceOrientationEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15134 | { |
15135 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDeviceOrientationEventConstructorSetter>(*state, thisValue, encodedValue, "DeviceOrientationEvent" ); |
15136 | } |
15137 | |
15138 | #endif |
15139 | |
15140 | static inline JSValue jsDOMWindowDocumentConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15141 | { |
15142 | UNUSED_PARAM(throwScope); |
15143 | UNUSED_PARAM(state); |
15144 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15145 | return jsUndefined(); |
15146 | return JSDocument::getConstructor(state.vm(), &thisObject); |
15147 | } |
15148 | |
15149 | EncodedJSValue jsDOMWindowDocumentConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15150 | { |
15151 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDocumentConstructorGetter>(*state, thisValue, "Document" ); |
15152 | } |
15153 | |
15154 | static inline bool setJSDOMWindowDocumentConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15155 | { |
15156 | UNUSED_PARAM(throwScope); |
15157 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15158 | return false; |
15159 | // Shadowing a built-in constructor. |
15160 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Document" ), strlen("Document" )), value); |
15161 | } |
15162 | |
15163 | bool setJSDOMWindowDocumentConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15164 | { |
15165 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDocumentConstructorSetter>(*state, thisValue, encodedValue, "Document" ); |
15166 | } |
15167 | |
15168 | static inline JSValue jsDOMWindowDocumentFragmentConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15169 | { |
15170 | UNUSED_PARAM(throwScope); |
15171 | UNUSED_PARAM(state); |
15172 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15173 | return jsUndefined(); |
15174 | return JSDocumentFragment::getConstructor(state.vm(), &thisObject); |
15175 | } |
15176 | |
15177 | EncodedJSValue jsDOMWindowDocumentFragmentConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15178 | { |
15179 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDocumentFragmentConstructorGetter>(*state, thisValue, "DocumentFragment" ); |
15180 | } |
15181 | |
15182 | static inline bool setJSDOMWindowDocumentFragmentConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15183 | { |
15184 | UNUSED_PARAM(throwScope); |
15185 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15186 | return false; |
15187 | // Shadowing a built-in constructor. |
15188 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DocumentFragment" ), strlen("DocumentFragment" )), value); |
15189 | } |
15190 | |
15191 | bool setJSDOMWindowDocumentFragmentConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15192 | { |
15193 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDocumentFragmentConstructorSetter>(*state, thisValue, encodedValue, "DocumentFragment" ); |
15194 | } |
15195 | |
15196 | static inline JSValue jsDOMWindowDocumentTypeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15197 | { |
15198 | UNUSED_PARAM(throwScope); |
15199 | UNUSED_PARAM(state); |
15200 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15201 | return jsUndefined(); |
15202 | return JSDocumentType::getConstructor(state.vm(), &thisObject); |
15203 | } |
15204 | |
15205 | EncodedJSValue jsDOMWindowDocumentTypeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15206 | { |
15207 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDocumentTypeConstructorGetter>(*state, thisValue, "DocumentType" ); |
15208 | } |
15209 | |
15210 | static inline bool setJSDOMWindowDocumentTypeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15211 | { |
15212 | UNUSED_PARAM(throwScope); |
15213 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15214 | return false; |
15215 | // Shadowing a built-in constructor. |
15216 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DocumentType" ), strlen("DocumentType" )), value); |
15217 | } |
15218 | |
15219 | bool setJSDOMWindowDocumentTypeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15220 | { |
15221 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDocumentTypeConstructorSetter>(*state, thisValue, encodedValue, "DocumentType" ); |
15222 | } |
15223 | |
15224 | static inline JSValue jsDOMWindowElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15225 | { |
15226 | UNUSED_PARAM(throwScope); |
15227 | UNUSED_PARAM(state); |
15228 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15229 | return jsUndefined(); |
15230 | return JSElement::getConstructor(state.vm(), &thisObject); |
15231 | } |
15232 | |
15233 | EncodedJSValue jsDOMWindowElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15234 | { |
15235 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowElementConstructorGetter>(*state, thisValue, "Element" ); |
15236 | } |
15237 | |
15238 | static inline bool setJSDOMWindowElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15239 | { |
15240 | UNUSED_PARAM(throwScope); |
15241 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15242 | return false; |
15243 | // Shadowing a built-in constructor. |
15244 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Element" ), strlen("Element" )), value); |
15245 | } |
15246 | |
15247 | bool setJSDOMWindowElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15248 | { |
15249 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowElementConstructorSetter>(*state, thisValue, encodedValue, "Element" ); |
15250 | } |
15251 | |
15252 | static inline JSValue jsDOMWindowErrorEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15253 | { |
15254 | UNUSED_PARAM(throwScope); |
15255 | UNUSED_PARAM(state); |
15256 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15257 | return jsUndefined(); |
15258 | return JSErrorEvent::getConstructor(state.vm(), &thisObject); |
15259 | } |
15260 | |
15261 | EncodedJSValue jsDOMWindowErrorEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15262 | { |
15263 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowErrorEventConstructorGetter>(*state, thisValue, "ErrorEvent" ); |
15264 | } |
15265 | |
15266 | static inline bool setJSDOMWindowErrorEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15267 | { |
15268 | UNUSED_PARAM(throwScope); |
15269 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15270 | return false; |
15271 | // Shadowing a built-in constructor. |
15272 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ErrorEvent" ), strlen("ErrorEvent" )), value); |
15273 | } |
15274 | |
15275 | bool setJSDOMWindowErrorEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15276 | { |
15277 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowErrorEventConstructorSetter>(*state, thisValue, encodedValue, "ErrorEvent" ); |
15278 | } |
15279 | |
15280 | static inline JSValue jsDOMWindowEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15281 | { |
15282 | UNUSED_PARAM(throwScope); |
15283 | UNUSED_PARAM(state); |
15284 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15285 | return jsUndefined(); |
15286 | return JSEvent::getConstructor(state.vm(), &thisObject); |
15287 | } |
15288 | |
15289 | EncodedJSValue jsDOMWindowEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15290 | { |
15291 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowEventConstructorGetter>(*state, thisValue, "Event" ); |
15292 | } |
15293 | |
15294 | static inline bool setJSDOMWindowEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15295 | { |
15296 | UNUSED_PARAM(throwScope); |
15297 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15298 | return false; |
15299 | // Shadowing a built-in constructor. |
15300 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Event" ), strlen("Event" )), value); |
15301 | } |
15302 | |
15303 | bool setJSDOMWindowEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15304 | { |
15305 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowEventConstructorSetter>(*state, thisValue, encodedValue, "Event" ); |
15306 | } |
15307 | |
15308 | static inline JSValue jsDOMWindowEventTargetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15309 | { |
15310 | UNUSED_PARAM(throwScope); |
15311 | UNUSED_PARAM(state); |
15312 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15313 | return jsUndefined(); |
15314 | return JSEventTarget::getConstructor(state.vm(), &thisObject); |
15315 | } |
15316 | |
15317 | EncodedJSValue jsDOMWindowEventTargetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15318 | { |
15319 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowEventTargetConstructorGetter>(*state, thisValue, "EventTarget" ); |
15320 | } |
15321 | |
15322 | static inline bool setJSDOMWindowEventTargetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15323 | { |
15324 | UNUSED_PARAM(throwScope); |
15325 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15326 | return false; |
15327 | // Shadowing a built-in constructor. |
15328 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("EventTarget" ), strlen("EventTarget" )), value); |
15329 | } |
15330 | |
15331 | bool setJSDOMWindowEventTargetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15332 | { |
15333 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowEventTargetConstructorSetter>(*state, thisValue, encodedValue, "EventTarget" ); |
15334 | } |
15335 | |
15336 | static inline JSValue jsDOMWindowFocusEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15337 | { |
15338 | UNUSED_PARAM(throwScope); |
15339 | UNUSED_PARAM(state); |
15340 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15341 | return jsUndefined(); |
15342 | return JSFocusEvent::getConstructor(state.vm(), &thisObject); |
15343 | } |
15344 | |
15345 | EncodedJSValue jsDOMWindowFocusEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15346 | { |
15347 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFocusEventConstructorGetter>(*state, thisValue, "FocusEvent" ); |
15348 | } |
15349 | |
15350 | static inline bool setJSDOMWindowFocusEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15351 | { |
15352 | UNUSED_PARAM(throwScope); |
15353 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15354 | return false; |
15355 | // Shadowing a built-in constructor. |
15356 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FocusEvent" ), strlen("FocusEvent" )), value); |
15357 | } |
15358 | |
15359 | bool setJSDOMWindowFocusEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15360 | { |
15361 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFocusEventConstructorSetter>(*state, thisValue, encodedValue, "FocusEvent" ); |
15362 | } |
15363 | |
15364 | static inline JSValue jsDOMWindowHashChangeEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15365 | { |
15366 | UNUSED_PARAM(throwScope); |
15367 | UNUSED_PARAM(state); |
15368 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15369 | return jsUndefined(); |
15370 | return JSHashChangeEvent::getConstructor(state.vm(), &thisObject); |
15371 | } |
15372 | |
15373 | EncodedJSValue jsDOMWindowHashChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15374 | { |
15375 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHashChangeEventConstructorGetter>(*state, thisValue, "HashChangeEvent" ); |
15376 | } |
15377 | |
15378 | static inline bool setJSDOMWindowHashChangeEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15379 | { |
15380 | UNUSED_PARAM(throwScope); |
15381 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15382 | return false; |
15383 | // Shadowing a built-in constructor. |
15384 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HashChangeEvent" ), strlen("HashChangeEvent" )), value); |
15385 | } |
15386 | |
15387 | bool setJSDOMWindowHashChangeEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15388 | { |
15389 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHashChangeEventConstructorSetter>(*state, thisValue, encodedValue, "HashChangeEvent" ); |
15390 | } |
15391 | |
15392 | static inline JSValue jsDOMWindowInputEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15393 | { |
15394 | UNUSED_PARAM(throwScope); |
15395 | UNUSED_PARAM(state); |
15396 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15397 | return jsUndefined(); |
15398 | return JSInputEvent::getConstructor(state.vm(), &thisObject); |
15399 | } |
15400 | |
15401 | EncodedJSValue jsDOMWindowInputEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15402 | { |
15403 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowInputEventConstructorGetter>(*state, thisValue, "InputEvent" ); |
15404 | } |
15405 | |
15406 | static inline bool setJSDOMWindowInputEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15407 | { |
15408 | UNUSED_PARAM(throwScope); |
15409 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15410 | return false; |
15411 | // Shadowing a built-in constructor. |
15412 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("InputEvent" ), strlen("InputEvent" )), value); |
15413 | } |
15414 | |
15415 | bool setJSDOMWindowInputEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15416 | { |
15417 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowInputEventConstructorSetter>(*state, thisValue, encodedValue, "InputEvent" ); |
15418 | } |
15419 | |
15420 | static inline JSValue jsDOMWindowKeyboardEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15421 | { |
15422 | UNUSED_PARAM(throwScope); |
15423 | UNUSED_PARAM(state); |
15424 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15425 | return jsUndefined(); |
15426 | return JSKeyboardEvent::getConstructor(state.vm(), &thisObject); |
15427 | } |
15428 | |
15429 | EncodedJSValue jsDOMWindowKeyboardEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15430 | { |
15431 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowKeyboardEventConstructorGetter>(*state, thisValue, "KeyboardEvent" ); |
15432 | } |
15433 | |
15434 | static inline bool setJSDOMWindowKeyboardEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15435 | { |
15436 | UNUSED_PARAM(throwScope); |
15437 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15438 | return false; |
15439 | // Shadowing a built-in constructor. |
15440 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("KeyboardEvent" ), strlen("KeyboardEvent" )), value); |
15441 | } |
15442 | |
15443 | bool setJSDOMWindowKeyboardEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15444 | { |
15445 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowKeyboardEventConstructorSetter>(*state, thisValue, encodedValue, "KeyboardEvent" ); |
15446 | } |
15447 | |
15448 | #if ENABLE(CHANNEL_MESSAGING) |
15449 | static inline JSValue jsDOMWindowMessageChannelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15450 | { |
15451 | UNUSED_PARAM(throwScope); |
15452 | UNUSED_PARAM(state); |
15453 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15454 | return jsUndefined(); |
15455 | return JSMessageChannel::getConstructor(state.vm(), &thisObject); |
15456 | } |
15457 | |
15458 | EncodedJSValue jsDOMWindowMessageChannelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15459 | { |
15460 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMessageChannelConstructorGetter>(*state, thisValue, "MessageChannel" ); |
15461 | } |
15462 | |
15463 | #endif |
15464 | |
15465 | #if ENABLE(CHANNEL_MESSAGING) |
15466 | static inline bool setJSDOMWindowMessageChannelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15467 | { |
15468 | UNUSED_PARAM(throwScope); |
15469 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15470 | return false; |
15471 | // Shadowing a built-in constructor. |
15472 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MessageChannel" ), strlen("MessageChannel" )), value); |
15473 | } |
15474 | |
15475 | bool setJSDOMWindowMessageChannelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15476 | { |
15477 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMessageChannelConstructorSetter>(*state, thisValue, encodedValue, "MessageChannel" ); |
15478 | } |
15479 | |
15480 | #endif |
15481 | |
15482 | static inline JSValue jsDOMWindowMessageEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15483 | { |
15484 | UNUSED_PARAM(throwScope); |
15485 | UNUSED_PARAM(state); |
15486 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15487 | return jsUndefined(); |
15488 | return JSMessageEvent::getConstructor(state.vm(), &thisObject); |
15489 | } |
15490 | |
15491 | EncodedJSValue jsDOMWindowMessageEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15492 | { |
15493 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMessageEventConstructorGetter>(*state, thisValue, "MessageEvent" ); |
15494 | } |
15495 | |
15496 | static inline bool setJSDOMWindowMessageEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15497 | { |
15498 | UNUSED_PARAM(throwScope); |
15499 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15500 | return false; |
15501 | // Shadowing a built-in constructor. |
15502 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MessageEvent" ), strlen("MessageEvent" )), value); |
15503 | } |
15504 | |
15505 | bool setJSDOMWindowMessageEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15506 | { |
15507 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMessageEventConstructorSetter>(*state, thisValue, encodedValue, "MessageEvent" ); |
15508 | } |
15509 | |
15510 | static inline JSValue jsDOMWindowMessagePortConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15511 | { |
15512 | UNUSED_PARAM(throwScope); |
15513 | UNUSED_PARAM(state); |
15514 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15515 | return jsUndefined(); |
15516 | return JSMessagePort::getConstructor(state.vm(), &thisObject); |
15517 | } |
15518 | |
15519 | EncodedJSValue jsDOMWindowMessagePortConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15520 | { |
15521 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMessagePortConstructorGetter>(*state, thisValue, "MessagePort" ); |
15522 | } |
15523 | |
15524 | static inline bool setJSDOMWindowMessagePortConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15525 | { |
15526 | UNUSED_PARAM(throwScope); |
15527 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15528 | return false; |
15529 | // Shadowing a built-in constructor. |
15530 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MessagePort" ), strlen("MessagePort" )), value); |
15531 | } |
15532 | |
15533 | bool setJSDOMWindowMessagePortConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15534 | { |
15535 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMessagePortConstructorSetter>(*state, thisValue, encodedValue, "MessagePort" ); |
15536 | } |
15537 | |
15538 | static inline JSValue jsDOMWindowMouseEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15539 | { |
15540 | UNUSED_PARAM(throwScope); |
15541 | UNUSED_PARAM(state); |
15542 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15543 | return jsUndefined(); |
15544 | return JSMouseEvent::getConstructor(state.vm(), &thisObject); |
15545 | } |
15546 | |
15547 | EncodedJSValue jsDOMWindowMouseEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15548 | { |
15549 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMouseEventConstructorGetter>(*state, thisValue, "MouseEvent" ); |
15550 | } |
15551 | |
15552 | static inline bool setJSDOMWindowMouseEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15553 | { |
15554 | UNUSED_PARAM(throwScope); |
15555 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15556 | return false; |
15557 | // Shadowing a built-in constructor. |
15558 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MouseEvent" ), strlen("MouseEvent" )), value); |
15559 | } |
15560 | |
15561 | bool setJSDOMWindowMouseEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15562 | { |
15563 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMouseEventConstructorSetter>(*state, thisValue, encodedValue, "MouseEvent" ); |
15564 | } |
15565 | |
15566 | static inline JSValue jsDOMWindowMutationEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15567 | { |
15568 | UNUSED_PARAM(throwScope); |
15569 | UNUSED_PARAM(state); |
15570 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15571 | return jsUndefined(); |
15572 | return JSMutationEvent::getConstructor(state.vm(), &thisObject); |
15573 | } |
15574 | |
15575 | EncodedJSValue jsDOMWindowMutationEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15576 | { |
15577 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMutationEventConstructorGetter>(*state, thisValue, "MutationEvent" ); |
15578 | } |
15579 | |
15580 | static inline bool setJSDOMWindowMutationEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15581 | { |
15582 | UNUSED_PARAM(throwScope); |
15583 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15584 | return false; |
15585 | // Shadowing a built-in constructor. |
15586 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MutationEvent" ), strlen("MutationEvent" )), value); |
15587 | } |
15588 | |
15589 | bool setJSDOMWindowMutationEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15590 | { |
15591 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMutationEventConstructorSetter>(*state, thisValue, encodedValue, "MutationEvent" ); |
15592 | } |
15593 | |
15594 | static inline JSValue jsDOMWindowMutationObserverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15595 | { |
15596 | UNUSED_PARAM(throwScope); |
15597 | UNUSED_PARAM(state); |
15598 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15599 | return jsUndefined(); |
15600 | return JSMutationObserver::getConstructor(state.vm(), &thisObject); |
15601 | } |
15602 | |
15603 | EncodedJSValue jsDOMWindowMutationObserverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15604 | { |
15605 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMutationObserverConstructorGetter>(*state, thisValue, "MutationObserver" ); |
15606 | } |
15607 | |
15608 | static inline bool setJSDOMWindowMutationObserverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15609 | { |
15610 | UNUSED_PARAM(throwScope); |
15611 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15612 | return false; |
15613 | // Shadowing a built-in constructor. |
15614 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MutationObserver" ), strlen("MutationObserver" )), value); |
15615 | } |
15616 | |
15617 | bool setJSDOMWindowMutationObserverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15618 | { |
15619 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMutationObserverConstructorSetter>(*state, thisValue, encodedValue, "MutationObserver" ); |
15620 | } |
15621 | |
15622 | static inline JSValue jsDOMWindowWebKitMutationObserverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15623 | { |
15624 | UNUSED_PARAM(throwScope); |
15625 | UNUSED_PARAM(state); |
15626 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15627 | return jsUndefined(); |
15628 | return JSMutationObserver::getConstructor(state.vm(), &thisObject); |
15629 | } |
15630 | |
15631 | EncodedJSValue jsDOMWindowWebKitMutationObserverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15632 | { |
15633 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitMutationObserverConstructorGetter>(*state, thisValue, "WebKitMutationObserver" ); |
15634 | } |
15635 | |
15636 | static inline bool setJSDOMWindowWebKitMutationObserverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15637 | { |
15638 | UNUSED_PARAM(throwScope); |
15639 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15640 | return false; |
15641 | // Shadowing a built-in constructor. |
15642 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitMutationObserver" ), strlen("WebKitMutationObserver" )), value); |
15643 | } |
15644 | |
15645 | bool setJSDOMWindowWebKitMutationObserverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15646 | { |
15647 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitMutationObserverConstructorSetter>(*state, thisValue, encodedValue, "WebKitMutationObserver" ); |
15648 | } |
15649 | |
15650 | static inline JSValue jsDOMWindowMutationRecordConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15651 | { |
15652 | UNUSED_PARAM(throwScope); |
15653 | UNUSED_PARAM(state); |
15654 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15655 | return jsUndefined(); |
15656 | return JSMutationRecord::getConstructor(state.vm(), &thisObject); |
15657 | } |
15658 | |
15659 | EncodedJSValue jsDOMWindowMutationRecordConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15660 | { |
15661 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMutationRecordConstructorGetter>(*state, thisValue, "MutationRecord" ); |
15662 | } |
15663 | |
15664 | static inline bool setJSDOMWindowMutationRecordConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15665 | { |
15666 | UNUSED_PARAM(throwScope); |
15667 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15668 | return false; |
15669 | // Shadowing a built-in constructor. |
15670 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MutationRecord" ), strlen("MutationRecord" )), value); |
15671 | } |
15672 | |
15673 | bool setJSDOMWindowMutationRecordConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15674 | { |
15675 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMutationRecordConstructorSetter>(*state, thisValue, encodedValue, "MutationRecord" ); |
15676 | } |
15677 | |
15678 | static inline JSValue jsDOMWindowNamedNodeMapConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15679 | { |
15680 | UNUSED_PARAM(throwScope); |
15681 | UNUSED_PARAM(state); |
15682 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15683 | return jsUndefined(); |
15684 | return JSNamedNodeMap::getConstructor(state.vm(), &thisObject); |
15685 | } |
15686 | |
15687 | EncodedJSValue jsDOMWindowNamedNodeMapConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15688 | { |
15689 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNamedNodeMapConstructorGetter>(*state, thisValue, "NamedNodeMap" ); |
15690 | } |
15691 | |
15692 | static inline bool setJSDOMWindowNamedNodeMapConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15693 | { |
15694 | UNUSED_PARAM(throwScope); |
15695 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15696 | return false; |
15697 | // Shadowing a built-in constructor. |
15698 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("NamedNodeMap" ), strlen("NamedNodeMap" )), value); |
15699 | } |
15700 | |
15701 | bool setJSDOMWindowNamedNodeMapConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15702 | { |
15703 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNamedNodeMapConstructorSetter>(*state, thisValue, encodedValue, "NamedNodeMap" ); |
15704 | } |
15705 | |
15706 | static inline JSValue jsDOMWindowNodeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15707 | { |
15708 | UNUSED_PARAM(throwScope); |
15709 | UNUSED_PARAM(state); |
15710 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15711 | return jsUndefined(); |
15712 | return JSNode::getConstructor(state.vm(), &thisObject); |
15713 | } |
15714 | |
15715 | EncodedJSValue jsDOMWindowNodeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15716 | { |
15717 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNodeConstructorGetter>(*state, thisValue, "Node" ); |
15718 | } |
15719 | |
15720 | static inline bool setJSDOMWindowNodeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15721 | { |
15722 | UNUSED_PARAM(throwScope); |
15723 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15724 | return false; |
15725 | // Shadowing a built-in constructor. |
15726 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Node" ), strlen("Node" )), value); |
15727 | } |
15728 | |
15729 | bool setJSDOMWindowNodeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15730 | { |
15731 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNodeConstructorSetter>(*state, thisValue, encodedValue, "Node" ); |
15732 | } |
15733 | |
15734 | static inline JSValue jsDOMWindowNodeFilterConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15735 | { |
15736 | UNUSED_PARAM(throwScope); |
15737 | UNUSED_PARAM(state); |
15738 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15739 | return jsUndefined(); |
15740 | return JSNodeFilter::getConstructor(state.vm(), &thisObject); |
15741 | } |
15742 | |
15743 | EncodedJSValue jsDOMWindowNodeFilterConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15744 | { |
15745 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNodeFilterConstructorGetter>(*state, thisValue, "NodeFilter" ); |
15746 | } |
15747 | |
15748 | static inline bool setJSDOMWindowNodeFilterConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15749 | { |
15750 | UNUSED_PARAM(throwScope); |
15751 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15752 | return false; |
15753 | // Shadowing a built-in constructor. |
15754 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("NodeFilter" ), strlen("NodeFilter" )), value); |
15755 | } |
15756 | |
15757 | bool setJSDOMWindowNodeFilterConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15758 | { |
15759 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNodeFilterConstructorSetter>(*state, thisValue, encodedValue, "NodeFilter" ); |
15760 | } |
15761 | |
15762 | static inline JSValue jsDOMWindowNodeIteratorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15763 | { |
15764 | UNUSED_PARAM(throwScope); |
15765 | UNUSED_PARAM(state); |
15766 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15767 | return jsUndefined(); |
15768 | return JSNodeIterator::getConstructor(state.vm(), &thisObject); |
15769 | } |
15770 | |
15771 | EncodedJSValue jsDOMWindowNodeIteratorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15772 | { |
15773 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNodeIteratorConstructorGetter>(*state, thisValue, "NodeIterator" ); |
15774 | } |
15775 | |
15776 | static inline bool setJSDOMWindowNodeIteratorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15777 | { |
15778 | UNUSED_PARAM(throwScope); |
15779 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15780 | return false; |
15781 | // Shadowing a built-in constructor. |
15782 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("NodeIterator" ), strlen("NodeIterator" )), value); |
15783 | } |
15784 | |
15785 | bool setJSDOMWindowNodeIteratorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15786 | { |
15787 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNodeIteratorConstructorSetter>(*state, thisValue, encodedValue, "NodeIterator" ); |
15788 | } |
15789 | |
15790 | static inline JSValue jsDOMWindowNodeListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15791 | { |
15792 | UNUSED_PARAM(throwScope); |
15793 | UNUSED_PARAM(state); |
15794 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15795 | return jsUndefined(); |
15796 | return JSNodeList::getConstructor(state.vm(), &thisObject); |
15797 | } |
15798 | |
15799 | EncodedJSValue jsDOMWindowNodeListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15800 | { |
15801 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNodeListConstructorGetter>(*state, thisValue, "NodeList" ); |
15802 | } |
15803 | |
15804 | static inline bool setJSDOMWindowNodeListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15805 | { |
15806 | UNUSED_PARAM(throwScope); |
15807 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15808 | return false; |
15809 | // Shadowing a built-in constructor. |
15810 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("NodeList" ), strlen("NodeList" )), value); |
15811 | } |
15812 | |
15813 | bool setJSDOMWindowNodeListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15814 | { |
15815 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNodeListConstructorSetter>(*state, thisValue, encodedValue, "NodeList" ); |
15816 | } |
15817 | |
15818 | static inline JSValue jsDOMWindowOverflowEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15819 | { |
15820 | UNUSED_PARAM(throwScope); |
15821 | UNUSED_PARAM(state); |
15822 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15823 | return jsUndefined(); |
15824 | return JSOverflowEvent::getConstructor(state.vm(), &thisObject); |
15825 | } |
15826 | |
15827 | EncodedJSValue jsDOMWindowOverflowEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15828 | { |
15829 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOverflowEventConstructorGetter>(*state, thisValue, "OverflowEvent" ); |
15830 | } |
15831 | |
15832 | static inline bool setJSDOMWindowOverflowEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15833 | { |
15834 | UNUSED_PARAM(throwScope); |
15835 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15836 | return false; |
15837 | // Shadowing a built-in constructor. |
15838 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OverflowEvent" ), strlen("OverflowEvent" )), value); |
15839 | } |
15840 | |
15841 | bool setJSDOMWindowOverflowEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15842 | { |
15843 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOverflowEventConstructorSetter>(*state, thisValue, encodedValue, "OverflowEvent" ); |
15844 | } |
15845 | |
15846 | static inline JSValue jsDOMWindowPageTransitionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15847 | { |
15848 | UNUSED_PARAM(throwScope); |
15849 | UNUSED_PARAM(state); |
15850 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15851 | return jsUndefined(); |
15852 | return JSPageTransitionEvent::getConstructor(state.vm(), &thisObject); |
15853 | } |
15854 | |
15855 | EncodedJSValue jsDOMWindowPageTransitionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15856 | { |
15857 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPageTransitionEventConstructorGetter>(*state, thisValue, "PageTransitionEvent" ); |
15858 | } |
15859 | |
15860 | static inline bool setJSDOMWindowPageTransitionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15861 | { |
15862 | UNUSED_PARAM(throwScope); |
15863 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15864 | return false; |
15865 | // Shadowing a built-in constructor. |
15866 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PageTransitionEvent" ), strlen("PageTransitionEvent" )), value); |
15867 | } |
15868 | |
15869 | bool setJSDOMWindowPageTransitionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15870 | { |
15871 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPageTransitionEventConstructorSetter>(*state, thisValue, encodedValue, "PageTransitionEvent" ); |
15872 | } |
15873 | |
15874 | #if ENABLE(POINTER_EVENTS) |
15875 | static inline JSValue jsDOMWindowPointerEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15876 | { |
15877 | UNUSED_PARAM(throwScope); |
15878 | UNUSED_PARAM(state); |
15879 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15880 | return jsUndefined(); |
15881 | return JSPointerEvent::getConstructor(state.vm(), &thisObject); |
15882 | } |
15883 | |
15884 | EncodedJSValue jsDOMWindowPointerEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15885 | { |
15886 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPointerEventConstructorGetter>(*state, thisValue, "PointerEvent" ); |
15887 | } |
15888 | |
15889 | #endif |
15890 | |
15891 | #if ENABLE(POINTER_EVENTS) |
15892 | static inline bool setJSDOMWindowPointerEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15893 | { |
15894 | UNUSED_PARAM(throwScope); |
15895 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15896 | return false; |
15897 | // Shadowing a built-in constructor. |
15898 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PointerEvent" ), strlen("PointerEvent" )), value); |
15899 | } |
15900 | |
15901 | bool setJSDOMWindowPointerEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15902 | { |
15903 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPointerEventConstructorSetter>(*state, thisValue, encodedValue, "PointerEvent" ); |
15904 | } |
15905 | |
15906 | #endif |
15907 | |
15908 | static inline JSValue jsDOMWindowPopStateEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15909 | { |
15910 | UNUSED_PARAM(throwScope); |
15911 | UNUSED_PARAM(state); |
15912 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15913 | return jsUndefined(); |
15914 | return JSPopStateEvent::getConstructor(state.vm(), &thisObject); |
15915 | } |
15916 | |
15917 | EncodedJSValue jsDOMWindowPopStateEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15918 | { |
15919 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPopStateEventConstructorGetter>(*state, thisValue, "PopStateEvent" ); |
15920 | } |
15921 | |
15922 | static inline bool setJSDOMWindowPopStateEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15923 | { |
15924 | UNUSED_PARAM(throwScope); |
15925 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15926 | return false; |
15927 | // Shadowing a built-in constructor. |
15928 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PopStateEvent" ), strlen("PopStateEvent" )), value); |
15929 | } |
15930 | |
15931 | bool setJSDOMWindowPopStateEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15932 | { |
15933 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPopStateEventConstructorSetter>(*state, thisValue, encodedValue, "PopStateEvent" ); |
15934 | } |
15935 | |
15936 | static inline JSValue jsDOMWindowProcessingInstructionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15937 | { |
15938 | UNUSED_PARAM(throwScope); |
15939 | UNUSED_PARAM(state); |
15940 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15941 | return jsUndefined(); |
15942 | return JSProcessingInstruction::getConstructor(state.vm(), &thisObject); |
15943 | } |
15944 | |
15945 | EncodedJSValue jsDOMWindowProcessingInstructionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15946 | { |
15947 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowProcessingInstructionConstructorGetter>(*state, thisValue, "ProcessingInstruction" ); |
15948 | } |
15949 | |
15950 | static inline bool setJSDOMWindowProcessingInstructionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15951 | { |
15952 | UNUSED_PARAM(throwScope); |
15953 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15954 | return false; |
15955 | // Shadowing a built-in constructor. |
15956 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ProcessingInstruction" ), strlen("ProcessingInstruction" )), value); |
15957 | } |
15958 | |
15959 | bool setJSDOMWindowProcessingInstructionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15960 | { |
15961 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowProcessingInstructionConstructorSetter>(*state, thisValue, encodedValue, "ProcessingInstruction" ); |
15962 | } |
15963 | |
15964 | static inline JSValue jsDOMWindowProgressEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15965 | { |
15966 | UNUSED_PARAM(throwScope); |
15967 | UNUSED_PARAM(state); |
15968 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15969 | return jsUndefined(); |
15970 | return JSProgressEvent::getConstructor(state.vm(), &thisObject); |
15971 | } |
15972 | |
15973 | EncodedJSValue jsDOMWindowProgressEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
15974 | { |
15975 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowProgressEventConstructorGetter>(*state, thisValue, "ProgressEvent" ); |
15976 | } |
15977 | |
15978 | static inline bool setJSDOMWindowProgressEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
15979 | { |
15980 | UNUSED_PARAM(throwScope); |
15981 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15982 | return false; |
15983 | // Shadowing a built-in constructor. |
15984 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ProgressEvent" ), strlen("ProgressEvent" )), value); |
15985 | } |
15986 | |
15987 | bool setJSDOMWindowProgressEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
15988 | { |
15989 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowProgressEventConstructorSetter>(*state, thisValue, encodedValue, "ProgressEvent" ); |
15990 | } |
15991 | |
15992 | static inline JSValue jsDOMWindowPromiseRejectionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
15993 | { |
15994 | UNUSED_PARAM(throwScope); |
15995 | UNUSED_PARAM(state); |
15996 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
15997 | return jsUndefined(); |
15998 | return JSPromiseRejectionEvent::getConstructor(state.vm(), &thisObject); |
15999 | } |
16000 | |
16001 | EncodedJSValue jsDOMWindowPromiseRejectionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16002 | { |
16003 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPromiseRejectionEventConstructorGetter>(*state, thisValue, "PromiseRejectionEvent" ); |
16004 | } |
16005 | |
16006 | static inline bool setJSDOMWindowPromiseRejectionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16007 | { |
16008 | UNUSED_PARAM(throwScope); |
16009 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16010 | return false; |
16011 | // Shadowing a built-in constructor. |
16012 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PromiseRejectionEvent" ), strlen("PromiseRejectionEvent" )), value); |
16013 | } |
16014 | |
16015 | bool setJSDOMWindowPromiseRejectionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16016 | { |
16017 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPromiseRejectionEventConstructorSetter>(*state, thisValue, encodedValue, "PromiseRejectionEvent" ); |
16018 | } |
16019 | |
16020 | static inline JSValue jsDOMWindowRangeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16021 | { |
16022 | UNUSED_PARAM(throwScope); |
16023 | UNUSED_PARAM(state); |
16024 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16025 | return jsUndefined(); |
16026 | return JSRange::getConstructor(state.vm(), &thisObject); |
16027 | } |
16028 | |
16029 | EncodedJSValue jsDOMWindowRangeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16030 | { |
16031 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRangeConstructorGetter>(*state, thisValue, "Range" ); |
16032 | } |
16033 | |
16034 | static inline bool setJSDOMWindowRangeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16035 | { |
16036 | UNUSED_PARAM(throwScope); |
16037 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16038 | return false; |
16039 | // Shadowing a built-in constructor. |
16040 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Range" ), strlen("Range" )), value); |
16041 | } |
16042 | |
16043 | bool setJSDOMWindowRangeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16044 | { |
16045 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRangeConstructorSetter>(*state, thisValue, encodedValue, "Range" ); |
16046 | } |
16047 | |
16048 | static inline JSValue jsDOMWindowSecurityPolicyViolationEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16049 | { |
16050 | UNUSED_PARAM(throwScope); |
16051 | UNUSED_PARAM(state); |
16052 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16053 | return jsUndefined(); |
16054 | return JSSecurityPolicyViolationEvent::getConstructor(state.vm(), &thisObject); |
16055 | } |
16056 | |
16057 | EncodedJSValue jsDOMWindowSecurityPolicyViolationEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16058 | { |
16059 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSecurityPolicyViolationEventConstructorGetter>(*state, thisValue, "SecurityPolicyViolationEvent" ); |
16060 | } |
16061 | |
16062 | static inline bool setJSDOMWindowSecurityPolicyViolationEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16063 | { |
16064 | UNUSED_PARAM(throwScope); |
16065 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16066 | return false; |
16067 | // Shadowing a built-in constructor. |
16068 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SecurityPolicyViolationEvent" ), strlen("SecurityPolicyViolationEvent" )), value); |
16069 | } |
16070 | |
16071 | bool setJSDOMWindowSecurityPolicyViolationEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16072 | { |
16073 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSecurityPolicyViolationEventConstructorSetter>(*state, thisValue, encodedValue, "SecurityPolicyViolationEvent" ); |
16074 | } |
16075 | |
16076 | static inline JSValue jsDOMWindowShadowRootConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16077 | { |
16078 | UNUSED_PARAM(throwScope); |
16079 | UNUSED_PARAM(state); |
16080 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16081 | return jsUndefined(); |
16082 | return JSShadowRoot::getConstructor(state.vm(), &thisObject); |
16083 | } |
16084 | |
16085 | EncodedJSValue jsDOMWindowShadowRootConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16086 | { |
16087 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowShadowRootConstructorGetter>(*state, thisValue, "ShadowRoot" ); |
16088 | } |
16089 | |
16090 | static inline bool setJSDOMWindowShadowRootConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16091 | { |
16092 | UNUSED_PARAM(throwScope); |
16093 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16094 | return false; |
16095 | // Shadowing a built-in constructor. |
16096 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ShadowRoot" ), strlen("ShadowRoot" )), value); |
16097 | } |
16098 | |
16099 | bool setJSDOMWindowShadowRootConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16100 | { |
16101 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowShadowRootConstructorSetter>(*state, thisValue, encodedValue, "ShadowRoot" ); |
16102 | } |
16103 | |
16104 | static inline JSValue jsDOMWindowSpectreGadgetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16105 | { |
16106 | UNUSED_PARAM(throwScope); |
16107 | UNUSED_PARAM(state); |
16108 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16109 | return jsUndefined(); |
16110 | return JSSpectreGadget::getConstructor(state.vm(), &thisObject); |
16111 | } |
16112 | |
16113 | EncodedJSValue jsDOMWindowSpectreGadgetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16114 | { |
16115 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSpectreGadgetConstructorGetter>(*state, thisValue, "SpectreGadget" ); |
16116 | } |
16117 | |
16118 | static inline bool setJSDOMWindowSpectreGadgetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16119 | { |
16120 | UNUSED_PARAM(throwScope); |
16121 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16122 | return false; |
16123 | // Shadowing a built-in constructor. |
16124 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SpectreGadget" ), strlen("SpectreGadget" )), value); |
16125 | } |
16126 | |
16127 | bool setJSDOMWindowSpectreGadgetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16128 | { |
16129 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSpectreGadgetConstructorSetter>(*state, thisValue, encodedValue, "SpectreGadget" ); |
16130 | } |
16131 | |
16132 | static inline JSValue jsDOMWindowStaticRangeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16133 | { |
16134 | UNUSED_PARAM(throwScope); |
16135 | UNUSED_PARAM(state); |
16136 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16137 | return jsUndefined(); |
16138 | return JSStaticRange::getConstructor(state.vm(), &thisObject); |
16139 | } |
16140 | |
16141 | EncodedJSValue jsDOMWindowStaticRangeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16142 | { |
16143 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStaticRangeConstructorGetter>(*state, thisValue, "StaticRange" ); |
16144 | } |
16145 | |
16146 | static inline bool setJSDOMWindowStaticRangeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16147 | { |
16148 | UNUSED_PARAM(throwScope); |
16149 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16150 | return false; |
16151 | // Shadowing a built-in constructor. |
16152 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("StaticRange" ), strlen("StaticRange" )), value); |
16153 | } |
16154 | |
16155 | bool setJSDOMWindowStaticRangeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16156 | { |
16157 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStaticRangeConstructorSetter>(*state, thisValue, encodedValue, "StaticRange" ); |
16158 | } |
16159 | |
16160 | static inline JSValue jsDOMWindowTextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16161 | { |
16162 | UNUSED_PARAM(throwScope); |
16163 | UNUSED_PARAM(state); |
16164 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16165 | return jsUndefined(); |
16166 | return JSText::getConstructor(state.vm(), &thisObject); |
16167 | } |
16168 | |
16169 | EncodedJSValue jsDOMWindowTextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16170 | { |
16171 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextConstructorGetter>(*state, thisValue, "Text" ); |
16172 | } |
16173 | |
16174 | static inline bool setJSDOMWindowTextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16175 | { |
16176 | UNUSED_PARAM(throwScope); |
16177 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16178 | return false; |
16179 | // Shadowing a built-in constructor. |
16180 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Text" ), strlen("Text" )), value); |
16181 | } |
16182 | |
16183 | bool setJSDOMWindowTextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16184 | { |
16185 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextConstructorSetter>(*state, thisValue, encodedValue, "Text" ); |
16186 | } |
16187 | |
16188 | static inline JSValue jsDOMWindowTextDecoderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16189 | { |
16190 | UNUSED_PARAM(throwScope); |
16191 | UNUSED_PARAM(state); |
16192 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16193 | return jsUndefined(); |
16194 | return JSTextDecoder::getConstructor(state.vm(), &thisObject); |
16195 | } |
16196 | |
16197 | EncodedJSValue jsDOMWindowTextDecoderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16198 | { |
16199 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextDecoderConstructorGetter>(*state, thisValue, "TextDecoder" ); |
16200 | } |
16201 | |
16202 | static inline bool setJSDOMWindowTextDecoderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16203 | { |
16204 | UNUSED_PARAM(throwScope); |
16205 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16206 | return false; |
16207 | // Shadowing a built-in constructor. |
16208 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextDecoder" ), strlen("TextDecoder" )), value); |
16209 | } |
16210 | |
16211 | bool setJSDOMWindowTextDecoderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16212 | { |
16213 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextDecoderConstructorSetter>(*state, thisValue, encodedValue, "TextDecoder" ); |
16214 | } |
16215 | |
16216 | static inline JSValue jsDOMWindowTextEncoderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16217 | { |
16218 | UNUSED_PARAM(throwScope); |
16219 | UNUSED_PARAM(state); |
16220 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16221 | return jsUndefined(); |
16222 | return JSTextEncoder::getConstructor(state.vm(), &thisObject); |
16223 | } |
16224 | |
16225 | EncodedJSValue jsDOMWindowTextEncoderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16226 | { |
16227 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextEncoderConstructorGetter>(*state, thisValue, "TextEncoder" ); |
16228 | } |
16229 | |
16230 | static inline bool setJSDOMWindowTextEncoderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16231 | { |
16232 | UNUSED_PARAM(throwScope); |
16233 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16234 | return false; |
16235 | // Shadowing a built-in constructor. |
16236 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextEncoder" ), strlen("TextEncoder" )), value); |
16237 | } |
16238 | |
16239 | bool setJSDOMWindowTextEncoderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16240 | { |
16241 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextEncoderConstructorSetter>(*state, thisValue, encodedValue, "TextEncoder" ); |
16242 | } |
16243 | |
16244 | static inline JSValue jsDOMWindowTextEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16245 | { |
16246 | UNUSED_PARAM(throwScope); |
16247 | UNUSED_PARAM(state); |
16248 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16249 | return jsUndefined(); |
16250 | return JSTextEvent::getConstructor(state.vm(), &thisObject); |
16251 | } |
16252 | |
16253 | EncodedJSValue jsDOMWindowTextEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16254 | { |
16255 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextEventConstructorGetter>(*state, thisValue, "TextEvent" ); |
16256 | } |
16257 | |
16258 | static inline bool setJSDOMWindowTextEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16259 | { |
16260 | UNUSED_PARAM(throwScope); |
16261 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16262 | return false; |
16263 | // Shadowing a built-in constructor. |
16264 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextEvent" ), strlen("TextEvent" )), value); |
16265 | } |
16266 | |
16267 | bool setJSDOMWindowTextEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16268 | { |
16269 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextEventConstructorSetter>(*state, thisValue, encodedValue, "TextEvent" ); |
16270 | } |
16271 | |
16272 | #if ENABLE(TOUCH_EVENTS) |
16273 | static inline JSValue jsDOMWindowTouchConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16274 | { |
16275 | UNUSED_PARAM(throwScope); |
16276 | UNUSED_PARAM(state); |
16277 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16278 | return jsUndefined(); |
16279 | return JSTouch::getConstructor(state.vm(), &thisObject); |
16280 | } |
16281 | |
16282 | EncodedJSValue jsDOMWindowTouchConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16283 | { |
16284 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTouchConstructorGetter>(*state, thisValue, "Touch" ); |
16285 | } |
16286 | |
16287 | #endif |
16288 | |
16289 | #if ENABLE(TOUCH_EVENTS) |
16290 | static inline bool setJSDOMWindowTouchConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16291 | { |
16292 | UNUSED_PARAM(throwScope); |
16293 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16294 | return false; |
16295 | // Shadowing a built-in constructor. |
16296 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Touch" ), strlen("Touch" )), value); |
16297 | } |
16298 | |
16299 | bool setJSDOMWindowTouchConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16300 | { |
16301 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTouchConstructorSetter>(*state, thisValue, encodedValue, "Touch" ); |
16302 | } |
16303 | |
16304 | #endif |
16305 | |
16306 | #if ENABLE(TOUCH_EVENTS) |
16307 | static inline JSValue jsDOMWindowTouchEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16308 | { |
16309 | UNUSED_PARAM(throwScope); |
16310 | UNUSED_PARAM(state); |
16311 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16312 | return jsUndefined(); |
16313 | return JSTouchEvent::getConstructor(state.vm(), &thisObject); |
16314 | } |
16315 | |
16316 | EncodedJSValue jsDOMWindowTouchEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16317 | { |
16318 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTouchEventConstructorGetter>(*state, thisValue, "TouchEvent" ); |
16319 | } |
16320 | |
16321 | #endif |
16322 | |
16323 | #if ENABLE(TOUCH_EVENTS) |
16324 | static inline bool setJSDOMWindowTouchEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16325 | { |
16326 | UNUSED_PARAM(throwScope); |
16327 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16328 | return false; |
16329 | // Shadowing a built-in constructor. |
16330 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TouchEvent" ), strlen("TouchEvent" )), value); |
16331 | } |
16332 | |
16333 | bool setJSDOMWindowTouchEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16334 | { |
16335 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTouchEventConstructorSetter>(*state, thisValue, encodedValue, "TouchEvent" ); |
16336 | } |
16337 | |
16338 | #endif |
16339 | |
16340 | #if ENABLE(TOUCH_EVENTS) |
16341 | static inline JSValue jsDOMWindowTouchListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16342 | { |
16343 | UNUSED_PARAM(throwScope); |
16344 | UNUSED_PARAM(state); |
16345 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16346 | return jsUndefined(); |
16347 | return JSTouchList::getConstructor(state.vm(), &thisObject); |
16348 | } |
16349 | |
16350 | EncodedJSValue jsDOMWindowTouchListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16351 | { |
16352 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTouchListConstructorGetter>(*state, thisValue, "TouchList" ); |
16353 | } |
16354 | |
16355 | #endif |
16356 | |
16357 | #if ENABLE(TOUCH_EVENTS) |
16358 | static inline bool setJSDOMWindowTouchListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16359 | { |
16360 | UNUSED_PARAM(throwScope); |
16361 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16362 | return false; |
16363 | // Shadowing a built-in constructor. |
16364 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TouchList" ), strlen("TouchList" )), value); |
16365 | } |
16366 | |
16367 | bool setJSDOMWindowTouchListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16368 | { |
16369 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTouchListConstructorSetter>(*state, thisValue, encodedValue, "TouchList" ); |
16370 | } |
16371 | |
16372 | #endif |
16373 | |
16374 | static inline JSValue jsDOMWindowTransitionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16375 | { |
16376 | UNUSED_PARAM(throwScope); |
16377 | UNUSED_PARAM(state); |
16378 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16379 | return jsUndefined(); |
16380 | return JSTransitionEvent::getConstructor(state.vm(), &thisObject); |
16381 | } |
16382 | |
16383 | EncodedJSValue jsDOMWindowTransitionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16384 | { |
16385 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTransitionEventConstructorGetter>(*state, thisValue, "TransitionEvent" ); |
16386 | } |
16387 | |
16388 | static inline bool setJSDOMWindowTransitionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16389 | { |
16390 | UNUSED_PARAM(throwScope); |
16391 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16392 | return false; |
16393 | // Shadowing a built-in constructor. |
16394 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TransitionEvent" ), strlen("TransitionEvent" )), value); |
16395 | } |
16396 | |
16397 | bool setJSDOMWindowTransitionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16398 | { |
16399 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTransitionEventConstructorSetter>(*state, thisValue, encodedValue, "TransitionEvent" ); |
16400 | } |
16401 | |
16402 | static inline JSValue jsDOMWindowTreeWalkerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16403 | { |
16404 | UNUSED_PARAM(throwScope); |
16405 | UNUSED_PARAM(state); |
16406 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16407 | return jsUndefined(); |
16408 | return JSTreeWalker::getConstructor(state.vm(), &thisObject); |
16409 | } |
16410 | |
16411 | EncodedJSValue jsDOMWindowTreeWalkerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16412 | { |
16413 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTreeWalkerConstructorGetter>(*state, thisValue, "TreeWalker" ); |
16414 | } |
16415 | |
16416 | static inline bool setJSDOMWindowTreeWalkerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16417 | { |
16418 | UNUSED_PARAM(throwScope); |
16419 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16420 | return false; |
16421 | // Shadowing a built-in constructor. |
16422 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TreeWalker" ), strlen("TreeWalker" )), value); |
16423 | } |
16424 | |
16425 | bool setJSDOMWindowTreeWalkerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16426 | { |
16427 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTreeWalkerConstructorSetter>(*state, thisValue, encodedValue, "TreeWalker" ); |
16428 | } |
16429 | |
16430 | static inline JSValue jsDOMWindowUIEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16431 | { |
16432 | UNUSED_PARAM(throwScope); |
16433 | UNUSED_PARAM(state); |
16434 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16435 | return jsUndefined(); |
16436 | return JSUIEvent::getConstructor(state.vm(), &thisObject); |
16437 | } |
16438 | |
16439 | EncodedJSValue jsDOMWindowUIEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16440 | { |
16441 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowUIEventConstructorGetter>(*state, thisValue, "UIEvent" ); |
16442 | } |
16443 | |
16444 | static inline bool setJSDOMWindowUIEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16445 | { |
16446 | UNUSED_PARAM(throwScope); |
16447 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16448 | return false; |
16449 | // Shadowing a built-in constructor. |
16450 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("UIEvent" ), strlen("UIEvent" )), value); |
16451 | } |
16452 | |
16453 | bool setJSDOMWindowUIEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16454 | { |
16455 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowUIEventConstructorSetter>(*state, thisValue, encodedValue, "UIEvent" ); |
16456 | } |
16457 | |
16458 | static inline JSValue jsDOMWindowWebKitAnimationEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16459 | { |
16460 | UNUSED_PARAM(throwScope); |
16461 | UNUSED_PARAM(state); |
16462 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16463 | return jsUndefined(); |
16464 | return JSWebKitAnimationEvent::getConstructor(state.vm(), &thisObject); |
16465 | } |
16466 | |
16467 | EncodedJSValue jsDOMWindowWebKitAnimationEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16468 | { |
16469 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitAnimationEventConstructorGetter>(*state, thisValue, "WebKitAnimationEvent" ); |
16470 | } |
16471 | |
16472 | static inline bool setJSDOMWindowWebKitAnimationEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16473 | { |
16474 | UNUSED_PARAM(throwScope); |
16475 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16476 | return false; |
16477 | // Shadowing a built-in constructor. |
16478 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitAnimationEvent" ), strlen("WebKitAnimationEvent" )), value); |
16479 | } |
16480 | |
16481 | bool setJSDOMWindowWebKitAnimationEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16482 | { |
16483 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitAnimationEventConstructorSetter>(*state, thisValue, encodedValue, "WebKitAnimationEvent" ); |
16484 | } |
16485 | |
16486 | static inline JSValue jsDOMWindowWebKitTransitionEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16487 | { |
16488 | UNUSED_PARAM(throwScope); |
16489 | UNUSED_PARAM(state); |
16490 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16491 | return jsUndefined(); |
16492 | return JSWebKitTransitionEvent::getConstructor(state.vm(), &thisObject); |
16493 | } |
16494 | |
16495 | EncodedJSValue jsDOMWindowWebKitTransitionEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16496 | { |
16497 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitTransitionEventConstructorGetter>(*state, thisValue, "WebKitTransitionEvent" ); |
16498 | } |
16499 | |
16500 | static inline bool setJSDOMWindowWebKitTransitionEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16501 | { |
16502 | UNUSED_PARAM(throwScope); |
16503 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16504 | return false; |
16505 | // Shadowing a built-in constructor. |
16506 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitTransitionEvent" ), strlen("WebKitTransitionEvent" )), value); |
16507 | } |
16508 | |
16509 | bool setJSDOMWindowWebKitTransitionEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16510 | { |
16511 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitTransitionEventConstructorSetter>(*state, thisValue, encodedValue, "WebKitTransitionEvent" ); |
16512 | } |
16513 | |
16514 | static inline JSValue jsDOMWindowWheelEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16515 | { |
16516 | UNUSED_PARAM(throwScope); |
16517 | UNUSED_PARAM(state); |
16518 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16519 | return jsUndefined(); |
16520 | return JSWheelEvent::getConstructor(state.vm(), &thisObject); |
16521 | } |
16522 | |
16523 | EncodedJSValue jsDOMWindowWheelEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16524 | { |
16525 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWheelEventConstructorGetter>(*state, thisValue, "WheelEvent" ); |
16526 | } |
16527 | |
16528 | static inline bool setJSDOMWindowWheelEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16529 | { |
16530 | UNUSED_PARAM(throwScope); |
16531 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16532 | return false; |
16533 | // Shadowing a built-in constructor. |
16534 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WheelEvent" ), strlen("WheelEvent" )), value); |
16535 | } |
16536 | |
16537 | bool setJSDOMWindowWheelEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16538 | { |
16539 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWheelEventConstructorSetter>(*state, thisValue, encodedValue, "WheelEvent" ); |
16540 | } |
16541 | |
16542 | static inline JSValue jsDOMWindowXMLDocumentConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16543 | { |
16544 | UNUSED_PARAM(throwScope); |
16545 | UNUSED_PARAM(state); |
16546 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16547 | return jsUndefined(); |
16548 | return JSXMLDocument::getConstructor(state.vm(), &thisObject); |
16549 | } |
16550 | |
16551 | EncodedJSValue jsDOMWindowXMLDocumentConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16552 | { |
16553 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXMLDocumentConstructorGetter>(*state, thisValue, "XMLDocument" ); |
16554 | } |
16555 | |
16556 | static inline bool setJSDOMWindowXMLDocumentConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16557 | { |
16558 | UNUSED_PARAM(throwScope); |
16559 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16560 | return false; |
16561 | // Shadowing a built-in constructor. |
16562 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XMLDocument" ), strlen("XMLDocument" )), value); |
16563 | } |
16564 | |
16565 | bool setJSDOMWindowXMLDocumentConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16566 | { |
16567 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXMLDocumentConstructorSetter>(*state, thisValue, encodedValue, "XMLDocument" ); |
16568 | } |
16569 | |
16570 | static inline JSValue jsDOMWindowSVGDocumentConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16571 | { |
16572 | UNUSED_PARAM(throwScope); |
16573 | UNUSED_PARAM(state); |
16574 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16575 | return jsUndefined(); |
16576 | return JSXMLDocument::getConstructor(state.vm(), &thisObject); |
16577 | } |
16578 | |
16579 | EncodedJSValue jsDOMWindowSVGDocumentConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16580 | { |
16581 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGDocumentConstructorGetter>(*state, thisValue, "SVGDocument" ); |
16582 | } |
16583 | |
16584 | static inline bool setJSDOMWindowSVGDocumentConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16585 | { |
16586 | UNUSED_PARAM(throwScope); |
16587 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16588 | return false; |
16589 | // Shadowing a built-in constructor. |
16590 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGDocument" ), strlen("SVGDocument" )), value); |
16591 | } |
16592 | |
16593 | bool setJSDOMWindowSVGDocumentConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16594 | { |
16595 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGDocumentConstructorSetter>(*state, thisValue, encodedValue, "SVGDocument" ); |
16596 | } |
16597 | |
16598 | static inline JSValue jsDOMWindowBlobConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16599 | { |
16600 | UNUSED_PARAM(throwScope); |
16601 | UNUSED_PARAM(state); |
16602 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16603 | return jsUndefined(); |
16604 | return JSBlob::getConstructor(state.vm(), &thisObject); |
16605 | } |
16606 | |
16607 | EncodedJSValue jsDOMWindowBlobConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16608 | { |
16609 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowBlobConstructorGetter>(*state, thisValue, "Blob" ); |
16610 | } |
16611 | |
16612 | static inline bool setJSDOMWindowBlobConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16613 | { |
16614 | UNUSED_PARAM(throwScope); |
16615 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16616 | return false; |
16617 | // Shadowing a built-in constructor. |
16618 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Blob" ), strlen("Blob" )), value); |
16619 | } |
16620 | |
16621 | bool setJSDOMWindowBlobConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16622 | { |
16623 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowBlobConstructorSetter>(*state, thisValue, encodedValue, "Blob" ); |
16624 | } |
16625 | |
16626 | static inline JSValue jsDOMWindowFileConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16627 | { |
16628 | UNUSED_PARAM(throwScope); |
16629 | UNUSED_PARAM(state); |
16630 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16631 | return jsUndefined(); |
16632 | return JSFile::getConstructor(state.vm(), &thisObject); |
16633 | } |
16634 | |
16635 | EncodedJSValue jsDOMWindowFileConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16636 | { |
16637 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileConstructorGetter>(*state, thisValue, "File" ); |
16638 | } |
16639 | |
16640 | static inline bool setJSDOMWindowFileConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16641 | { |
16642 | UNUSED_PARAM(throwScope); |
16643 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16644 | return false; |
16645 | // Shadowing a built-in constructor. |
16646 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("File" ), strlen("File" )), value); |
16647 | } |
16648 | |
16649 | bool setJSDOMWindowFileConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16650 | { |
16651 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileConstructorSetter>(*state, thisValue, encodedValue, "File" ); |
16652 | } |
16653 | |
16654 | static inline JSValue jsDOMWindowFileErrorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16655 | { |
16656 | UNUSED_PARAM(throwScope); |
16657 | UNUSED_PARAM(state); |
16658 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16659 | return jsUndefined(); |
16660 | return JSFileError::getConstructor(state.vm(), &thisObject); |
16661 | } |
16662 | |
16663 | EncodedJSValue jsDOMWindowFileErrorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16664 | { |
16665 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileErrorConstructorGetter>(*state, thisValue, "FileError" ); |
16666 | } |
16667 | |
16668 | static inline bool setJSDOMWindowFileErrorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16669 | { |
16670 | UNUSED_PARAM(throwScope); |
16671 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16672 | return false; |
16673 | // Shadowing a built-in constructor. |
16674 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileError" ), strlen("FileError" )), value); |
16675 | } |
16676 | |
16677 | bool setJSDOMWindowFileErrorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16678 | { |
16679 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileErrorConstructorSetter>(*state, thisValue, encodedValue, "FileError" ); |
16680 | } |
16681 | |
16682 | static inline JSValue jsDOMWindowFileListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16683 | { |
16684 | UNUSED_PARAM(throwScope); |
16685 | UNUSED_PARAM(state); |
16686 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16687 | return jsUndefined(); |
16688 | return JSFileList::getConstructor(state.vm(), &thisObject); |
16689 | } |
16690 | |
16691 | EncodedJSValue jsDOMWindowFileListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16692 | { |
16693 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileListConstructorGetter>(*state, thisValue, "FileList" ); |
16694 | } |
16695 | |
16696 | static inline bool setJSDOMWindowFileListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16697 | { |
16698 | UNUSED_PARAM(throwScope); |
16699 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16700 | return false; |
16701 | // Shadowing a built-in constructor. |
16702 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileList" ), strlen("FileList" )), value); |
16703 | } |
16704 | |
16705 | bool setJSDOMWindowFileListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16706 | { |
16707 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileListConstructorSetter>(*state, thisValue, encodedValue, "FileList" ); |
16708 | } |
16709 | |
16710 | static inline JSValue jsDOMWindowFileReaderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16711 | { |
16712 | UNUSED_PARAM(throwScope); |
16713 | UNUSED_PARAM(state); |
16714 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16715 | return jsUndefined(); |
16716 | return JSFileReader::getConstructor(state.vm(), &thisObject); |
16717 | } |
16718 | |
16719 | EncodedJSValue jsDOMWindowFileReaderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16720 | { |
16721 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFileReaderConstructorGetter>(*state, thisValue, "FileReader" ); |
16722 | } |
16723 | |
16724 | static inline bool setJSDOMWindowFileReaderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16725 | { |
16726 | UNUSED_PARAM(throwScope); |
16727 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16728 | return false; |
16729 | // Shadowing a built-in constructor. |
16730 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FileReader" ), strlen("FileReader" )), value); |
16731 | } |
16732 | |
16733 | bool setJSDOMWindowFileReaderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16734 | { |
16735 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFileReaderConstructorSetter>(*state, thisValue, encodedValue, "FileReader" ); |
16736 | } |
16737 | |
16738 | static inline JSValue jsDOMWindowFormDataConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16739 | { |
16740 | UNUSED_PARAM(throwScope); |
16741 | UNUSED_PARAM(state); |
16742 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16743 | return jsUndefined(); |
16744 | return JSDOMFormData::getConstructor(state.vm(), &thisObject); |
16745 | } |
16746 | |
16747 | EncodedJSValue jsDOMWindowFormDataConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16748 | { |
16749 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowFormDataConstructorGetter>(*state, thisValue, "FormData" ); |
16750 | } |
16751 | |
16752 | static inline bool setJSDOMWindowFormDataConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16753 | { |
16754 | UNUSED_PARAM(throwScope); |
16755 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16756 | return false; |
16757 | // Shadowing a built-in constructor. |
16758 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("FormData" ), strlen("FormData" )), value); |
16759 | } |
16760 | |
16761 | bool setJSDOMWindowFormDataConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16762 | { |
16763 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowFormDataConstructorSetter>(*state, thisValue, encodedValue, "FormData" ); |
16764 | } |
16765 | |
16766 | static inline JSValue jsDOMWindowDOMTokenListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16767 | { |
16768 | UNUSED_PARAM(throwScope); |
16769 | UNUSED_PARAM(state); |
16770 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16771 | return jsUndefined(); |
16772 | return JSDOMTokenList::getConstructor(state.vm(), &thisObject); |
16773 | } |
16774 | |
16775 | EncodedJSValue jsDOMWindowDOMTokenListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16776 | { |
16777 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMTokenListConstructorGetter>(*state, thisValue, "DOMTokenList" ); |
16778 | } |
16779 | |
16780 | static inline bool setJSDOMWindowDOMTokenListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16781 | { |
16782 | UNUSED_PARAM(throwScope); |
16783 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16784 | return false; |
16785 | // Shadowing a built-in constructor. |
16786 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMTokenList" ), strlen("DOMTokenList" )), value); |
16787 | } |
16788 | |
16789 | bool setJSDOMWindowDOMTokenListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16790 | { |
16791 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMTokenListConstructorSetter>(*state, thisValue, encodedValue, "DOMTokenList" ); |
16792 | } |
16793 | |
16794 | static inline JSValue jsDOMWindowURLConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16795 | { |
16796 | UNUSED_PARAM(throwScope); |
16797 | UNUSED_PARAM(state); |
16798 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16799 | return jsUndefined(); |
16800 | return JSDOMURL::getConstructor(state.vm(), &thisObject); |
16801 | } |
16802 | |
16803 | EncodedJSValue jsDOMWindowURLConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16804 | { |
16805 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowURLConstructorGetter>(*state, thisValue, "URL" ); |
16806 | } |
16807 | |
16808 | static inline bool setJSDOMWindowURLConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16809 | { |
16810 | UNUSED_PARAM(throwScope); |
16811 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16812 | return false; |
16813 | // Shadowing a built-in constructor. |
16814 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("URL" ), strlen("URL" )), value); |
16815 | } |
16816 | |
16817 | bool setJSDOMWindowURLConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16818 | { |
16819 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowURLConstructorSetter>(*state, thisValue, encodedValue, "URL" ); |
16820 | } |
16821 | |
16822 | static inline JSValue jsDOMWindowWebkitURLConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16823 | { |
16824 | UNUSED_PARAM(throwScope); |
16825 | UNUSED_PARAM(state); |
16826 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16827 | return jsUndefined(); |
16828 | return JSDOMURL::getConstructor(state.vm(), &thisObject); |
16829 | } |
16830 | |
16831 | EncodedJSValue jsDOMWindowWebkitURLConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16832 | { |
16833 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebkitURLConstructorGetter>(*state, thisValue, "webkitURL" ); |
16834 | } |
16835 | |
16836 | static inline bool setJSDOMWindowWebkitURLConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16837 | { |
16838 | UNUSED_PARAM(throwScope); |
16839 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16840 | return false; |
16841 | // Shadowing a built-in constructor. |
16842 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("webkitURL" ), strlen("webkitURL" )), value); |
16843 | } |
16844 | |
16845 | bool setJSDOMWindowWebkitURLConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16846 | { |
16847 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebkitURLConstructorSetter>(*state, thisValue, encodedValue, "webkitURL" ); |
16848 | } |
16849 | |
16850 | static inline JSValue jsDOMWindowHTMLAllCollectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16851 | { |
16852 | UNUSED_PARAM(throwScope); |
16853 | UNUSED_PARAM(state); |
16854 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16855 | return jsUndefined(); |
16856 | return JSHTMLAllCollection::getConstructor(state.vm(), &thisObject); |
16857 | } |
16858 | |
16859 | EncodedJSValue jsDOMWindowHTMLAllCollectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16860 | { |
16861 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLAllCollectionConstructorGetter>(*state, thisValue, "HTMLAllCollection" ); |
16862 | } |
16863 | |
16864 | static inline bool setJSDOMWindowHTMLAllCollectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16865 | { |
16866 | UNUSED_PARAM(throwScope); |
16867 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16868 | return false; |
16869 | // Shadowing a built-in constructor. |
16870 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLAllCollection" ), strlen("HTMLAllCollection" )), value); |
16871 | } |
16872 | |
16873 | bool setJSDOMWindowHTMLAllCollectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16874 | { |
16875 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLAllCollectionConstructorSetter>(*state, thisValue, encodedValue, "HTMLAllCollection" ); |
16876 | } |
16877 | |
16878 | static inline JSValue jsDOMWindowHTMLAnchorElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16879 | { |
16880 | UNUSED_PARAM(throwScope); |
16881 | UNUSED_PARAM(state); |
16882 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16883 | return jsUndefined(); |
16884 | return JSHTMLAnchorElement::getConstructor(state.vm(), &thisObject); |
16885 | } |
16886 | |
16887 | EncodedJSValue jsDOMWindowHTMLAnchorElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16888 | { |
16889 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLAnchorElementConstructorGetter>(*state, thisValue, "HTMLAnchorElement" ); |
16890 | } |
16891 | |
16892 | static inline bool setJSDOMWindowHTMLAnchorElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16893 | { |
16894 | UNUSED_PARAM(throwScope); |
16895 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16896 | return false; |
16897 | // Shadowing a built-in constructor. |
16898 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLAnchorElement" ), strlen("HTMLAnchorElement" )), value); |
16899 | } |
16900 | |
16901 | bool setJSDOMWindowHTMLAnchorElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16902 | { |
16903 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLAnchorElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLAnchorElement" ); |
16904 | } |
16905 | |
16906 | static inline JSValue jsDOMWindowHTMLAppletElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16907 | { |
16908 | UNUSED_PARAM(throwScope); |
16909 | UNUSED_PARAM(state); |
16910 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16911 | return jsUndefined(); |
16912 | return JSHTMLAppletElement::getConstructor(state.vm(), &thisObject); |
16913 | } |
16914 | |
16915 | EncodedJSValue jsDOMWindowHTMLAppletElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16916 | { |
16917 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLAppletElementConstructorGetter>(*state, thisValue, "HTMLAppletElement" ); |
16918 | } |
16919 | |
16920 | static inline bool setJSDOMWindowHTMLAppletElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16921 | { |
16922 | UNUSED_PARAM(throwScope); |
16923 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16924 | return false; |
16925 | // Shadowing a built-in constructor. |
16926 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLAppletElement" ), strlen("HTMLAppletElement" )), value); |
16927 | } |
16928 | |
16929 | bool setJSDOMWindowHTMLAppletElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16930 | { |
16931 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLAppletElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLAppletElement" ); |
16932 | } |
16933 | |
16934 | static inline JSValue jsDOMWindowHTMLAreaElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16935 | { |
16936 | UNUSED_PARAM(throwScope); |
16937 | UNUSED_PARAM(state); |
16938 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16939 | return jsUndefined(); |
16940 | return JSHTMLAreaElement::getConstructor(state.vm(), &thisObject); |
16941 | } |
16942 | |
16943 | EncodedJSValue jsDOMWindowHTMLAreaElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16944 | { |
16945 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLAreaElementConstructorGetter>(*state, thisValue, "HTMLAreaElement" ); |
16946 | } |
16947 | |
16948 | static inline bool setJSDOMWindowHTMLAreaElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16949 | { |
16950 | UNUSED_PARAM(throwScope); |
16951 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16952 | return false; |
16953 | // Shadowing a built-in constructor. |
16954 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLAreaElement" ), strlen("HTMLAreaElement" )), value); |
16955 | } |
16956 | |
16957 | bool setJSDOMWindowHTMLAreaElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16958 | { |
16959 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLAreaElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLAreaElement" ); |
16960 | } |
16961 | |
16962 | #if ENABLE(ATTACHMENT_ELEMENT) |
16963 | static inline JSValue jsDOMWindowHTMLAttachmentElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16964 | { |
16965 | UNUSED_PARAM(throwScope); |
16966 | UNUSED_PARAM(state); |
16967 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16968 | return jsUndefined(); |
16969 | return JSHTMLAttachmentElement::getConstructor(state.vm(), &thisObject); |
16970 | } |
16971 | |
16972 | EncodedJSValue jsDOMWindowHTMLAttachmentElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
16973 | { |
16974 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLAttachmentElementConstructorGetter>(*state, thisValue, "HTMLAttachmentElement" ); |
16975 | } |
16976 | |
16977 | #endif |
16978 | |
16979 | #if ENABLE(ATTACHMENT_ELEMENT) |
16980 | static inline bool setJSDOMWindowHTMLAttachmentElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
16981 | { |
16982 | UNUSED_PARAM(throwScope); |
16983 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
16984 | return false; |
16985 | // Shadowing a built-in constructor. |
16986 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLAttachmentElement" ), strlen("HTMLAttachmentElement" )), value); |
16987 | } |
16988 | |
16989 | bool setJSDOMWindowHTMLAttachmentElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
16990 | { |
16991 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLAttachmentElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLAttachmentElement" ); |
16992 | } |
16993 | |
16994 | #endif |
16995 | |
16996 | #if ENABLE(VIDEO) |
16997 | static inline JSValue jsDOMWindowHTMLAudioElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
16998 | { |
16999 | UNUSED_PARAM(throwScope); |
17000 | UNUSED_PARAM(state); |
17001 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17002 | return jsUndefined(); |
17003 | return JSHTMLAudioElement::getConstructor(state.vm(), &thisObject); |
17004 | } |
17005 | |
17006 | EncodedJSValue jsDOMWindowHTMLAudioElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17007 | { |
17008 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLAudioElementConstructorGetter>(*state, thisValue, "HTMLAudioElement" ); |
17009 | } |
17010 | |
17011 | #endif |
17012 | |
17013 | #if ENABLE(VIDEO) |
17014 | static inline bool setJSDOMWindowHTMLAudioElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17015 | { |
17016 | UNUSED_PARAM(throwScope); |
17017 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17018 | return false; |
17019 | // Shadowing a built-in constructor. |
17020 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLAudioElement" ), strlen("HTMLAudioElement" )), value); |
17021 | } |
17022 | |
17023 | bool setJSDOMWindowHTMLAudioElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17024 | { |
17025 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLAudioElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLAudioElement" ); |
17026 | } |
17027 | |
17028 | #endif |
17029 | |
17030 | #if ENABLE(VIDEO) |
17031 | static inline JSValue jsDOMWindowAudioConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17032 | { |
17033 | UNUSED_PARAM(throwScope); |
17034 | UNUSED_PARAM(state); |
17035 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17036 | return jsUndefined(); |
17037 | return JSHTMLAudioElement::getNamedConstructor(state.vm(), &thisObject); |
17038 | } |
17039 | |
17040 | EncodedJSValue jsDOMWindowAudioConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17041 | { |
17042 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioConstructorGetter>(*state, thisValue, "Audio" ); |
17043 | } |
17044 | |
17045 | #endif |
17046 | |
17047 | #if ENABLE(VIDEO) |
17048 | static inline bool setJSDOMWindowAudioConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17049 | { |
17050 | UNUSED_PARAM(throwScope); |
17051 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17052 | return false; |
17053 | // Shadowing a built-in constructor. |
17054 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Audio" ), strlen("Audio" )), value); |
17055 | } |
17056 | |
17057 | bool setJSDOMWindowAudioConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17058 | { |
17059 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioConstructorSetter>(*state, thisValue, encodedValue, "Audio" ); |
17060 | } |
17061 | |
17062 | #endif |
17063 | |
17064 | static inline JSValue jsDOMWindowHTMLBRElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17065 | { |
17066 | UNUSED_PARAM(throwScope); |
17067 | UNUSED_PARAM(state); |
17068 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17069 | return jsUndefined(); |
17070 | return JSHTMLBRElement::getConstructor(state.vm(), &thisObject); |
17071 | } |
17072 | |
17073 | EncodedJSValue jsDOMWindowHTMLBRElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17074 | { |
17075 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLBRElementConstructorGetter>(*state, thisValue, "HTMLBRElement" ); |
17076 | } |
17077 | |
17078 | static inline bool setJSDOMWindowHTMLBRElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17079 | { |
17080 | UNUSED_PARAM(throwScope); |
17081 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17082 | return false; |
17083 | // Shadowing a built-in constructor. |
17084 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLBRElement" ), strlen("HTMLBRElement" )), value); |
17085 | } |
17086 | |
17087 | bool setJSDOMWindowHTMLBRElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17088 | { |
17089 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLBRElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLBRElement" ); |
17090 | } |
17091 | |
17092 | static inline JSValue jsDOMWindowHTMLBaseElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17093 | { |
17094 | UNUSED_PARAM(throwScope); |
17095 | UNUSED_PARAM(state); |
17096 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17097 | return jsUndefined(); |
17098 | return JSHTMLBaseElement::getConstructor(state.vm(), &thisObject); |
17099 | } |
17100 | |
17101 | EncodedJSValue jsDOMWindowHTMLBaseElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17102 | { |
17103 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLBaseElementConstructorGetter>(*state, thisValue, "HTMLBaseElement" ); |
17104 | } |
17105 | |
17106 | static inline bool setJSDOMWindowHTMLBaseElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17107 | { |
17108 | UNUSED_PARAM(throwScope); |
17109 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17110 | return false; |
17111 | // Shadowing a built-in constructor. |
17112 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLBaseElement" ), strlen("HTMLBaseElement" )), value); |
17113 | } |
17114 | |
17115 | bool setJSDOMWindowHTMLBaseElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17116 | { |
17117 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLBaseElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLBaseElement" ); |
17118 | } |
17119 | |
17120 | static inline JSValue jsDOMWindowHTMLBodyElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17121 | { |
17122 | UNUSED_PARAM(throwScope); |
17123 | UNUSED_PARAM(state); |
17124 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17125 | return jsUndefined(); |
17126 | return JSHTMLBodyElement::getConstructor(state.vm(), &thisObject); |
17127 | } |
17128 | |
17129 | EncodedJSValue jsDOMWindowHTMLBodyElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17130 | { |
17131 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLBodyElementConstructorGetter>(*state, thisValue, "HTMLBodyElement" ); |
17132 | } |
17133 | |
17134 | static inline bool setJSDOMWindowHTMLBodyElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17135 | { |
17136 | UNUSED_PARAM(throwScope); |
17137 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17138 | return false; |
17139 | // Shadowing a built-in constructor. |
17140 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLBodyElement" ), strlen("HTMLBodyElement" )), value); |
17141 | } |
17142 | |
17143 | bool setJSDOMWindowHTMLBodyElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17144 | { |
17145 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLBodyElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLBodyElement" ); |
17146 | } |
17147 | |
17148 | static inline JSValue jsDOMWindowHTMLButtonElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17149 | { |
17150 | UNUSED_PARAM(throwScope); |
17151 | UNUSED_PARAM(state); |
17152 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17153 | return jsUndefined(); |
17154 | return JSHTMLButtonElement::getConstructor(state.vm(), &thisObject); |
17155 | } |
17156 | |
17157 | EncodedJSValue jsDOMWindowHTMLButtonElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17158 | { |
17159 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLButtonElementConstructorGetter>(*state, thisValue, "HTMLButtonElement" ); |
17160 | } |
17161 | |
17162 | static inline bool setJSDOMWindowHTMLButtonElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17163 | { |
17164 | UNUSED_PARAM(throwScope); |
17165 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17166 | return false; |
17167 | // Shadowing a built-in constructor. |
17168 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLButtonElement" ), strlen("HTMLButtonElement" )), value); |
17169 | } |
17170 | |
17171 | bool setJSDOMWindowHTMLButtonElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17172 | { |
17173 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLButtonElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLButtonElement" ); |
17174 | } |
17175 | |
17176 | static inline JSValue jsDOMWindowHTMLCanvasElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17177 | { |
17178 | UNUSED_PARAM(throwScope); |
17179 | UNUSED_PARAM(state); |
17180 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17181 | return jsUndefined(); |
17182 | return JSHTMLCanvasElement::getConstructor(state.vm(), &thisObject); |
17183 | } |
17184 | |
17185 | EncodedJSValue jsDOMWindowHTMLCanvasElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17186 | { |
17187 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLCanvasElementConstructorGetter>(*state, thisValue, "HTMLCanvasElement" ); |
17188 | } |
17189 | |
17190 | static inline bool setJSDOMWindowHTMLCanvasElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17191 | { |
17192 | UNUSED_PARAM(throwScope); |
17193 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17194 | return false; |
17195 | // Shadowing a built-in constructor. |
17196 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLCanvasElement" ), strlen("HTMLCanvasElement" )), value); |
17197 | } |
17198 | |
17199 | bool setJSDOMWindowHTMLCanvasElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17200 | { |
17201 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLCanvasElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLCanvasElement" ); |
17202 | } |
17203 | |
17204 | static inline JSValue jsDOMWindowHTMLCollectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17205 | { |
17206 | UNUSED_PARAM(throwScope); |
17207 | UNUSED_PARAM(state); |
17208 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17209 | return jsUndefined(); |
17210 | return JSHTMLCollection::getConstructor(state.vm(), &thisObject); |
17211 | } |
17212 | |
17213 | EncodedJSValue jsDOMWindowHTMLCollectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17214 | { |
17215 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLCollectionConstructorGetter>(*state, thisValue, "HTMLCollection" ); |
17216 | } |
17217 | |
17218 | static inline bool setJSDOMWindowHTMLCollectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17219 | { |
17220 | UNUSED_PARAM(throwScope); |
17221 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17222 | return false; |
17223 | // Shadowing a built-in constructor. |
17224 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLCollection" ), strlen("HTMLCollection" )), value); |
17225 | } |
17226 | |
17227 | bool setJSDOMWindowHTMLCollectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17228 | { |
17229 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLCollectionConstructorSetter>(*state, thisValue, encodedValue, "HTMLCollection" ); |
17230 | } |
17231 | |
17232 | static inline JSValue jsDOMWindowHTMLDListElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17233 | { |
17234 | UNUSED_PARAM(throwScope); |
17235 | UNUSED_PARAM(state); |
17236 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17237 | return jsUndefined(); |
17238 | return JSHTMLDListElement::getConstructor(state.vm(), &thisObject); |
17239 | } |
17240 | |
17241 | EncodedJSValue jsDOMWindowHTMLDListElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17242 | { |
17243 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDListElementConstructorGetter>(*state, thisValue, "HTMLDListElement" ); |
17244 | } |
17245 | |
17246 | static inline bool setJSDOMWindowHTMLDListElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17247 | { |
17248 | UNUSED_PARAM(throwScope); |
17249 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17250 | return false; |
17251 | // Shadowing a built-in constructor. |
17252 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDListElement" ), strlen("HTMLDListElement" )), value); |
17253 | } |
17254 | |
17255 | bool setJSDOMWindowHTMLDListElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17256 | { |
17257 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDListElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLDListElement" ); |
17258 | } |
17259 | |
17260 | static inline JSValue jsDOMWindowHTMLDataElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17261 | { |
17262 | UNUSED_PARAM(throwScope); |
17263 | UNUSED_PARAM(state); |
17264 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17265 | return jsUndefined(); |
17266 | return JSHTMLDataElement::getConstructor(state.vm(), &thisObject); |
17267 | } |
17268 | |
17269 | EncodedJSValue jsDOMWindowHTMLDataElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17270 | { |
17271 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDataElementConstructorGetter>(*state, thisValue, "HTMLDataElement" ); |
17272 | } |
17273 | |
17274 | static inline bool setJSDOMWindowHTMLDataElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17275 | { |
17276 | UNUSED_PARAM(throwScope); |
17277 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17278 | return false; |
17279 | // Shadowing a built-in constructor. |
17280 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDataElement" ), strlen("HTMLDataElement" )), value); |
17281 | } |
17282 | |
17283 | bool setJSDOMWindowHTMLDataElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17284 | { |
17285 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDataElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLDataElement" ); |
17286 | } |
17287 | |
17288 | #if ENABLE(DATALIST_ELEMENT) |
17289 | static inline JSValue jsDOMWindowHTMLDataListElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17290 | { |
17291 | UNUSED_PARAM(throwScope); |
17292 | UNUSED_PARAM(state); |
17293 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17294 | return jsUndefined(); |
17295 | return JSHTMLDataListElement::getConstructor(state.vm(), &thisObject); |
17296 | } |
17297 | |
17298 | EncodedJSValue jsDOMWindowHTMLDataListElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17299 | { |
17300 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDataListElementConstructorGetter>(*state, thisValue, "HTMLDataListElement" ); |
17301 | } |
17302 | |
17303 | #endif |
17304 | |
17305 | #if ENABLE(DATALIST_ELEMENT) |
17306 | static inline bool setJSDOMWindowHTMLDataListElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17307 | { |
17308 | UNUSED_PARAM(throwScope); |
17309 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17310 | return false; |
17311 | // Shadowing a built-in constructor. |
17312 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDataListElement" ), strlen("HTMLDataListElement" )), value); |
17313 | } |
17314 | |
17315 | bool setJSDOMWindowHTMLDataListElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17316 | { |
17317 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDataListElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLDataListElement" ); |
17318 | } |
17319 | |
17320 | #endif |
17321 | |
17322 | static inline JSValue jsDOMWindowHTMLDetailsElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17323 | { |
17324 | UNUSED_PARAM(throwScope); |
17325 | UNUSED_PARAM(state); |
17326 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17327 | return jsUndefined(); |
17328 | return JSHTMLDetailsElement::getConstructor(state.vm(), &thisObject); |
17329 | } |
17330 | |
17331 | EncodedJSValue jsDOMWindowHTMLDetailsElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17332 | { |
17333 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDetailsElementConstructorGetter>(*state, thisValue, "HTMLDetailsElement" ); |
17334 | } |
17335 | |
17336 | static inline bool setJSDOMWindowHTMLDetailsElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17337 | { |
17338 | UNUSED_PARAM(throwScope); |
17339 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17340 | return false; |
17341 | // Shadowing a built-in constructor. |
17342 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDetailsElement" ), strlen("HTMLDetailsElement" )), value); |
17343 | } |
17344 | |
17345 | bool setJSDOMWindowHTMLDetailsElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17346 | { |
17347 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDetailsElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLDetailsElement" ); |
17348 | } |
17349 | |
17350 | static inline JSValue jsDOMWindowHTMLDirectoryElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17351 | { |
17352 | UNUSED_PARAM(throwScope); |
17353 | UNUSED_PARAM(state); |
17354 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17355 | return jsUndefined(); |
17356 | return JSHTMLDirectoryElement::getConstructor(state.vm(), &thisObject); |
17357 | } |
17358 | |
17359 | EncodedJSValue jsDOMWindowHTMLDirectoryElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17360 | { |
17361 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDirectoryElementConstructorGetter>(*state, thisValue, "HTMLDirectoryElement" ); |
17362 | } |
17363 | |
17364 | static inline bool setJSDOMWindowHTMLDirectoryElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17365 | { |
17366 | UNUSED_PARAM(throwScope); |
17367 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17368 | return false; |
17369 | // Shadowing a built-in constructor. |
17370 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDirectoryElement" ), strlen("HTMLDirectoryElement" )), value); |
17371 | } |
17372 | |
17373 | bool setJSDOMWindowHTMLDirectoryElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17374 | { |
17375 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDirectoryElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLDirectoryElement" ); |
17376 | } |
17377 | |
17378 | static inline JSValue jsDOMWindowHTMLDivElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17379 | { |
17380 | UNUSED_PARAM(throwScope); |
17381 | UNUSED_PARAM(state); |
17382 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17383 | return jsUndefined(); |
17384 | return JSHTMLDivElement::getConstructor(state.vm(), &thisObject); |
17385 | } |
17386 | |
17387 | EncodedJSValue jsDOMWindowHTMLDivElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17388 | { |
17389 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDivElementConstructorGetter>(*state, thisValue, "HTMLDivElement" ); |
17390 | } |
17391 | |
17392 | static inline bool setJSDOMWindowHTMLDivElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17393 | { |
17394 | UNUSED_PARAM(throwScope); |
17395 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17396 | return false; |
17397 | // Shadowing a built-in constructor. |
17398 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDivElement" ), strlen("HTMLDivElement" )), value); |
17399 | } |
17400 | |
17401 | bool setJSDOMWindowHTMLDivElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17402 | { |
17403 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDivElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLDivElement" ); |
17404 | } |
17405 | |
17406 | static inline JSValue jsDOMWindowHTMLDocumentConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17407 | { |
17408 | UNUSED_PARAM(throwScope); |
17409 | UNUSED_PARAM(state); |
17410 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17411 | return jsUndefined(); |
17412 | return JSHTMLDocument::getConstructor(state.vm(), &thisObject); |
17413 | } |
17414 | |
17415 | EncodedJSValue jsDOMWindowHTMLDocumentConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17416 | { |
17417 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLDocumentConstructorGetter>(*state, thisValue, "HTMLDocument" ); |
17418 | } |
17419 | |
17420 | static inline bool setJSDOMWindowHTMLDocumentConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17421 | { |
17422 | UNUSED_PARAM(throwScope); |
17423 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17424 | return false; |
17425 | // Shadowing a built-in constructor. |
17426 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLDocument" ), strlen("HTMLDocument" )), value); |
17427 | } |
17428 | |
17429 | bool setJSDOMWindowHTMLDocumentConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17430 | { |
17431 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLDocumentConstructorSetter>(*state, thisValue, encodedValue, "HTMLDocument" ); |
17432 | } |
17433 | |
17434 | static inline JSValue jsDOMWindowHTMLElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17435 | { |
17436 | UNUSED_PARAM(throwScope); |
17437 | UNUSED_PARAM(state); |
17438 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17439 | return jsUndefined(); |
17440 | return JSHTMLElement::getConstructor(state.vm(), &thisObject); |
17441 | } |
17442 | |
17443 | EncodedJSValue jsDOMWindowHTMLElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17444 | { |
17445 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLElementConstructorGetter>(*state, thisValue, "HTMLElement" ); |
17446 | } |
17447 | |
17448 | static inline bool setJSDOMWindowHTMLElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17449 | { |
17450 | UNUSED_PARAM(throwScope); |
17451 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17452 | return false; |
17453 | // Shadowing a built-in constructor. |
17454 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLElement" ), strlen("HTMLElement" )), value); |
17455 | } |
17456 | |
17457 | bool setJSDOMWindowHTMLElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17458 | { |
17459 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLElement" ); |
17460 | } |
17461 | |
17462 | static inline JSValue jsDOMWindowHTMLEmbedElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17463 | { |
17464 | UNUSED_PARAM(throwScope); |
17465 | UNUSED_PARAM(state); |
17466 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17467 | return jsUndefined(); |
17468 | return JSHTMLEmbedElement::getConstructor(state.vm(), &thisObject); |
17469 | } |
17470 | |
17471 | EncodedJSValue jsDOMWindowHTMLEmbedElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17472 | { |
17473 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLEmbedElementConstructorGetter>(*state, thisValue, "HTMLEmbedElement" ); |
17474 | } |
17475 | |
17476 | static inline bool setJSDOMWindowHTMLEmbedElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17477 | { |
17478 | UNUSED_PARAM(throwScope); |
17479 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17480 | return false; |
17481 | // Shadowing a built-in constructor. |
17482 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLEmbedElement" ), strlen("HTMLEmbedElement" )), value); |
17483 | } |
17484 | |
17485 | bool setJSDOMWindowHTMLEmbedElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17486 | { |
17487 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLEmbedElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLEmbedElement" ); |
17488 | } |
17489 | |
17490 | static inline JSValue jsDOMWindowHTMLFieldSetElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17491 | { |
17492 | UNUSED_PARAM(throwScope); |
17493 | UNUSED_PARAM(state); |
17494 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17495 | return jsUndefined(); |
17496 | return JSHTMLFieldSetElement::getConstructor(state.vm(), &thisObject); |
17497 | } |
17498 | |
17499 | EncodedJSValue jsDOMWindowHTMLFieldSetElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17500 | { |
17501 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLFieldSetElementConstructorGetter>(*state, thisValue, "HTMLFieldSetElement" ); |
17502 | } |
17503 | |
17504 | static inline bool setJSDOMWindowHTMLFieldSetElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17505 | { |
17506 | UNUSED_PARAM(throwScope); |
17507 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17508 | return false; |
17509 | // Shadowing a built-in constructor. |
17510 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLFieldSetElement" ), strlen("HTMLFieldSetElement" )), value); |
17511 | } |
17512 | |
17513 | bool setJSDOMWindowHTMLFieldSetElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17514 | { |
17515 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLFieldSetElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLFieldSetElement" ); |
17516 | } |
17517 | |
17518 | static inline JSValue jsDOMWindowHTMLFontElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17519 | { |
17520 | UNUSED_PARAM(throwScope); |
17521 | UNUSED_PARAM(state); |
17522 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17523 | return jsUndefined(); |
17524 | return JSHTMLFontElement::getConstructor(state.vm(), &thisObject); |
17525 | } |
17526 | |
17527 | EncodedJSValue jsDOMWindowHTMLFontElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17528 | { |
17529 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLFontElementConstructorGetter>(*state, thisValue, "HTMLFontElement" ); |
17530 | } |
17531 | |
17532 | static inline bool setJSDOMWindowHTMLFontElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17533 | { |
17534 | UNUSED_PARAM(throwScope); |
17535 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17536 | return false; |
17537 | // Shadowing a built-in constructor. |
17538 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLFontElement" ), strlen("HTMLFontElement" )), value); |
17539 | } |
17540 | |
17541 | bool setJSDOMWindowHTMLFontElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17542 | { |
17543 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLFontElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLFontElement" ); |
17544 | } |
17545 | |
17546 | static inline JSValue jsDOMWindowHTMLFormControlsCollectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17547 | { |
17548 | UNUSED_PARAM(throwScope); |
17549 | UNUSED_PARAM(state); |
17550 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17551 | return jsUndefined(); |
17552 | return JSHTMLFormControlsCollection::getConstructor(state.vm(), &thisObject); |
17553 | } |
17554 | |
17555 | EncodedJSValue jsDOMWindowHTMLFormControlsCollectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17556 | { |
17557 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLFormControlsCollectionConstructorGetter>(*state, thisValue, "HTMLFormControlsCollection" ); |
17558 | } |
17559 | |
17560 | static inline bool setJSDOMWindowHTMLFormControlsCollectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17561 | { |
17562 | UNUSED_PARAM(throwScope); |
17563 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17564 | return false; |
17565 | // Shadowing a built-in constructor. |
17566 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLFormControlsCollection" ), strlen("HTMLFormControlsCollection" )), value); |
17567 | } |
17568 | |
17569 | bool setJSDOMWindowHTMLFormControlsCollectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17570 | { |
17571 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLFormControlsCollectionConstructorSetter>(*state, thisValue, encodedValue, "HTMLFormControlsCollection" ); |
17572 | } |
17573 | |
17574 | static inline JSValue jsDOMWindowHTMLFormElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17575 | { |
17576 | UNUSED_PARAM(throwScope); |
17577 | UNUSED_PARAM(state); |
17578 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17579 | return jsUndefined(); |
17580 | return JSHTMLFormElement::getConstructor(state.vm(), &thisObject); |
17581 | } |
17582 | |
17583 | EncodedJSValue jsDOMWindowHTMLFormElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17584 | { |
17585 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLFormElementConstructorGetter>(*state, thisValue, "HTMLFormElement" ); |
17586 | } |
17587 | |
17588 | static inline bool setJSDOMWindowHTMLFormElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17589 | { |
17590 | UNUSED_PARAM(throwScope); |
17591 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17592 | return false; |
17593 | // Shadowing a built-in constructor. |
17594 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLFormElement" ), strlen("HTMLFormElement" )), value); |
17595 | } |
17596 | |
17597 | bool setJSDOMWindowHTMLFormElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17598 | { |
17599 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLFormElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLFormElement" ); |
17600 | } |
17601 | |
17602 | static inline JSValue jsDOMWindowHTMLFrameElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17603 | { |
17604 | UNUSED_PARAM(throwScope); |
17605 | UNUSED_PARAM(state); |
17606 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17607 | return jsUndefined(); |
17608 | return JSHTMLFrameElement::getConstructor(state.vm(), &thisObject); |
17609 | } |
17610 | |
17611 | EncodedJSValue jsDOMWindowHTMLFrameElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17612 | { |
17613 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLFrameElementConstructorGetter>(*state, thisValue, "HTMLFrameElement" ); |
17614 | } |
17615 | |
17616 | static inline bool setJSDOMWindowHTMLFrameElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17617 | { |
17618 | UNUSED_PARAM(throwScope); |
17619 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17620 | return false; |
17621 | // Shadowing a built-in constructor. |
17622 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLFrameElement" ), strlen("HTMLFrameElement" )), value); |
17623 | } |
17624 | |
17625 | bool setJSDOMWindowHTMLFrameElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17626 | { |
17627 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLFrameElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLFrameElement" ); |
17628 | } |
17629 | |
17630 | static inline JSValue jsDOMWindowHTMLFrameSetElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17631 | { |
17632 | UNUSED_PARAM(throwScope); |
17633 | UNUSED_PARAM(state); |
17634 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17635 | return jsUndefined(); |
17636 | return JSHTMLFrameSetElement::getConstructor(state.vm(), &thisObject); |
17637 | } |
17638 | |
17639 | EncodedJSValue jsDOMWindowHTMLFrameSetElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17640 | { |
17641 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLFrameSetElementConstructorGetter>(*state, thisValue, "HTMLFrameSetElement" ); |
17642 | } |
17643 | |
17644 | static inline bool setJSDOMWindowHTMLFrameSetElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17645 | { |
17646 | UNUSED_PARAM(throwScope); |
17647 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17648 | return false; |
17649 | // Shadowing a built-in constructor. |
17650 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLFrameSetElement" ), strlen("HTMLFrameSetElement" )), value); |
17651 | } |
17652 | |
17653 | bool setJSDOMWindowHTMLFrameSetElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17654 | { |
17655 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLFrameSetElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLFrameSetElement" ); |
17656 | } |
17657 | |
17658 | static inline JSValue jsDOMWindowHTMLHRElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17659 | { |
17660 | UNUSED_PARAM(throwScope); |
17661 | UNUSED_PARAM(state); |
17662 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17663 | return jsUndefined(); |
17664 | return JSHTMLHRElement::getConstructor(state.vm(), &thisObject); |
17665 | } |
17666 | |
17667 | EncodedJSValue jsDOMWindowHTMLHRElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17668 | { |
17669 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLHRElementConstructorGetter>(*state, thisValue, "HTMLHRElement" ); |
17670 | } |
17671 | |
17672 | static inline bool setJSDOMWindowHTMLHRElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17673 | { |
17674 | UNUSED_PARAM(throwScope); |
17675 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17676 | return false; |
17677 | // Shadowing a built-in constructor. |
17678 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLHRElement" ), strlen("HTMLHRElement" )), value); |
17679 | } |
17680 | |
17681 | bool setJSDOMWindowHTMLHRElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17682 | { |
17683 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLHRElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLHRElement" ); |
17684 | } |
17685 | |
17686 | static inline JSValue jsDOMWindowHTMLHeadElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17687 | { |
17688 | UNUSED_PARAM(throwScope); |
17689 | UNUSED_PARAM(state); |
17690 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17691 | return jsUndefined(); |
17692 | return JSHTMLHeadElement::getConstructor(state.vm(), &thisObject); |
17693 | } |
17694 | |
17695 | EncodedJSValue jsDOMWindowHTMLHeadElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17696 | { |
17697 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLHeadElementConstructorGetter>(*state, thisValue, "HTMLHeadElement" ); |
17698 | } |
17699 | |
17700 | static inline bool setJSDOMWindowHTMLHeadElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17701 | { |
17702 | UNUSED_PARAM(throwScope); |
17703 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17704 | return false; |
17705 | // Shadowing a built-in constructor. |
17706 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLHeadElement" ), strlen("HTMLHeadElement" )), value); |
17707 | } |
17708 | |
17709 | bool setJSDOMWindowHTMLHeadElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17710 | { |
17711 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLHeadElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLHeadElement" ); |
17712 | } |
17713 | |
17714 | static inline JSValue jsDOMWindowHTMLHeadingElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17715 | { |
17716 | UNUSED_PARAM(throwScope); |
17717 | UNUSED_PARAM(state); |
17718 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17719 | return jsUndefined(); |
17720 | return JSHTMLHeadingElement::getConstructor(state.vm(), &thisObject); |
17721 | } |
17722 | |
17723 | EncodedJSValue jsDOMWindowHTMLHeadingElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17724 | { |
17725 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLHeadingElementConstructorGetter>(*state, thisValue, "HTMLHeadingElement" ); |
17726 | } |
17727 | |
17728 | static inline bool setJSDOMWindowHTMLHeadingElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17729 | { |
17730 | UNUSED_PARAM(throwScope); |
17731 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17732 | return false; |
17733 | // Shadowing a built-in constructor. |
17734 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLHeadingElement" ), strlen("HTMLHeadingElement" )), value); |
17735 | } |
17736 | |
17737 | bool setJSDOMWindowHTMLHeadingElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17738 | { |
17739 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLHeadingElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLHeadingElement" ); |
17740 | } |
17741 | |
17742 | static inline JSValue jsDOMWindowHTMLHtmlElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17743 | { |
17744 | UNUSED_PARAM(throwScope); |
17745 | UNUSED_PARAM(state); |
17746 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17747 | return jsUndefined(); |
17748 | return JSHTMLHtmlElement::getConstructor(state.vm(), &thisObject); |
17749 | } |
17750 | |
17751 | EncodedJSValue jsDOMWindowHTMLHtmlElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17752 | { |
17753 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLHtmlElementConstructorGetter>(*state, thisValue, "HTMLHtmlElement" ); |
17754 | } |
17755 | |
17756 | static inline bool setJSDOMWindowHTMLHtmlElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17757 | { |
17758 | UNUSED_PARAM(throwScope); |
17759 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17760 | return false; |
17761 | // Shadowing a built-in constructor. |
17762 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLHtmlElement" ), strlen("HTMLHtmlElement" )), value); |
17763 | } |
17764 | |
17765 | bool setJSDOMWindowHTMLHtmlElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17766 | { |
17767 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLHtmlElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLHtmlElement" ); |
17768 | } |
17769 | |
17770 | static inline JSValue jsDOMWindowHTMLIFrameElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17771 | { |
17772 | UNUSED_PARAM(throwScope); |
17773 | UNUSED_PARAM(state); |
17774 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17775 | return jsUndefined(); |
17776 | return JSHTMLIFrameElement::getConstructor(state.vm(), &thisObject); |
17777 | } |
17778 | |
17779 | EncodedJSValue jsDOMWindowHTMLIFrameElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17780 | { |
17781 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLIFrameElementConstructorGetter>(*state, thisValue, "HTMLIFrameElement" ); |
17782 | } |
17783 | |
17784 | static inline bool setJSDOMWindowHTMLIFrameElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17785 | { |
17786 | UNUSED_PARAM(throwScope); |
17787 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17788 | return false; |
17789 | // Shadowing a built-in constructor. |
17790 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLIFrameElement" ), strlen("HTMLIFrameElement" )), value); |
17791 | } |
17792 | |
17793 | bool setJSDOMWindowHTMLIFrameElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17794 | { |
17795 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLIFrameElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLIFrameElement" ); |
17796 | } |
17797 | |
17798 | static inline JSValue jsDOMWindowHTMLImageElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17799 | { |
17800 | UNUSED_PARAM(throwScope); |
17801 | UNUSED_PARAM(state); |
17802 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17803 | return jsUndefined(); |
17804 | return JSHTMLImageElement::getConstructor(state.vm(), &thisObject); |
17805 | } |
17806 | |
17807 | EncodedJSValue jsDOMWindowHTMLImageElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17808 | { |
17809 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLImageElementConstructorGetter>(*state, thisValue, "HTMLImageElement" ); |
17810 | } |
17811 | |
17812 | static inline bool setJSDOMWindowHTMLImageElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17813 | { |
17814 | UNUSED_PARAM(throwScope); |
17815 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17816 | return false; |
17817 | // Shadowing a built-in constructor. |
17818 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLImageElement" ), strlen("HTMLImageElement" )), value); |
17819 | } |
17820 | |
17821 | bool setJSDOMWindowHTMLImageElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17822 | { |
17823 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLImageElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLImageElement" ); |
17824 | } |
17825 | |
17826 | static inline JSValue jsDOMWindowImageConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17827 | { |
17828 | UNUSED_PARAM(throwScope); |
17829 | UNUSED_PARAM(state); |
17830 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17831 | return jsUndefined(); |
17832 | return JSHTMLImageElement::getNamedConstructor(state.vm(), &thisObject); |
17833 | } |
17834 | |
17835 | EncodedJSValue jsDOMWindowImageConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17836 | { |
17837 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowImageConstructorGetter>(*state, thisValue, "Image" ); |
17838 | } |
17839 | |
17840 | static inline bool setJSDOMWindowImageConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17841 | { |
17842 | UNUSED_PARAM(throwScope); |
17843 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17844 | return false; |
17845 | // Shadowing a built-in constructor. |
17846 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Image" ), strlen("Image" )), value); |
17847 | } |
17848 | |
17849 | bool setJSDOMWindowImageConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17850 | { |
17851 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowImageConstructorSetter>(*state, thisValue, encodedValue, "Image" ); |
17852 | } |
17853 | |
17854 | static inline JSValue jsDOMWindowHTMLInputElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17855 | { |
17856 | UNUSED_PARAM(throwScope); |
17857 | UNUSED_PARAM(state); |
17858 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17859 | return jsUndefined(); |
17860 | return JSHTMLInputElement::getConstructor(state.vm(), &thisObject); |
17861 | } |
17862 | |
17863 | EncodedJSValue jsDOMWindowHTMLInputElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17864 | { |
17865 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLInputElementConstructorGetter>(*state, thisValue, "HTMLInputElement" ); |
17866 | } |
17867 | |
17868 | static inline bool setJSDOMWindowHTMLInputElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17869 | { |
17870 | UNUSED_PARAM(throwScope); |
17871 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17872 | return false; |
17873 | // Shadowing a built-in constructor. |
17874 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLInputElement" ), strlen("HTMLInputElement" )), value); |
17875 | } |
17876 | |
17877 | bool setJSDOMWindowHTMLInputElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17878 | { |
17879 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLInputElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLInputElement" ); |
17880 | } |
17881 | |
17882 | static inline JSValue jsDOMWindowHTMLKeygenElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17883 | { |
17884 | UNUSED_PARAM(throwScope); |
17885 | UNUSED_PARAM(state); |
17886 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17887 | return jsUndefined(); |
17888 | return JSHTMLKeygenElement::getConstructor(state.vm(), &thisObject); |
17889 | } |
17890 | |
17891 | EncodedJSValue jsDOMWindowHTMLKeygenElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17892 | { |
17893 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLKeygenElementConstructorGetter>(*state, thisValue, "HTMLKeygenElement" ); |
17894 | } |
17895 | |
17896 | static inline bool setJSDOMWindowHTMLKeygenElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17897 | { |
17898 | UNUSED_PARAM(throwScope); |
17899 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17900 | return false; |
17901 | // Shadowing a built-in constructor. |
17902 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLKeygenElement" ), strlen("HTMLKeygenElement" )), value); |
17903 | } |
17904 | |
17905 | bool setJSDOMWindowHTMLKeygenElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17906 | { |
17907 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLKeygenElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLKeygenElement" ); |
17908 | } |
17909 | |
17910 | static inline JSValue jsDOMWindowHTMLLIElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17911 | { |
17912 | UNUSED_PARAM(throwScope); |
17913 | UNUSED_PARAM(state); |
17914 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17915 | return jsUndefined(); |
17916 | return JSHTMLLIElement::getConstructor(state.vm(), &thisObject); |
17917 | } |
17918 | |
17919 | EncodedJSValue jsDOMWindowHTMLLIElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17920 | { |
17921 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLLIElementConstructorGetter>(*state, thisValue, "HTMLLIElement" ); |
17922 | } |
17923 | |
17924 | static inline bool setJSDOMWindowHTMLLIElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17925 | { |
17926 | UNUSED_PARAM(throwScope); |
17927 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17928 | return false; |
17929 | // Shadowing a built-in constructor. |
17930 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLLIElement" ), strlen("HTMLLIElement" )), value); |
17931 | } |
17932 | |
17933 | bool setJSDOMWindowHTMLLIElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17934 | { |
17935 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLLIElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLLIElement" ); |
17936 | } |
17937 | |
17938 | static inline JSValue jsDOMWindowHTMLLabelElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17939 | { |
17940 | UNUSED_PARAM(throwScope); |
17941 | UNUSED_PARAM(state); |
17942 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17943 | return jsUndefined(); |
17944 | return JSHTMLLabelElement::getConstructor(state.vm(), &thisObject); |
17945 | } |
17946 | |
17947 | EncodedJSValue jsDOMWindowHTMLLabelElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17948 | { |
17949 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLLabelElementConstructorGetter>(*state, thisValue, "HTMLLabelElement" ); |
17950 | } |
17951 | |
17952 | static inline bool setJSDOMWindowHTMLLabelElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17953 | { |
17954 | UNUSED_PARAM(throwScope); |
17955 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17956 | return false; |
17957 | // Shadowing a built-in constructor. |
17958 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLLabelElement" ), strlen("HTMLLabelElement" )), value); |
17959 | } |
17960 | |
17961 | bool setJSDOMWindowHTMLLabelElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17962 | { |
17963 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLLabelElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLLabelElement" ); |
17964 | } |
17965 | |
17966 | static inline JSValue jsDOMWindowHTMLLegendElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17967 | { |
17968 | UNUSED_PARAM(throwScope); |
17969 | UNUSED_PARAM(state); |
17970 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17971 | return jsUndefined(); |
17972 | return JSHTMLLegendElement::getConstructor(state.vm(), &thisObject); |
17973 | } |
17974 | |
17975 | EncodedJSValue jsDOMWindowHTMLLegendElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
17976 | { |
17977 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLLegendElementConstructorGetter>(*state, thisValue, "HTMLLegendElement" ); |
17978 | } |
17979 | |
17980 | static inline bool setJSDOMWindowHTMLLegendElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
17981 | { |
17982 | UNUSED_PARAM(throwScope); |
17983 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17984 | return false; |
17985 | // Shadowing a built-in constructor. |
17986 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLLegendElement" ), strlen("HTMLLegendElement" )), value); |
17987 | } |
17988 | |
17989 | bool setJSDOMWindowHTMLLegendElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
17990 | { |
17991 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLLegendElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLLegendElement" ); |
17992 | } |
17993 | |
17994 | static inline JSValue jsDOMWindowHTMLLinkElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
17995 | { |
17996 | UNUSED_PARAM(throwScope); |
17997 | UNUSED_PARAM(state); |
17998 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
17999 | return jsUndefined(); |
18000 | return JSHTMLLinkElement::getConstructor(state.vm(), &thisObject); |
18001 | } |
18002 | |
18003 | EncodedJSValue jsDOMWindowHTMLLinkElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18004 | { |
18005 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLLinkElementConstructorGetter>(*state, thisValue, "HTMLLinkElement" ); |
18006 | } |
18007 | |
18008 | static inline bool setJSDOMWindowHTMLLinkElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18009 | { |
18010 | UNUSED_PARAM(throwScope); |
18011 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18012 | return false; |
18013 | // Shadowing a built-in constructor. |
18014 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLLinkElement" ), strlen("HTMLLinkElement" )), value); |
18015 | } |
18016 | |
18017 | bool setJSDOMWindowHTMLLinkElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18018 | { |
18019 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLLinkElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLLinkElement" ); |
18020 | } |
18021 | |
18022 | static inline JSValue jsDOMWindowHTMLMapElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18023 | { |
18024 | UNUSED_PARAM(throwScope); |
18025 | UNUSED_PARAM(state); |
18026 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18027 | return jsUndefined(); |
18028 | return JSHTMLMapElement::getConstructor(state.vm(), &thisObject); |
18029 | } |
18030 | |
18031 | EncodedJSValue jsDOMWindowHTMLMapElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18032 | { |
18033 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMapElementConstructorGetter>(*state, thisValue, "HTMLMapElement" ); |
18034 | } |
18035 | |
18036 | static inline bool setJSDOMWindowHTMLMapElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18037 | { |
18038 | UNUSED_PARAM(throwScope); |
18039 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18040 | return false; |
18041 | // Shadowing a built-in constructor. |
18042 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMapElement" ), strlen("HTMLMapElement" )), value); |
18043 | } |
18044 | |
18045 | bool setJSDOMWindowHTMLMapElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18046 | { |
18047 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMapElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMapElement" ); |
18048 | } |
18049 | |
18050 | static inline JSValue jsDOMWindowHTMLMarqueeElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18051 | { |
18052 | UNUSED_PARAM(throwScope); |
18053 | UNUSED_PARAM(state); |
18054 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18055 | return jsUndefined(); |
18056 | return JSHTMLMarqueeElement::getConstructor(state.vm(), &thisObject); |
18057 | } |
18058 | |
18059 | EncodedJSValue jsDOMWindowHTMLMarqueeElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18060 | { |
18061 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMarqueeElementConstructorGetter>(*state, thisValue, "HTMLMarqueeElement" ); |
18062 | } |
18063 | |
18064 | static inline bool setJSDOMWindowHTMLMarqueeElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18065 | { |
18066 | UNUSED_PARAM(throwScope); |
18067 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18068 | return false; |
18069 | // Shadowing a built-in constructor. |
18070 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMarqueeElement" ), strlen("HTMLMarqueeElement" )), value); |
18071 | } |
18072 | |
18073 | bool setJSDOMWindowHTMLMarqueeElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18074 | { |
18075 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMarqueeElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMarqueeElement" ); |
18076 | } |
18077 | |
18078 | #if ENABLE(VIDEO) |
18079 | static inline JSValue jsDOMWindowHTMLMediaElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18080 | { |
18081 | UNUSED_PARAM(throwScope); |
18082 | UNUSED_PARAM(state); |
18083 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18084 | return jsUndefined(); |
18085 | return JSHTMLMediaElement::getConstructor(state.vm(), &thisObject); |
18086 | } |
18087 | |
18088 | EncodedJSValue jsDOMWindowHTMLMediaElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18089 | { |
18090 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMediaElementConstructorGetter>(*state, thisValue, "HTMLMediaElement" ); |
18091 | } |
18092 | |
18093 | #endif |
18094 | |
18095 | #if ENABLE(VIDEO) |
18096 | static inline bool setJSDOMWindowHTMLMediaElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18097 | { |
18098 | UNUSED_PARAM(throwScope); |
18099 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18100 | return false; |
18101 | // Shadowing a built-in constructor. |
18102 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMediaElement" ), strlen("HTMLMediaElement" )), value); |
18103 | } |
18104 | |
18105 | bool setJSDOMWindowHTMLMediaElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18106 | { |
18107 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMediaElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMediaElement" ); |
18108 | } |
18109 | |
18110 | #endif |
18111 | |
18112 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18113 | { |
18114 | UNUSED_PARAM(throwScope); |
18115 | UNUSED_PARAM(state); |
18116 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18117 | return jsUndefined(); |
18118 | return JSHTMLMenuElement::getConstructor(state.vm(), &thisObject); |
18119 | } |
18120 | |
18121 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
18122 | { |
18123 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMenuElementConstructorGetter>(*state, thisValue, "HTMLMenuElement" ); |
18124 | } |
18125 | |
18126 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18127 | { |
18128 | UNUSED_PARAM(throwScope); |
18129 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18130 | return false; |
18131 | // Shadowing a built-in constructor. |
18132 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMenuElement" ), strlen("HTMLMenuElement" )), value); |
18133 | } |
18134 | |
18135 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18136 | { |
18137 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMenuElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMenuElement" ); |
18138 | } |
18139 | |
18140 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18141 | { |
18142 | UNUSED_PARAM(throwScope); |
18143 | UNUSED_PARAM(state); |
18144 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18145 | return jsUndefined(); |
18146 | return JSHTMLMenuItemElement::getConstructor(state.vm(), &thisObject); |
18147 | } |
18148 | |
18149 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
18150 | { |
18151 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMenuItemElementConstructorGetter>(*state, thisValue, "HTMLMenuItemElement" ); |
18152 | } |
18153 | |
18154 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18155 | { |
18156 | UNUSED_PARAM(throwScope); |
18157 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18158 | return false; |
18159 | // Shadowing a built-in constructor. |
18160 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMenuItemElement" ), strlen("HTMLMenuItemElement" )), value); |
18161 | } |
18162 | |
18163 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18164 | { |
18165 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMenuItemElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMenuItemElement" ); |
18166 | } |
18167 | |
18168 | static inline JSValue jsDOMWindowHTMLMetaElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18169 | { |
18170 | UNUSED_PARAM(throwScope); |
18171 | UNUSED_PARAM(state); |
18172 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18173 | return jsUndefined(); |
18174 | return JSHTMLMetaElement::getConstructor(state.vm(), &thisObject); |
18175 | } |
18176 | |
18177 | EncodedJSValue jsDOMWindowHTMLMetaElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18178 | { |
18179 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMetaElementConstructorGetter>(*state, thisValue, "HTMLMetaElement" ); |
18180 | } |
18181 | |
18182 | static inline bool setJSDOMWindowHTMLMetaElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18183 | { |
18184 | UNUSED_PARAM(throwScope); |
18185 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18186 | return false; |
18187 | // Shadowing a built-in constructor. |
18188 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMetaElement" ), strlen("HTMLMetaElement" )), value); |
18189 | } |
18190 | |
18191 | bool setJSDOMWindowHTMLMetaElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18192 | { |
18193 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMetaElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMetaElement" ); |
18194 | } |
18195 | |
18196 | #if ENABLE(METER_ELEMENT) |
18197 | static inline JSValue jsDOMWindowHTMLMeterElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18198 | { |
18199 | UNUSED_PARAM(throwScope); |
18200 | UNUSED_PARAM(state); |
18201 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18202 | return jsUndefined(); |
18203 | return JSHTMLMeterElement::getConstructor(state.vm(), &thisObject); |
18204 | } |
18205 | |
18206 | EncodedJSValue jsDOMWindowHTMLMeterElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18207 | { |
18208 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLMeterElementConstructorGetter>(*state, thisValue, "HTMLMeterElement" ); |
18209 | } |
18210 | |
18211 | #endif |
18212 | |
18213 | #if ENABLE(METER_ELEMENT) |
18214 | static inline bool setJSDOMWindowHTMLMeterElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18215 | { |
18216 | UNUSED_PARAM(throwScope); |
18217 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18218 | return false; |
18219 | // Shadowing a built-in constructor. |
18220 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLMeterElement" ), strlen("HTMLMeterElement" )), value); |
18221 | } |
18222 | |
18223 | bool setJSDOMWindowHTMLMeterElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18224 | { |
18225 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLMeterElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLMeterElement" ); |
18226 | } |
18227 | |
18228 | #endif |
18229 | |
18230 | static inline JSValue jsDOMWindowHTMLModElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18231 | { |
18232 | UNUSED_PARAM(throwScope); |
18233 | UNUSED_PARAM(state); |
18234 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18235 | return jsUndefined(); |
18236 | return JSHTMLModElement::getConstructor(state.vm(), &thisObject); |
18237 | } |
18238 | |
18239 | EncodedJSValue jsDOMWindowHTMLModElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18240 | { |
18241 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLModElementConstructorGetter>(*state, thisValue, "HTMLModElement" ); |
18242 | } |
18243 | |
18244 | static inline bool setJSDOMWindowHTMLModElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18245 | { |
18246 | UNUSED_PARAM(throwScope); |
18247 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18248 | return false; |
18249 | // Shadowing a built-in constructor. |
18250 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLModElement" ), strlen("HTMLModElement" )), value); |
18251 | } |
18252 | |
18253 | bool setJSDOMWindowHTMLModElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18254 | { |
18255 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLModElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLModElement" ); |
18256 | } |
18257 | |
18258 | static inline JSValue jsDOMWindowHTMLOListElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18259 | { |
18260 | UNUSED_PARAM(throwScope); |
18261 | UNUSED_PARAM(state); |
18262 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18263 | return jsUndefined(); |
18264 | return JSHTMLOListElement::getConstructor(state.vm(), &thisObject); |
18265 | } |
18266 | |
18267 | EncodedJSValue jsDOMWindowHTMLOListElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18268 | { |
18269 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLOListElementConstructorGetter>(*state, thisValue, "HTMLOListElement" ); |
18270 | } |
18271 | |
18272 | static inline bool setJSDOMWindowHTMLOListElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18273 | { |
18274 | UNUSED_PARAM(throwScope); |
18275 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18276 | return false; |
18277 | // Shadowing a built-in constructor. |
18278 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLOListElement" ), strlen("HTMLOListElement" )), value); |
18279 | } |
18280 | |
18281 | bool setJSDOMWindowHTMLOListElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18282 | { |
18283 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLOListElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLOListElement" ); |
18284 | } |
18285 | |
18286 | static inline JSValue jsDOMWindowHTMLObjectElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18287 | { |
18288 | UNUSED_PARAM(throwScope); |
18289 | UNUSED_PARAM(state); |
18290 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18291 | return jsUndefined(); |
18292 | return JSHTMLObjectElement::getConstructor(state.vm(), &thisObject); |
18293 | } |
18294 | |
18295 | EncodedJSValue jsDOMWindowHTMLObjectElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18296 | { |
18297 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLObjectElementConstructorGetter>(*state, thisValue, "HTMLObjectElement" ); |
18298 | } |
18299 | |
18300 | static inline bool setJSDOMWindowHTMLObjectElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18301 | { |
18302 | UNUSED_PARAM(throwScope); |
18303 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18304 | return false; |
18305 | // Shadowing a built-in constructor. |
18306 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLObjectElement" ), strlen("HTMLObjectElement" )), value); |
18307 | } |
18308 | |
18309 | bool setJSDOMWindowHTMLObjectElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18310 | { |
18311 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLObjectElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLObjectElement" ); |
18312 | } |
18313 | |
18314 | static inline JSValue jsDOMWindowHTMLOptGroupElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18315 | { |
18316 | UNUSED_PARAM(throwScope); |
18317 | UNUSED_PARAM(state); |
18318 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18319 | return jsUndefined(); |
18320 | return JSHTMLOptGroupElement::getConstructor(state.vm(), &thisObject); |
18321 | } |
18322 | |
18323 | EncodedJSValue jsDOMWindowHTMLOptGroupElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18324 | { |
18325 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLOptGroupElementConstructorGetter>(*state, thisValue, "HTMLOptGroupElement" ); |
18326 | } |
18327 | |
18328 | static inline bool setJSDOMWindowHTMLOptGroupElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18329 | { |
18330 | UNUSED_PARAM(throwScope); |
18331 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18332 | return false; |
18333 | // Shadowing a built-in constructor. |
18334 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLOptGroupElement" ), strlen("HTMLOptGroupElement" )), value); |
18335 | } |
18336 | |
18337 | bool setJSDOMWindowHTMLOptGroupElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18338 | { |
18339 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLOptGroupElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLOptGroupElement" ); |
18340 | } |
18341 | |
18342 | static inline JSValue jsDOMWindowHTMLOptionElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18343 | { |
18344 | UNUSED_PARAM(throwScope); |
18345 | UNUSED_PARAM(state); |
18346 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18347 | return jsUndefined(); |
18348 | return JSHTMLOptionElement::getConstructor(state.vm(), &thisObject); |
18349 | } |
18350 | |
18351 | EncodedJSValue jsDOMWindowHTMLOptionElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18352 | { |
18353 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLOptionElementConstructorGetter>(*state, thisValue, "HTMLOptionElement" ); |
18354 | } |
18355 | |
18356 | static inline bool setJSDOMWindowHTMLOptionElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18357 | { |
18358 | UNUSED_PARAM(throwScope); |
18359 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18360 | return false; |
18361 | // Shadowing a built-in constructor. |
18362 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLOptionElement" ), strlen("HTMLOptionElement" )), value); |
18363 | } |
18364 | |
18365 | bool setJSDOMWindowHTMLOptionElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18366 | { |
18367 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLOptionElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLOptionElement" ); |
18368 | } |
18369 | |
18370 | static inline JSValue jsDOMWindowOptionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18371 | { |
18372 | UNUSED_PARAM(throwScope); |
18373 | UNUSED_PARAM(state); |
18374 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18375 | return jsUndefined(); |
18376 | return JSHTMLOptionElement::getNamedConstructor(state.vm(), &thisObject); |
18377 | } |
18378 | |
18379 | EncodedJSValue jsDOMWindowOptionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18380 | { |
18381 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOptionConstructorGetter>(*state, thisValue, "Option" ); |
18382 | } |
18383 | |
18384 | static inline bool setJSDOMWindowOptionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18385 | { |
18386 | UNUSED_PARAM(throwScope); |
18387 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18388 | return false; |
18389 | // Shadowing a built-in constructor. |
18390 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Option" ), strlen("Option" )), value); |
18391 | } |
18392 | |
18393 | bool setJSDOMWindowOptionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18394 | { |
18395 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOptionConstructorSetter>(*state, thisValue, encodedValue, "Option" ); |
18396 | } |
18397 | |
18398 | static inline JSValue jsDOMWindowHTMLOptionsCollectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18399 | { |
18400 | UNUSED_PARAM(throwScope); |
18401 | UNUSED_PARAM(state); |
18402 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18403 | return jsUndefined(); |
18404 | return JSHTMLOptionsCollection::getConstructor(state.vm(), &thisObject); |
18405 | } |
18406 | |
18407 | EncodedJSValue jsDOMWindowHTMLOptionsCollectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18408 | { |
18409 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLOptionsCollectionConstructorGetter>(*state, thisValue, "HTMLOptionsCollection" ); |
18410 | } |
18411 | |
18412 | static inline bool setJSDOMWindowHTMLOptionsCollectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18413 | { |
18414 | UNUSED_PARAM(throwScope); |
18415 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18416 | return false; |
18417 | // Shadowing a built-in constructor. |
18418 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLOptionsCollection" ), strlen("HTMLOptionsCollection" )), value); |
18419 | } |
18420 | |
18421 | bool setJSDOMWindowHTMLOptionsCollectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18422 | { |
18423 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLOptionsCollectionConstructorSetter>(*state, thisValue, encodedValue, "HTMLOptionsCollection" ); |
18424 | } |
18425 | |
18426 | static inline JSValue jsDOMWindowHTMLOutputElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18427 | { |
18428 | UNUSED_PARAM(throwScope); |
18429 | UNUSED_PARAM(state); |
18430 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18431 | return jsUndefined(); |
18432 | return JSHTMLOutputElement::getConstructor(state.vm(), &thisObject); |
18433 | } |
18434 | |
18435 | EncodedJSValue jsDOMWindowHTMLOutputElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18436 | { |
18437 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLOutputElementConstructorGetter>(*state, thisValue, "HTMLOutputElement" ); |
18438 | } |
18439 | |
18440 | static inline bool setJSDOMWindowHTMLOutputElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18441 | { |
18442 | UNUSED_PARAM(throwScope); |
18443 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18444 | return false; |
18445 | // Shadowing a built-in constructor. |
18446 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLOutputElement" ), strlen("HTMLOutputElement" )), value); |
18447 | } |
18448 | |
18449 | bool setJSDOMWindowHTMLOutputElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18450 | { |
18451 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLOutputElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLOutputElement" ); |
18452 | } |
18453 | |
18454 | static inline JSValue jsDOMWindowHTMLParagraphElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18455 | { |
18456 | UNUSED_PARAM(throwScope); |
18457 | UNUSED_PARAM(state); |
18458 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18459 | return jsUndefined(); |
18460 | return JSHTMLParagraphElement::getConstructor(state.vm(), &thisObject); |
18461 | } |
18462 | |
18463 | EncodedJSValue jsDOMWindowHTMLParagraphElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18464 | { |
18465 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLParagraphElementConstructorGetter>(*state, thisValue, "HTMLParagraphElement" ); |
18466 | } |
18467 | |
18468 | static inline bool setJSDOMWindowHTMLParagraphElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18469 | { |
18470 | UNUSED_PARAM(throwScope); |
18471 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18472 | return false; |
18473 | // Shadowing a built-in constructor. |
18474 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLParagraphElement" ), strlen("HTMLParagraphElement" )), value); |
18475 | } |
18476 | |
18477 | bool setJSDOMWindowHTMLParagraphElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18478 | { |
18479 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLParagraphElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLParagraphElement" ); |
18480 | } |
18481 | |
18482 | static inline JSValue jsDOMWindowHTMLParamElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18483 | { |
18484 | UNUSED_PARAM(throwScope); |
18485 | UNUSED_PARAM(state); |
18486 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18487 | return jsUndefined(); |
18488 | return JSHTMLParamElement::getConstructor(state.vm(), &thisObject); |
18489 | } |
18490 | |
18491 | EncodedJSValue jsDOMWindowHTMLParamElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18492 | { |
18493 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLParamElementConstructorGetter>(*state, thisValue, "HTMLParamElement" ); |
18494 | } |
18495 | |
18496 | static inline bool setJSDOMWindowHTMLParamElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18497 | { |
18498 | UNUSED_PARAM(throwScope); |
18499 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18500 | return false; |
18501 | // Shadowing a built-in constructor. |
18502 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLParamElement" ), strlen("HTMLParamElement" )), value); |
18503 | } |
18504 | |
18505 | bool setJSDOMWindowHTMLParamElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18506 | { |
18507 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLParamElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLParamElement" ); |
18508 | } |
18509 | |
18510 | static inline JSValue jsDOMWindowHTMLPictureElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18511 | { |
18512 | UNUSED_PARAM(throwScope); |
18513 | UNUSED_PARAM(state); |
18514 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18515 | return jsUndefined(); |
18516 | return JSHTMLPictureElement::getConstructor(state.vm(), &thisObject); |
18517 | } |
18518 | |
18519 | EncodedJSValue jsDOMWindowHTMLPictureElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18520 | { |
18521 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLPictureElementConstructorGetter>(*state, thisValue, "HTMLPictureElement" ); |
18522 | } |
18523 | |
18524 | static inline bool setJSDOMWindowHTMLPictureElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18525 | { |
18526 | UNUSED_PARAM(throwScope); |
18527 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18528 | return false; |
18529 | // Shadowing a built-in constructor. |
18530 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLPictureElement" ), strlen("HTMLPictureElement" )), value); |
18531 | } |
18532 | |
18533 | bool setJSDOMWindowHTMLPictureElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18534 | { |
18535 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLPictureElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLPictureElement" ); |
18536 | } |
18537 | |
18538 | static inline JSValue jsDOMWindowHTMLPreElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18539 | { |
18540 | UNUSED_PARAM(throwScope); |
18541 | UNUSED_PARAM(state); |
18542 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18543 | return jsUndefined(); |
18544 | return JSHTMLPreElement::getConstructor(state.vm(), &thisObject); |
18545 | } |
18546 | |
18547 | EncodedJSValue jsDOMWindowHTMLPreElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18548 | { |
18549 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLPreElementConstructorGetter>(*state, thisValue, "HTMLPreElement" ); |
18550 | } |
18551 | |
18552 | static inline bool setJSDOMWindowHTMLPreElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18553 | { |
18554 | UNUSED_PARAM(throwScope); |
18555 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18556 | return false; |
18557 | // Shadowing a built-in constructor. |
18558 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLPreElement" ), strlen("HTMLPreElement" )), value); |
18559 | } |
18560 | |
18561 | bool setJSDOMWindowHTMLPreElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18562 | { |
18563 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLPreElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLPreElement" ); |
18564 | } |
18565 | |
18566 | static inline JSValue jsDOMWindowHTMLProgressElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18567 | { |
18568 | UNUSED_PARAM(throwScope); |
18569 | UNUSED_PARAM(state); |
18570 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18571 | return jsUndefined(); |
18572 | return JSHTMLProgressElement::getConstructor(state.vm(), &thisObject); |
18573 | } |
18574 | |
18575 | EncodedJSValue jsDOMWindowHTMLProgressElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18576 | { |
18577 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLProgressElementConstructorGetter>(*state, thisValue, "HTMLProgressElement" ); |
18578 | } |
18579 | |
18580 | static inline bool setJSDOMWindowHTMLProgressElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18581 | { |
18582 | UNUSED_PARAM(throwScope); |
18583 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18584 | return false; |
18585 | // Shadowing a built-in constructor. |
18586 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLProgressElement" ), strlen("HTMLProgressElement" )), value); |
18587 | } |
18588 | |
18589 | bool setJSDOMWindowHTMLProgressElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18590 | { |
18591 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLProgressElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLProgressElement" ); |
18592 | } |
18593 | |
18594 | static inline JSValue jsDOMWindowHTMLQuoteElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18595 | { |
18596 | UNUSED_PARAM(throwScope); |
18597 | UNUSED_PARAM(state); |
18598 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18599 | return jsUndefined(); |
18600 | return JSHTMLQuoteElement::getConstructor(state.vm(), &thisObject); |
18601 | } |
18602 | |
18603 | EncodedJSValue jsDOMWindowHTMLQuoteElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18604 | { |
18605 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLQuoteElementConstructorGetter>(*state, thisValue, "HTMLQuoteElement" ); |
18606 | } |
18607 | |
18608 | static inline bool setJSDOMWindowHTMLQuoteElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18609 | { |
18610 | UNUSED_PARAM(throwScope); |
18611 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18612 | return false; |
18613 | // Shadowing a built-in constructor. |
18614 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLQuoteElement" ), strlen("HTMLQuoteElement" )), value); |
18615 | } |
18616 | |
18617 | bool setJSDOMWindowHTMLQuoteElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18618 | { |
18619 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLQuoteElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLQuoteElement" ); |
18620 | } |
18621 | |
18622 | static inline JSValue jsDOMWindowHTMLScriptElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18623 | { |
18624 | UNUSED_PARAM(throwScope); |
18625 | UNUSED_PARAM(state); |
18626 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18627 | return jsUndefined(); |
18628 | return JSHTMLScriptElement::getConstructor(state.vm(), &thisObject); |
18629 | } |
18630 | |
18631 | EncodedJSValue jsDOMWindowHTMLScriptElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18632 | { |
18633 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLScriptElementConstructorGetter>(*state, thisValue, "HTMLScriptElement" ); |
18634 | } |
18635 | |
18636 | static inline bool setJSDOMWindowHTMLScriptElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18637 | { |
18638 | UNUSED_PARAM(throwScope); |
18639 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18640 | return false; |
18641 | // Shadowing a built-in constructor. |
18642 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLScriptElement" ), strlen("HTMLScriptElement" )), value); |
18643 | } |
18644 | |
18645 | bool setJSDOMWindowHTMLScriptElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18646 | { |
18647 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLScriptElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLScriptElement" ); |
18648 | } |
18649 | |
18650 | static inline JSValue jsDOMWindowHTMLSelectElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18651 | { |
18652 | UNUSED_PARAM(throwScope); |
18653 | UNUSED_PARAM(state); |
18654 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18655 | return jsUndefined(); |
18656 | return JSHTMLSelectElement::getConstructor(state.vm(), &thisObject); |
18657 | } |
18658 | |
18659 | EncodedJSValue jsDOMWindowHTMLSelectElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18660 | { |
18661 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLSelectElementConstructorGetter>(*state, thisValue, "HTMLSelectElement" ); |
18662 | } |
18663 | |
18664 | static inline bool setJSDOMWindowHTMLSelectElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18665 | { |
18666 | UNUSED_PARAM(throwScope); |
18667 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18668 | return false; |
18669 | // Shadowing a built-in constructor. |
18670 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLSelectElement" ), strlen("HTMLSelectElement" )), value); |
18671 | } |
18672 | |
18673 | bool setJSDOMWindowHTMLSelectElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18674 | { |
18675 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLSelectElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLSelectElement" ); |
18676 | } |
18677 | |
18678 | static inline JSValue jsDOMWindowHTMLSlotElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18679 | { |
18680 | UNUSED_PARAM(throwScope); |
18681 | UNUSED_PARAM(state); |
18682 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18683 | return jsUndefined(); |
18684 | return JSHTMLSlotElement::getConstructor(state.vm(), &thisObject); |
18685 | } |
18686 | |
18687 | EncodedJSValue jsDOMWindowHTMLSlotElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18688 | { |
18689 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLSlotElementConstructorGetter>(*state, thisValue, "HTMLSlotElement" ); |
18690 | } |
18691 | |
18692 | static inline bool setJSDOMWindowHTMLSlotElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18693 | { |
18694 | UNUSED_PARAM(throwScope); |
18695 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18696 | return false; |
18697 | // Shadowing a built-in constructor. |
18698 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLSlotElement" ), strlen("HTMLSlotElement" )), value); |
18699 | } |
18700 | |
18701 | bool setJSDOMWindowHTMLSlotElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18702 | { |
18703 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLSlotElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLSlotElement" ); |
18704 | } |
18705 | |
18706 | static inline JSValue jsDOMWindowHTMLSourceElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18707 | { |
18708 | UNUSED_PARAM(throwScope); |
18709 | UNUSED_PARAM(state); |
18710 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18711 | return jsUndefined(); |
18712 | return JSHTMLSourceElement::getConstructor(state.vm(), &thisObject); |
18713 | } |
18714 | |
18715 | EncodedJSValue jsDOMWindowHTMLSourceElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18716 | { |
18717 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLSourceElementConstructorGetter>(*state, thisValue, "HTMLSourceElement" ); |
18718 | } |
18719 | |
18720 | static inline bool setJSDOMWindowHTMLSourceElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18721 | { |
18722 | UNUSED_PARAM(throwScope); |
18723 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18724 | return false; |
18725 | // Shadowing a built-in constructor. |
18726 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLSourceElement" ), strlen("HTMLSourceElement" )), value); |
18727 | } |
18728 | |
18729 | bool setJSDOMWindowHTMLSourceElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18730 | { |
18731 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLSourceElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLSourceElement" ); |
18732 | } |
18733 | |
18734 | static inline JSValue jsDOMWindowHTMLSpanElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18735 | { |
18736 | UNUSED_PARAM(throwScope); |
18737 | UNUSED_PARAM(state); |
18738 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18739 | return jsUndefined(); |
18740 | return JSHTMLSpanElement::getConstructor(state.vm(), &thisObject); |
18741 | } |
18742 | |
18743 | EncodedJSValue jsDOMWindowHTMLSpanElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18744 | { |
18745 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLSpanElementConstructorGetter>(*state, thisValue, "HTMLSpanElement" ); |
18746 | } |
18747 | |
18748 | static inline bool setJSDOMWindowHTMLSpanElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18749 | { |
18750 | UNUSED_PARAM(throwScope); |
18751 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18752 | return false; |
18753 | // Shadowing a built-in constructor. |
18754 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLSpanElement" ), strlen("HTMLSpanElement" )), value); |
18755 | } |
18756 | |
18757 | bool setJSDOMWindowHTMLSpanElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18758 | { |
18759 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLSpanElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLSpanElement" ); |
18760 | } |
18761 | |
18762 | static inline JSValue jsDOMWindowHTMLStyleElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18763 | { |
18764 | UNUSED_PARAM(throwScope); |
18765 | UNUSED_PARAM(state); |
18766 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18767 | return jsUndefined(); |
18768 | return JSHTMLStyleElement::getConstructor(state.vm(), &thisObject); |
18769 | } |
18770 | |
18771 | EncodedJSValue jsDOMWindowHTMLStyleElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18772 | { |
18773 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLStyleElementConstructorGetter>(*state, thisValue, "HTMLStyleElement" ); |
18774 | } |
18775 | |
18776 | static inline bool setJSDOMWindowHTMLStyleElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18777 | { |
18778 | UNUSED_PARAM(throwScope); |
18779 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18780 | return false; |
18781 | // Shadowing a built-in constructor. |
18782 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLStyleElement" ), strlen("HTMLStyleElement" )), value); |
18783 | } |
18784 | |
18785 | bool setJSDOMWindowHTMLStyleElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18786 | { |
18787 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLStyleElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLStyleElement" ); |
18788 | } |
18789 | |
18790 | static inline JSValue jsDOMWindowHTMLTableCaptionElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18791 | { |
18792 | UNUSED_PARAM(throwScope); |
18793 | UNUSED_PARAM(state); |
18794 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18795 | return jsUndefined(); |
18796 | return JSHTMLTableCaptionElement::getConstructor(state.vm(), &thisObject); |
18797 | } |
18798 | |
18799 | EncodedJSValue jsDOMWindowHTMLTableCaptionElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18800 | { |
18801 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTableCaptionElementConstructorGetter>(*state, thisValue, "HTMLTableCaptionElement" ); |
18802 | } |
18803 | |
18804 | static inline bool setJSDOMWindowHTMLTableCaptionElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18805 | { |
18806 | UNUSED_PARAM(throwScope); |
18807 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18808 | return false; |
18809 | // Shadowing a built-in constructor. |
18810 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTableCaptionElement" ), strlen("HTMLTableCaptionElement" )), value); |
18811 | } |
18812 | |
18813 | bool setJSDOMWindowHTMLTableCaptionElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18814 | { |
18815 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTableCaptionElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTableCaptionElement" ); |
18816 | } |
18817 | |
18818 | static inline JSValue jsDOMWindowHTMLTableCellElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18819 | { |
18820 | UNUSED_PARAM(throwScope); |
18821 | UNUSED_PARAM(state); |
18822 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18823 | return jsUndefined(); |
18824 | return JSHTMLTableCellElement::getConstructor(state.vm(), &thisObject); |
18825 | } |
18826 | |
18827 | EncodedJSValue jsDOMWindowHTMLTableCellElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18828 | { |
18829 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTableCellElementConstructorGetter>(*state, thisValue, "HTMLTableCellElement" ); |
18830 | } |
18831 | |
18832 | static inline bool setJSDOMWindowHTMLTableCellElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18833 | { |
18834 | UNUSED_PARAM(throwScope); |
18835 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18836 | return false; |
18837 | // Shadowing a built-in constructor. |
18838 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTableCellElement" ), strlen("HTMLTableCellElement" )), value); |
18839 | } |
18840 | |
18841 | bool setJSDOMWindowHTMLTableCellElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18842 | { |
18843 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTableCellElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTableCellElement" ); |
18844 | } |
18845 | |
18846 | static inline JSValue jsDOMWindowHTMLTableColElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18847 | { |
18848 | UNUSED_PARAM(throwScope); |
18849 | UNUSED_PARAM(state); |
18850 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18851 | return jsUndefined(); |
18852 | return JSHTMLTableColElement::getConstructor(state.vm(), &thisObject); |
18853 | } |
18854 | |
18855 | EncodedJSValue jsDOMWindowHTMLTableColElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18856 | { |
18857 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTableColElementConstructorGetter>(*state, thisValue, "HTMLTableColElement" ); |
18858 | } |
18859 | |
18860 | static inline bool setJSDOMWindowHTMLTableColElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18861 | { |
18862 | UNUSED_PARAM(throwScope); |
18863 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18864 | return false; |
18865 | // Shadowing a built-in constructor. |
18866 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTableColElement" ), strlen("HTMLTableColElement" )), value); |
18867 | } |
18868 | |
18869 | bool setJSDOMWindowHTMLTableColElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18870 | { |
18871 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTableColElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTableColElement" ); |
18872 | } |
18873 | |
18874 | static inline JSValue jsDOMWindowHTMLTableElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18875 | { |
18876 | UNUSED_PARAM(throwScope); |
18877 | UNUSED_PARAM(state); |
18878 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18879 | return jsUndefined(); |
18880 | return JSHTMLTableElement::getConstructor(state.vm(), &thisObject); |
18881 | } |
18882 | |
18883 | EncodedJSValue jsDOMWindowHTMLTableElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18884 | { |
18885 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTableElementConstructorGetter>(*state, thisValue, "HTMLTableElement" ); |
18886 | } |
18887 | |
18888 | static inline bool setJSDOMWindowHTMLTableElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18889 | { |
18890 | UNUSED_PARAM(throwScope); |
18891 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18892 | return false; |
18893 | // Shadowing a built-in constructor. |
18894 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTableElement" ), strlen("HTMLTableElement" )), value); |
18895 | } |
18896 | |
18897 | bool setJSDOMWindowHTMLTableElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18898 | { |
18899 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTableElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTableElement" ); |
18900 | } |
18901 | |
18902 | static inline JSValue jsDOMWindowHTMLTableRowElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18903 | { |
18904 | UNUSED_PARAM(throwScope); |
18905 | UNUSED_PARAM(state); |
18906 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18907 | return jsUndefined(); |
18908 | return JSHTMLTableRowElement::getConstructor(state.vm(), &thisObject); |
18909 | } |
18910 | |
18911 | EncodedJSValue jsDOMWindowHTMLTableRowElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18912 | { |
18913 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTableRowElementConstructorGetter>(*state, thisValue, "HTMLTableRowElement" ); |
18914 | } |
18915 | |
18916 | static inline bool setJSDOMWindowHTMLTableRowElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18917 | { |
18918 | UNUSED_PARAM(throwScope); |
18919 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18920 | return false; |
18921 | // Shadowing a built-in constructor. |
18922 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTableRowElement" ), strlen("HTMLTableRowElement" )), value); |
18923 | } |
18924 | |
18925 | bool setJSDOMWindowHTMLTableRowElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18926 | { |
18927 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTableRowElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTableRowElement" ); |
18928 | } |
18929 | |
18930 | static inline JSValue jsDOMWindowHTMLTableSectionElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18931 | { |
18932 | UNUSED_PARAM(throwScope); |
18933 | UNUSED_PARAM(state); |
18934 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18935 | return jsUndefined(); |
18936 | return JSHTMLTableSectionElement::getConstructor(state.vm(), &thisObject); |
18937 | } |
18938 | |
18939 | EncodedJSValue jsDOMWindowHTMLTableSectionElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18940 | { |
18941 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTableSectionElementConstructorGetter>(*state, thisValue, "HTMLTableSectionElement" ); |
18942 | } |
18943 | |
18944 | static inline bool setJSDOMWindowHTMLTableSectionElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18945 | { |
18946 | UNUSED_PARAM(throwScope); |
18947 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18948 | return false; |
18949 | // Shadowing a built-in constructor. |
18950 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTableSectionElement" ), strlen("HTMLTableSectionElement" )), value); |
18951 | } |
18952 | |
18953 | bool setJSDOMWindowHTMLTableSectionElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18954 | { |
18955 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTableSectionElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTableSectionElement" ); |
18956 | } |
18957 | |
18958 | static inline JSValue jsDOMWindowHTMLTemplateElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18959 | { |
18960 | UNUSED_PARAM(throwScope); |
18961 | UNUSED_PARAM(state); |
18962 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18963 | return jsUndefined(); |
18964 | return JSHTMLTemplateElement::getConstructor(state.vm(), &thisObject); |
18965 | } |
18966 | |
18967 | EncodedJSValue jsDOMWindowHTMLTemplateElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18968 | { |
18969 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTemplateElementConstructorGetter>(*state, thisValue, "HTMLTemplateElement" ); |
18970 | } |
18971 | |
18972 | static inline bool setJSDOMWindowHTMLTemplateElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
18973 | { |
18974 | UNUSED_PARAM(throwScope); |
18975 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18976 | return false; |
18977 | // Shadowing a built-in constructor. |
18978 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTemplateElement" ), strlen("HTMLTemplateElement" )), value); |
18979 | } |
18980 | |
18981 | bool setJSDOMWindowHTMLTemplateElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
18982 | { |
18983 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTemplateElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTemplateElement" ); |
18984 | } |
18985 | |
18986 | static inline JSValue jsDOMWindowHTMLTextAreaElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
18987 | { |
18988 | UNUSED_PARAM(throwScope); |
18989 | UNUSED_PARAM(state); |
18990 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
18991 | return jsUndefined(); |
18992 | return JSHTMLTextAreaElement::getConstructor(state.vm(), &thisObject); |
18993 | } |
18994 | |
18995 | EncodedJSValue jsDOMWindowHTMLTextAreaElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
18996 | { |
18997 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTextAreaElementConstructorGetter>(*state, thisValue, "HTMLTextAreaElement" ); |
18998 | } |
18999 | |
19000 | static inline bool setJSDOMWindowHTMLTextAreaElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19001 | { |
19002 | UNUSED_PARAM(throwScope); |
19003 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19004 | return false; |
19005 | // Shadowing a built-in constructor. |
19006 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTextAreaElement" ), strlen("HTMLTextAreaElement" )), value); |
19007 | } |
19008 | |
19009 | bool setJSDOMWindowHTMLTextAreaElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19010 | { |
19011 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTextAreaElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTextAreaElement" ); |
19012 | } |
19013 | |
19014 | static inline JSValue jsDOMWindowHTMLTimeElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19015 | { |
19016 | UNUSED_PARAM(throwScope); |
19017 | UNUSED_PARAM(state); |
19018 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19019 | return jsUndefined(); |
19020 | return JSHTMLTimeElement::getConstructor(state.vm(), &thisObject); |
19021 | } |
19022 | |
19023 | EncodedJSValue jsDOMWindowHTMLTimeElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19024 | { |
19025 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTimeElementConstructorGetter>(*state, thisValue, "HTMLTimeElement" ); |
19026 | } |
19027 | |
19028 | static inline bool setJSDOMWindowHTMLTimeElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19029 | { |
19030 | UNUSED_PARAM(throwScope); |
19031 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19032 | return false; |
19033 | // Shadowing a built-in constructor. |
19034 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTimeElement" ), strlen("HTMLTimeElement" )), value); |
19035 | } |
19036 | |
19037 | bool setJSDOMWindowHTMLTimeElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19038 | { |
19039 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTimeElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTimeElement" ); |
19040 | } |
19041 | |
19042 | static inline JSValue jsDOMWindowHTMLTitleElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19043 | { |
19044 | UNUSED_PARAM(throwScope); |
19045 | UNUSED_PARAM(state); |
19046 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19047 | return jsUndefined(); |
19048 | return JSHTMLTitleElement::getConstructor(state.vm(), &thisObject); |
19049 | } |
19050 | |
19051 | EncodedJSValue jsDOMWindowHTMLTitleElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19052 | { |
19053 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTitleElementConstructorGetter>(*state, thisValue, "HTMLTitleElement" ); |
19054 | } |
19055 | |
19056 | static inline bool setJSDOMWindowHTMLTitleElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19057 | { |
19058 | UNUSED_PARAM(throwScope); |
19059 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19060 | return false; |
19061 | // Shadowing a built-in constructor. |
19062 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTitleElement" ), strlen("HTMLTitleElement" )), value); |
19063 | } |
19064 | |
19065 | bool setJSDOMWindowHTMLTitleElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19066 | { |
19067 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTitleElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTitleElement" ); |
19068 | } |
19069 | |
19070 | #if ENABLE(VIDEO_TRACK) |
19071 | static inline JSValue jsDOMWindowHTMLTrackElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19072 | { |
19073 | UNUSED_PARAM(throwScope); |
19074 | UNUSED_PARAM(state); |
19075 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19076 | return jsUndefined(); |
19077 | return JSHTMLTrackElement::getConstructor(state.vm(), &thisObject); |
19078 | } |
19079 | |
19080 | EncodedJSValue jsDOMWindowHTMLTrackElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19081 | { |
19082 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLTrackElementConstructorGetter>(*state, thisValue, "HTMLTrackElement" ); |
19083 | } |
19084 | |
19085 | #endif |
19086 | |
19087 | #if ENABLE(VIDEO_TRACK) |
19088 | static inline bool setJSDOMWindowHTMLTrackElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19089 | { |
19090 | UNUSED_PARAM(throwScope); |
19091 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19092 | return false; |
19093 | // Shadowing a built-in constructor. |
19094 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLTrackElement" ), strlen("HTMLTrackElement" )), value); |
19095 | } |
19096 | |
19097 | bool setJSDOMWindowHTMLTrackElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19098 | { |
19099 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLTrackElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLTrackElement" ); |
19100 | } |
19101 | |
19102 | #endif |
19103 | |
19104 | static inline JSValue jsDOMWindowHTMLUListElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19105 | { |
19106 | UNUSED_PARAM(throwScope); |
19107 | UNUSED_PARAM(state); |
19108 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19109 | return jsUndefined(); |
19110 | return JSHTMLUListElement::getConstructor(state.vm(), &thisObject); |
19111 | } |
19112 | |
19113 | EncodedJSValue jsDOMWindowHTMLUListElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19114 | { |
19115 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLUListElementConstructorGetter>(*state, thisValue, "HTMLUListElement" ); |
19116 | } |
19117 | |
19118 | static inline bool setJSDOMWindowHTMLUListElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19119 | { |
19120 | UNUSED_PARAM(throwScope); |
19121 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19122 | return false; |
19123 | // Shadowing a built-in constructor. |
19124 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLUListElement" ), strlen("HTMLUListElement" )), value); |
19125 | } |
19126 | |
19127 | bool setJSDOMWindowHTMLUListElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19128 | { |
19129 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLUListElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLUListElement" ); |
19130 | } |
19131 | |
19132 | static inline JSValue jsDOMWindowHTMLUnknownElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19133 | { |
19134 | UNUSED_PARAM(throwScope); |
19135 | UNUSED_PARAM(state); |
19136 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19137 | return jsUndefined(); |
19138 | return JSHTMLUnknownElement::getConstructor(state.vm(), &thisObject); |
19139 | } |
19140 | |
19141 | EncodedJSValue jsDOMWindowHTMLUnknownElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19142 | { |
19143 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLUnknownElementConstructorGetter>(*state, thisValue, "HTMLUnknownElement" ); |
19144 | } |
19145 | |
19146 | static inline bool setJSDOMWindowHTMLUnknownElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19147 | { |
19148 | UNUSED_PARAM(throwScope); |
19149 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19150 | return false; |
19151 | // Shadowing a built-in constructor. |
19152 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLUnknownElement" ), strlen("HTMLUnknownElement" )), value); |
19153 | } |
19154 | |
19155 | bool setJSDOMWindowHTMLUnknownElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19156 | { |
19157 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLUnknownElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLUnknownElement" ); |
19158 | } |
19159 | |
19160 | #if ENABLE(VIDEO) |
19161 | static inline JSValue jsDOMWindowHTMLVideoElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19162 | { |
19163 | UNUSED_PARAM(throwScope); |
19164 | UNUSED_PARAM(state); |
19165 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19166 | return jsUndefined(); |
19167 | return JSHTMLVideoElement::getConstructor(state.vm(), &thisObject); |
19168 | } |
19169 | |
19170 | EncodedJSValue jsDOMWindowHTMLVideoElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19171 | { |
19172 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHTMLVideoElementConstructorGetter>(*state, thisValue, "HTMLVideoElement" ); |
19173 | } |
19174 | |
19175 | #endif |
19176 | |
19177 | #if ENABLE(VIDEO) |
19178 | static inline bool setJSDOMWindowHTMLVideoElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19179 | { |
19180 | UNUSED_PARAM(throwScope); |
19181 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19182 | return false; |
19183 | // Shadowing a built-in constructor. |
19184 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("HTMLVideoElement" ), strlen("HTMLVideoElement" )), value); |
19185 | } |
19186 | |
19187 | bool setJSDOMWindowHTMLVideoElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19188 | { |
19189 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHTMLVideoElementConstructorSetter>(*state, thisValue, encodedValue, "HTMLVideoElement" ); |
19190 | } |
19191 | |
19192 | #endif |
19193 | |
19194 | static inline JSValue jsDOMWindowImageBitmapConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19195 | { |
19196 | UNUSED_PARAM(throwScope); |
19197 | UNUSED_PARAM(state); |
19198 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19199 | return jsUndefined(); |
19200 | return JSImageBitmap::getConstructor(state.vm(), &thisObject); |
19201 | } |
19202 | |
19203 | EncodedJSValue jsDOMWindowImageBitmapConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19204 | { |
19205 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowImageBitmapConstructorGetter>(*state, thisValue, "ImageBitmap" ); |
19206 | } |
19207 | |
19208 | static inline bool setJSDOMWindowImageBitmapConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19209 | { |
19210 | UNUSED_PARAM(throwScope); |
19211 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19212 | return false; |
19213 | // Shadowing a built-in constructor. |
19214 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ImageBitmap" ), strlen("ImageBitmap" )), value); |
19215 | } |
19216 | |
19217 | bool setJSDOMWindowImageBitmapConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19218 | { |
19219 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowImageBitmapConstructorSetter>(*state, thisValue, encodedValue, "ImageBitmap" ); |
19220 | } |
19221 | |
19222 | static inline JSValue jsDOMWindowImageDataConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19223 | { |
19224 | UNUSED_PARAM(throwScope); |
19225 | UNUSED_PARAM(state); |
19226 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19227 | return jsUndefined(); |
19228 | return JSImageData::getConstructor(state.vm(), &thisObject); |
19229 | } |
19230 | |
19231 | EncodedJSValue jsDOMWindowImageDataConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19232 | { |
19233 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowImageDataConstructorGetter>(*state, thisValue, "ImageData" ); |
19234 | } |
19235 | |
19236 | static inline bool setJSDOMWindowImageDataConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19237 | { |
19238 | UNUSED_PARAM(throwScope); |
19239 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19240 | return false; |
19241 | // Shadowing a built-in constructor. |
19242 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ImageData" ), strlen("ImageData" )), value); |
19243 | } |
19244 | |
19245 | bool setJSDOMWindowImageDataConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19246 | { |
19247 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowImageDataConstructorSetter>(*state, thisValue, encodedValue, "ImageData" ); |
19248 | } |
19249 | |
19250 | #if ENABLE(VIDEO) |
19251 | static inline JSValue jsDOMWindowMediaControllerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19252 | { |
19253 | UNUSED_PARAM(throwScope); |
19254 | UNUSED_PARAM(state); |
19255 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19256 | return jsUndefined(); |
19257 | return JSMediaController::getConstructor(state.vm(), &thisObject); |
19258 | } |
19259 | |
19260 | EncodedJSValue jsDOMWindowMediaControllerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19261 | { |
19262 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaControllerConstructorGetter>(*state, thisValue, "MediaController" ); |
19263 | } |
19264 | |
19265 | #endif |
19266 | |
19267 | #if ENABLE(VIDEO) |
19268 | static inline bool setJSDOMWindowMediaControllerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19269 | { |
19270 | UNUSED_PARAM(throwScope); |
19271 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19272 | return false; |
19273 | // Shadowing a built-in constructor. |
19274 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaController" ), strlen("MediaController" )), value); |
19275 | } |
19276 | |
19277 | bool setJSDOMWindowMediaControllerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19278 | { |
19279 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaControllerConstructorSetter>(*state, thisValue, encodedValue, "MediaController" ); |
19280 | } |
19281 | |
19282 | #endif |
19283 | |
19284 | #if ENABLE(VIDEO) |
19285 | static inline JSValue jsDOMWindowMediaErrorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19286 | { |
19287 | UNUSED_PARAM(throwScope); |
19288 | UNUSED_PARAM(state); |
19289 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19290 | return jsUndefined(); |
19291 | return JSMediaError::getConstructor(state.vm(), &thisObject); |
19292 | } |
19293 | |
19294 | EncodedJSValue jsDOMWindowMediaErrorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19295 | { |
19296 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMediaErrorConstructorGetter>(*state, thisValue, "MediaError" ); |
19297 | } |
19298 | |
19299 | #endif |
19300 | |
19301 | #if ENABLE(VIDEO) |
19302 | static inline bool setJSDOMWindowMediaErrorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19303 | { |
19304 | UNUSED_PARAM(throwScope); |
19305 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19306 | return false; |
19307 | // Shadowing a built-in constructor. |
19308 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MediaError" ), strlen("MediaError" )), value); |
19309 | } |
19310 | |
19311 | bool setJSDOMWindowMediaErrorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19312 | { |
19313 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMediaErrorConstructorSetter>(*state, thisValue, encodedValue, "MediaError" ); |
19314 | } |
19315 | |
19316 | #endif |
19317 | |
19318 | static inline JSValue jsDOMWindowOffscreenCanvasConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19319 | { |
19320 | UNUSED_PARAM(throwScope); |
19321 | UNUSED_PARAM(state); |
19322 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19323 | return jsUndefined(); |
19324 | return JSOffscreenCanvas::getConstructor(state.vm(), &thisObject); |
19325 | } |
19326 | |
19327 | EncodedJSValue jsDOMWindowOffscreenCanvasConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19328 | { |
19329 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOffscreenCanvasConstructorGetter>(*state, thisValue, "OffscreenCanvas" ); |
19330 | } |
19331 | |
19332 | static inline bool setJSDOMWindowOffscreenCanvasConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19333 | { |
19334 | UNUSED_PARAM(throwScope); |
19335 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19336 | return false; |
19337 | // Shadowing a built-in constructor. |
19338 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OffscreenCanvas" ), strlen("OffscreenCanvas" )), value); |
19339 | } |
19340 | |
19341 | bool setJSDOMWindowOffscreenCanvasConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19342 | { |
19343 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOffscreenCanvasConstructorSetter>(*state, thisValue, encodedValue, "OffscreenCanvas" ); |
19344 | } |
19345 | |
19346 | static inline JSValue jsDOMWindowRadioNodeListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19347 | { |
19348 | UNUSED_PARAM(throwScope); |
19349 | UNUSED_PARAM(state); |
19350 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19351 | return jsUndefined(); |
19352 | return JSRadioNodeList::getConstructor(state.vm(), &thisObject); |
19353 | } |
19354 | |
19355 | EncodedJSValue jsDOMWindowRadioNodeListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19356 | { |
19357 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowRadioNodeListConstructorGetter>(*state, thisValue, "RadioNodeList" ); |
19358 | } |
19359 | |
19360 | static inline bool setJSDOMWindowRadioNodeListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19361 | { |
19362 | UNUSED_PARAM(throwScope); |
19363 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19364 | return false; |
19365 | // Shadowing a built-in constructor. |
19366 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("RadioNodeList" ), strlen("RadioNodeList" )), value); |
19367 | } |
19368 | |
19369 | bool setJSDOMWindowRadioNodeListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19370 | { |
19371 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowRadioNodeListConstructorSetter>(*state, thisValue, encodedValue, "RadioNodeList" ); |
19372 | } |
19373 | |
19374 | static inline JSValue jsDOMWindowTextMetricsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19375 | { |
19376 | UNUSED_PARAM(throwScope); |
19377 | UNUSED_PARAM(state); |
19378 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19379 | return jsUndefined(); |
19380 | return JSTextMetrics::getConstructor(state.vm(), &thisObject); |
19381 | } |
19382 | |
19383 | EncodedJSValue jsDOMWindowTextMetricsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19384 | { |
19385 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextMetricsConstructorGetter>(*state, thisValue, "TextMetrics" ); |
19386 | } |
19387 | |
19388 | static inline bool setJSDOMWindowTextMetricsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19389 | { |
19390 | UNUSED_PARAM(throwScope); |
19391 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19392 | return false; |
19393 | // Shadowing a built-in constructor. |
19394 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextMetrics" ), strlen("TextMetrics" )), value); |
19395 | } |
19396 | |
19397 | bool setJSDOMWindowTextMetricsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19398 | { |
19399 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextMetricsConstructorSetter>(*state, thisValue, encodedValue, "TextMetrics" ); |
19400 | } |
19401 | |
19402 | #if ENABLE(VIDEO) |
19403 | static inline JSValue jsDOMWindowTimeRangesConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19404 | { |
19405 | UNUSED_PARAM(throwScope); |
19406 | UNUSED_PARAM(state); |
19407 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19408 | return jsUndefined(); |
19409 | return JSTimeRanges::getConstructor(state.vm(), &thisObject); |
19410 | } |
19411 | |
19412 | EncodedJSValue jsDOMWindowTimeRangesConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19413 | { |
19414 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTimeRangesConstructorGetter>(*state, thisValue, "TimeRanges" ); |
19415 | } |
19416 | |
19417 | #endif |
19418 | |
19419 | #if ENABLE(VIDEO) |
19420 | static inline bool setJSDOMWindowTimeRangesConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19421 | { |
19422 | UNUSED_PARAM(throwScope); |
19423 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19424 | return false; |
19425 | // Shadowing a built-in constructor. |
19426 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TimeRanges" ), strlen("TimeRanges" )), value); |
19427 | } |
19428 | |
19429 | bool setJSDOMWindowTimeRangesConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19430 | { |
19431 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTimeRangesConstructorSetter>(*state, thisValue, encodedValue, "TimeRanges" ); |
19432 | } |
19433 | |
19434 | #endif |
19435 | |
19436 | static inline JSValue jsDOMWindowURLSearchParamsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19437 | { |
19438 | UNUSED_PARAM(throwScope); |
19439 | UNUSED_PARAM(state); |
19440 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19441 | return jsUndefined(); |
19442 | return JSURLSearchParams::getConstructor(state.vm(), &thisObject); |
19443 | } |
19444 | |
19445 | EncodedJSValue jsDOMWindowURLSearchParamsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19446 | { |
19447 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowURLSearchParamsConstructorGetter>(*state, thisValue, "URLSearchParams" ); |
19448 | } |
19449 | |
19450 | static inline bool setJSDOMWindowURLSearchParamsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19451 | { |
19452 | UNUSED_PARAM(throwScope); |
19453 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19454 | return false; |
19455 | // Shadowing a built-in constructor. |
19456 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("URLSearchParams" ), strlen("URLSearchParams" )), value); |
19457 | } |
19458 | |
19459 | bool setJSDOMWindowURLSearchParamsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19460 | { |
19461 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowURLSearchParamsConstructorSetter>(*state, thisValue, encodedValue, "URLSearchParams" ); |
19462 | } |
19463 | |
19464 | static inline JSValue jsDOMWindowValidityStateConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19465 | { |
19466 | UNUSED_PARAM(throwScope); |
19467 | UNUSED_PARAM(state); |
19468 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19469 | return jsUndefined(); |
19470 | return JSValidityState::getConstructor(state.vm(), &thisObject); |
19471 | } |
19472 | |
19473 | EncodedJSValue jsDOMWindowValidityStateConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19474 | { |
19475 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowValidityStateConstructorGetter>(*state, thisValue, "ValidityState" ); |
19476 | } |
19477 | |
19478 | static inline bool setJSDOMWindowValidityStateConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19479 | { |
19480 | UNUSED_PARAM(throwScope); |
19481 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19482 | return false; |
19483 | // Shadowing a built-in constructor. |
19484 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ValidityState" ), strlen("ValidityState" )), value); |
19485 | } |
19486 | |
19487 | bool setJSDOMWindowValidityStateConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19488 | { |
19489 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowValidityStateConstructorSetter>(*state, thisValue, encodedValue, "ValidityState" ); |
19490 | } |
19491 | |
19492 | static inline JSValue jsDOMWindowCanvasGradientConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19493 | { |
19494 | UNUSED_PARAM(throwScope); |
19495 | UNUSED_PARAM(state); |
19496 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19497 | return jsUndefined(); |
19498 | return JSCanvasGradient::getConstructor(state.vm(), &thisObject); |
19499 | } |
19500 | |
19501 | EncodedJSValue jsDOMWindowCanvasGradientConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19502 | { |
19503 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCanvasGradientConstructorGetter>(*state, thisValue, "CanvasGradient" ); |
19504 | } |
19505 | |
19506 | static inline bool setJSDOMWindowCanvasGradientConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19507 | { |
19508 | UNUSED_PARAM(throwScope); |
19509 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19510 | return false; |
19511 | // Shadowing a built-in constructor. |
19512 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CanvasGradient" ), strlen("CanvasGradient" )), value); |
19513 | } |
19514 | |
19515 | bool setJSDOMWindowCanvasGradientConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19516 | { |
19517 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCanvasGradientConstructorSetter>(*state, thisValue, encodedValue, "CanvasGradient" ); |
19518 | } |
19519 | |
19520 | static inline JSValue jsDOMWindowCanvasPatternConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19521 | { |
19522 | UNUSED_PARAM(throwScope); |
19523 | UNUSED_PARAM(state); |
19524 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19525 | return jsUndefined(); |
19526 | return JSCanvasPattern::getConstructor(state.vm(), &thisObject); |
19527 | } |
19528 | |
19529 | EncodedJSValue jsDOMWindowCanvasPatternConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19530 | { |
19531 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCanvasPatternConstructorGetter>(*state, thisValue, "CanvasPattern" ); |
19532 | } |
19533 | |
19534 | static inline bool setJSDOMWindowCanvasPatternConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19535 | { |
19536 | UNUSED_PARAM(throwScope); |
19537 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19538 | return false; |
19539 | // Shadowing a built-in constructor. |
19540 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CanvasPattern" ), strlen("CanvasPattern" )), value); |
19541 | } |
19542 | |
19543 | bool setJSDOMWindowCanvasPatternConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19544 | { |
19545 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCanvasPatternConstructorSetter>(*state, thisValue, encodedValue, "CanvasPattern" ); |
19546 | } |
19547 | |
19548 | static inline JSValue jsDOMWindowCanvasRenderingContext2DConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19549 | { |
19550 | UNUSED_PARAM(throwScope); |
19551 | UNUSED_PARAM(state); |
19552 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19553 | return jsUndefined(); |
19554 | return JSCanvasRenderingContext2D::getConstructor(state.vm(), &thisObject); |
19555 | } |
19556 | |
19557 | EncodedJSValue jsDOMWindowCanvasRenderingContext2DConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19558 | { |
19559 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCanvasRenderingContext2DConstructorGetter>(*state, thisValue, "CanvasRenderingContext2D" ); |
19560 | } |
19561 | |
19562 | static inline bool setJSDOMWindowCanvasRenderingContext2DConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19563 | { |
19564 | UNUSED_PARAM(throwScope); |
19565 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19566 | return false; |
19567 | // Shadowing a built-in constructor. |
19568 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("CanvasRenderingContext2D" ), strlen("CanvasRenderingContext2D" )), value); |
19569 | } |
19570 | |
19571 | bool setJSDOMWindowCanvasRenderingContext2DConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19572 | { |
19573 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCanvasRenderingContext2DConstructorSetter>(*state, thisValue, encodedValue, "CanvasRenderingContext2D" ); |
19574 | } |
19575 | |
19576 | static inline JSValue jsDOMWindowImageBitmapRenderingContextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19577 | { |
19578 | UNUSED_PARAM(throwScope); |
19579 | UNUSED_PARAM(state); |
19580 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19581 | return jsUndefined(); |
19582 | return JSImageBitmapRenderingContext::getConstructor(state.vm(), &thisObject); |
19583 | } |
19584 | |
19585 | EncodedJSValue jsDOMWindowImageBitmapRenderingContextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19586 | { |
19587 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowImageBitmapRenderingContextConstructorGetter>(*state, thisValue, "ImageBitmapRenderingContext" ); |
19588 | } |
19589 | |
19590 | static inline bool setJSDOMWindowImageBitmapRenderingContextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19591 | { |
19592 | UNUSED_PARAM(throwScope); |
19593 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19594 | return false; |
19595 | // Shadowing a built-in constructor. |
19596 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ImageBitmapRenderingContext" ), strlen("ImageBitmapRenderingContext" )), value); |
19597 | } |
19598 | |
19599 | bool setJSDOMWindowImageBitmapRenderingContextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19600 | { |
19601 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowImageBitmapRenderingContextConstructorSetter>(*state, thisValue, encodedValue, "ImageBitmapRenderingContext" ); |
19602 | } |
19603 | |
19604 | static inline JSValue jsDOMWindowOffscreenCanvasRenderingContext2DConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19605 | { |
19606 | UNUSED_PARAM(throwScope); |
19607 | UNUSED_PARAM(state); |
19608 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19609 | return jsUndefined(); |
19610 | return JSOffscreenCanvasRenderingContext2D::getConstructor(state.vm(), &thisObject); |
19611 | } |
19612 | |
19613 | EncodedJSValue jsDOMWindowOffscreenCanvasRenderingContext2DConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19614 | { |
19615 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOffscreenCanvasRenderingContext2DConstructorGetter>(*state, thisValue, "OffscreenCanvasRenderingContext2D" ); |
19616 | } |
19617 | |
19618 | static inline bool setJSDOMWindowOffscreenCanvasRenderingContext2DConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19619 | { |
19620 | UNUSED_PARAM(throwScope); |
19621 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19622 | return false; |
19623 | // Shadowing a built-in constructor. |
19624 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("OffscreenCanvasRenderingContext2D" ), strlen("OffscreenCanvasRenderingContext2D" )), value); |
19625 | } |
19626 | |
19627 | bool setJSDOMWindowOffscreenCanvasRenderingContext2DConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19628 | { |
19629 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOffscreenCanvasRenderingContext2DConstructorSetter>(*state, thisValue, encodedValue, "OffscreenCanvasRenderingContext2D" ); |
19630 | } |
19631 | |
19632 | #if ENABLE(CSS_PAINTING_API) |
19633 | static inline JSValue jsDOMWindowPaintRenderingContext2DConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19634 | { |
19635 | UNUSED_PARAM(throwScope); |
19636 | UNUSED_PARAM(state); |
19637 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19638 | return jsUndefined(); |
19639 | return JSPaintRenderingContext2D::getConstructor(state.vm(), &thisObject); |
19640 | } |
19641 | |
19642 | EncodedJSValue jsDOMWindowPaintRenderingContext2DConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19643 | { |
19644 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPaintRenderingContext2DConstructorGetter>(*state, thisValue, "PaintRenderingContext2D" ); |
19645 | } |
19646 | |
19647 | #endif |
19648 | |
19649 | #if ENABLE(CSS_PAINTING_API) |
19650 | static inline bool setJSDOMWindowPaintRenderingContext2DConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19651 | { |
19652 | UNUSED_PARAM(throwScope); |
19653 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19654 | return false; |
19655 | // Shadowing a built-in constructor. |
19656 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PaintRenderingContext2D" ), strlen("PaintRenderingContext2D" )), value); |
19657 | } |
19658 | |
19659 | bool setJSDOMWindowPaintRenderingContext2DConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19660 | { |
19661 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPaintRenderingContext2DConstructorSetter>(*state, thisValue, encodedValue, "PaintRenderingContext2D" ); |
19662 | } |
19663 | |
19664 | #endif |
19665 | |
19666 | static inline JSValue jsDOMWindowPath2DConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19667 | { |
19668 | UNUSED_PARAM(throwScope); |
19669 | UNUSED_PARAM(state); |
19670 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19671 | return jsUndefined(); |
19672 | return JSPath2D::getConstructor(state.vm(), &thisObject); |
19673 | } |
19674 | |
19675 | EncodedJSValue jsDOMWindowPath2DConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19676 | { |
19677 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPath2DConstructorGetter>(*state, thisValue, "Path2D" ); |
19678 | } |
19679 | |
19680 | static inline bool setJSDOMWindowPath2DConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19681 | { |
19682 | UNUSED_PARAM(throwScope); |
19683 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19684 | return false; |
19685 | // Shadowing a built-in constructor. |
19686 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Path2D" ), strlen("Path2D" )), value); |
19687 | } |
19688 | |
19689 | bool setJSDOMWindowPath2DConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19690 | { |
19691 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPath2DConstructorSetter>(*state, thisValue, encodedValue, "Path2D" ); |
19692 | } |
19693 | |
19694 | #if ENABLE(WEBGL2) |
19695 | static inline JSValue jsDOMWindowWebGL2RenderingContextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19696 | { |
19697 | UNUSED_PARAM(throwScope); |
19698 | UNUSED_PARAM(state); |
19699 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19700 | return jsUndefined(); |
19701 | return JSWebGL2RenderingContext::getConstructor(state.vm(), &thisObject); |
19702 | } |
19703 | |
19704 | EncodedJSValue jsDOMWindowWebGL2RenderingContextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19705 | { |
19706 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGL2RenderingContextConstructorGetter>(*state, thisValue, "WebGL2RenderingContext" ); |
19707 | } |
19708 | |
19709 | #endif |
19710 | |
19711 | #if ENABLE(WEBGL2) |
19712 | static inline bool setJSDOMWindowWebGL2RenderingContextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19713 | { |
19714 | UNUSED_PARAM(throwScope); |
19715 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19716 | return false; |
19717 | // Shadowing a built-in constructor. |
19718 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGL2RenderingContext" ), strlen("WebGL2RenderingContext" )), value); |
19719 | } |
19720 | |
19721 | bool setJSDOMWindowWebGL2RenderingContextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19722 | { |
19723 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGL2RenderingContextConstructorSetter>(*state, thisValue, encodedValue, "WebGL2RenderingContext" ); |
19724 | } |
19725 | |
19726 | #endif |
19727 | |
19728 | #if ENABLE(WEBGL) |
19729 | static inline JSValue jsDOMWindowWebGLActiveInfoConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19730 | { |
19731 | UNUSED_PARAM(throwScope); |
19732 | UNUSED_PARAM(state); |
19733 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19734 | return jsUndefined(); |
19735 | return JSWebGLActiveInfo::getConstructor(state.vm(), &thisObject); |
19736 | } |
19737 | |
19738 | EncodedJSValue jsDOMWindowWebGLActiveInfoConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19739 | { |
19740 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLActiveInfoConstructorGetter>(*state, thisValue, "WebGLActiveInfo" ); |
19741 | } |
19742 | |
19743 | #endif |
19744 | |
19745 | #if ENABLE(WEBGL) |
19746 | static inline bool setJSDOMWindowWebGLActiveInfoConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19747 | { |
19748 | UNUSED_PARAM(throwScope); |
19749 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19750 | return false; |
19751 | // Shadowing a built-in constructor. |
19752 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLActiveInfo" ), strlen("WebGLActiveInfo" )), value); |
19753 | } |
19754 | |
19755 | bool setJSDOMWindowWebGLActiveInfoConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19756 | { |
19757 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLActiveInfoConstructorSetter>(*state, thisValue, encodedValue, "WebGLActiveInfo" ); |
19758 | } |
19759 | |
19760 | #endif |
19761 | |
19762 | #if ENABLE(WEBGL) |
19763 | static inline JSValue jsDOMWindowWebGLBufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19764 | { |
19765 | UNUSED_PARAM(throwScope); |
19766 | UNUSED_PARAM(state); |
19767 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19768 | return jsUndefined(); |
19769 | return JSWebGLBuffer::getConstructor(state.vm(), &thisObject); |
19770 | } |
19771 | |
19772 | EncodedJSValue jsDOMWindowWebGLBufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19773 | { |
19774 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLBufferConstructorGetter>(*state, thisValue, "WebGLBuffer" ); |
19775 | } |
19776 | |
19777 | #endif |
19778 | |
19779 | #if ENABLE(WEBGL) |
19780 | static inline bool setJSDOMWindowWebGLBufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19781 | { |
19782 | UNUSED_PARAM(throwScope); |
19783 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19784 | return false; |
19785 | // Shadowing a built-in constructor. |
19786 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLBuffer" ), strlen("WebGLBuffer" )), value); |
19787 | } |
19788 | |
19789 | bool setJSDOMWindowWebGLBufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19790 | { |
19791 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLBufferConstructorSetter>(*state, thisValue, encodedValue, "WebGLBuffer" ); |
19792 | } |
19793 | |
19794 | #endif |
19795 | |
19796 | #if ENABLE(WEBGL) |
19797 | static inline JSValue jsDOMWindowWebGLContextEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19798 | { |
19799 | UNUSED_PARAM(throwScope); |
19800 | UNUSED_PARAM(state); |
19801 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19802 | return jsUndefined(); |
19803 | return JSWebGLContextEvent::getConstructor(state.vm(), &thisObject); |
19804 | } |
19805 | |
19806 | EncodedJSValue jsDOMWindowWebGLContextEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19807 | { |
19808 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLContextEventConstructorGetter>(*state, thisValue, "WebGLContextEvent" ); |
19809 | } |
19810 | |
19811 | #endif |
19812 | |
19813 | #if ENABLE(WEBGL) |
19814 | static inline bool setJSDOMWindowWebGLContextEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19815 | { |
19816 | UNUSED_PARAM(throwScope); |
19817 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19818 | return false; |
19819 | // Shadowing a built-in constructor. |
19820 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLContextEvent" ), strlen("WebGLContextEvent" )), value); |
19821 | } |
19822 | |
19823 | bool setJSDOMWindowWebGLContextEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19824 | { |
19825 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLContextEventConstructorSetter>(*state, thisValue, encodedValue, "WebGLContextEvent" ); |
19826 | } |
19827 | |
19828 | #endif |
19829 | |
19830 | #if ENABLE(WEBGL) |
19831 | static inline JSValue jsDOMWindowWebGLFramebufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19832 | { |
19833 | UNUSED_PARAM(throwScope); |
19834 | UNUSED_PARAM(state); |
19835 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19836 | return jsUndefined(); |
19837 | return JSWebGLFramebuffer::getConstructor(state.vm(), &thisObject); |
19838 | } |
19839 | |
19840 | EncodedJSValue jsDOMWindowWebGLFramebufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19841 | { |
19842 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLFramebufferConstructorGetter>(*state, thisValue, "WebGLFramebuffer" ); |
19843 | } |
19844 | |
19845 | #endif |
19846 | |
19847 | #if ENABLE(WEBGL) |
19848 | static inline bool setJSDOMWindowWebGLFramebufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19849 | { |
19850 | UNUSED_PARAM(throwScope); |
19851 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19852 | return false; |
19853 | // Shadowing a built-in constructor. |
19854 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLFramebuffer" ), strlen("WebGLFramebuffer" )), value); |
19855 | } |
19856 | |
19857 | bool setJSDOMWindowWebGLFramebufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19858 | { |
19859 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLFramebufferConstructorSetter>(*state, thisValue, encodedValue, "WebGLFramebuffer" ); |
19860 | } |
19861 | |
19862 | #endif |
19863 | |
19864 | #if ENABLE(WEBGL) |
19865 | static inline JSValue jsDOMWindowWebGLProgramConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19866 | { |
19867 | UNUSED_PARAM(throwScope); |
19868 | UNUSED_PARAM(state); |
19869 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19870 | return jsUndefined(); |
19871 | return JSWebGLProgram::getConstructor(state.vm(), &thisObject); |
19872 | } |
19873 | |
19874 | EncodedJSValue jsDOMWindowWebGLProgramConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19875 | { |
19876 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLProgramConstructorGetter>(*state, thisValue, "WebGLProgram" ); |
19877 | } |
19878 | |
19879 | #endif |
19880 | |
19881 | #if ENABLE(WEBGL) |
19882 | static inline bool setJSDOMWindowWebGLProgramConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19883 | { |
19884 | UNUSED_PARAM(throwScope); |
19885 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19886 | return false; |
19887 | // Shadowing a built-in constructor. |
19888 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLProgram" ), strlen("WebGLProgram" )), value); |
19889 | } |
19890 | |
19891 | bool setJSDOMWindowWebGLProgramConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19892 | { |
19893 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLProgramConstructorSetter>(*state, thisValue, encodedValue, "WebGLProgram" ); |
19894 | } |
19895 | |
19896 | #endif |
19897 | |
19898 | #if ENABLE(WEBGL) |
19899 | static inline JSValue jsDOMWindowWebGLQueryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19900 | { |
19901 | UNUSED_PARAM(throwScope); |
19902 | UNUSED_PARAM(state); |
19903 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19904 | return jsUndefined(); |
19905 | return JSWebGLQuery::getConstructor(state.vm(), &thisObject); |
19906 | } |
19907 | |
19908 | EncodedJSValue jsDOMWindowWebGLQueryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19909 | { |
19910 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLQueryConstructorGetter>(*state, thisValue, "WebGLQuery" ); |
19911 | } |
19912 | |
19913 | #endif |
19914 | |
19915 | #if ENABLE(WEBGL) |
19916 | static inline bool setJSDOMWindowWebGLQueryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19917 | { |
19918 | UNUSED_PARAM(throwScope); |
19919 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19920 | return false; |
19921 | // Shadowing a built-in constructor. |
19922 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLQuery" ), strlen("WebGLQuery" )), value); |
19923 | } |
19924 | |
19925 | bool setJSDOMWindowWebGLQueryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19926 | { |
19927 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLQueryConstructorSetter>(*state, thisValue, encodedValue, "WebGLQuery" ); |
19928 | } |
19929 | |
19930 | #endif |
19931 | |
19932 | #if ENABLE(WEBGL) |
19933 | static inline JSValue jsDOMWindowWebGLRenderbufferConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19934 | { |
19935 | UNUSED_PARAM(throwScope); |
19936 | UNUSED_PARAM(state); |
19937 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19938 | return jsUndefined(); |
19939 | return JSWebGLRenderbuffer::getConstructor(state.vm(), &thisObject); |
19940 | } |
19941 | |
19942 | EncodedJSValue jsDOMWindowWebGLRenderbufferConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19943 | { |
19944 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLRenderbufferConstructorGetter>(*state, thisValue, "WebGLRenderbuffer" ); |
19945 | } |
19946 | |
19947 | #endif |
19948 | |
19949 | #if ENABLE(WEBGL) |
19950 | static inline bool setJSDOMWindowWebGLRenderbufferConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19951 | { |
19952 | UNUSED_PARAM(throwScope); |
19953 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19954 | return false; |
19955 | // Shadowing a built-in constructor. |
19956 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLRenderbuffer" ), strlen("WebGLRenderbuffer" )), value); |
19957 | } |
19958 | |
19959 | bool setJSDOMWindowWebGLRenderbufferConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19960 | { |
19961 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLRenderbufferConstructorSetter>(*state, thisValue, encodedValue, "WebGLRenderbuffer" ); |
19962 | } |
19963 | |
19964 | #endif |
19965 | |
19966 | #if ENABLE(WEBGL) |
19967 | static inline JSValue jsDOMWindowWebGLRenderingContextConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
19968 | { |
19969 | UNUSED_PARAM(throwScope); |
19970 | UNUSED_PARAM(state); |
19971 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19972 | return jsUndefined(); |
19973 | return JSWebGLRenderingContext::getConstructor(state.vm(), &thisObject); |
19974 | } |
19975 | |
19976 | EncodedJSValue jsDOMWindowWebGLRenderingContextConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
19977 | { |
19978 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLRenderingContextConstructorGetter>(*state, thisValue, "WebGLRenderingContext" ); |
19979 | } |
19980 | |
19981 | #endif |
19982 | |
19983 | #if ENABLE(WEBGL) |
19984 | static inline bool setJSDOMWindowWebGLRenderingContextConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
19985 | { |
19986 | UNUSED_PARAM(throwScope); |
19987 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
19988 | return false; |
19989 | // Shadowing a built-in constructor. |
19990 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLRenderingContext" ), strlen("WebGLRenderingContext" )), value); |
19991 | } |
19992 | |
19993 | bool setJSDOMWindowWebGLRenderingContextConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
19994 | { |
19995 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLRenderingContextConstructorSetter>(*state, thisValue, encodedValue, "WebGLRenderingContext" ); |
19996 | } |
19997 | |
19998 | #endif |
19999 | |
20000 | #if ENABLE(WEBGL) |
20001 | static inline JSValue jsDOMWindowWebGLSamplerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20002 | { |
20003 | UNUSED_PARAM(throwScope); |
20004 | UNUSED_PARAM(state); |
20005 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20006 | return jsUndefined(); |
20007 | return JSWebGLSampler::getConstructor(state.vm(), &thisObject); |
20008 | } |
20009 | |
20010 | EncodedJSValue jsDOMWindowWebGLSamplerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20011 | { |
20012 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLSamplerConstructorGetter>(*state, thisValue, "WebGLSampler" ); |
20013 | } |
20014 | |
20015 | #endif |
20016 | |
20017 | #if ENABLE(WEBGL) |
20018 | static inline bool setJSDOMWindowWebGLSamplerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20019 | { |
20020 | UNUSED_PARAM(throwScope); |
20021 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20022 | return false; |
20023 | // Shadowing a built-in constructor. |
20024 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLSampler" ), strlen("WebGLSampler" )), value); |
20025 | } |
20026 | |
20027 | bool setJSDOMWindowWebGLSamplerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20028 | { |
20029 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLSamplerConstructorSetter>(*state, thisValue, encodedValue, "WebGLSampler" ); |
20030 | } |
20031 | |
20032 | #endif |
20033 | |
20034 | #if ENABLE(WEBGL) |
20035 | static inline JSValue jsDOMWindowWebGLShaderConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20036 | { |
20037 | UNUSED_PARAM(throwScope); |
20038 | UNUSED_PARAM(state); |
20039 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20040 | return jsUndefined(); |
20041 | return JSWebGLShader::getConstructor(state.vm(), &thisObject); |
20042 | } |
20043 | |
20044 | EncodedJSValue jsDOMWindowWebGLShaderConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20045 | { |
20046 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLShaderConstructorGetter>(*state, thisValue, "WebGLShader" ); |
20047 | } |
20048 | |
20049 | #endif |
20050 | |
20051 | #if ENABLE(WEBGL) |
20052 | static inline bool setJSDOMWindowWebGLShaderConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20053 | { |
20054 | UNUSED_PARAM(throwScope); |
20055 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20056 | return false; |
20057 | // Shadowing a built-in constructor. |
20058 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLShader" ), strlen("WebGLShader" )), value); |
20059 | } |
20060 | |
20061 | bool setJSDOMWindowWebGLShaderConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20062 | { |
20063 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLShaderConstructorSetter>(*state, thisValue, encodedValue, "WebGLShader" ); |
20064 | } |
20065 | |
20066 | #endif |
20067 | |
20068 | #if ENABLE(WEBGL) |
20069 | static inline JSValue jsDOMWindowWebGLShaderPrecisionFormatConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20070 | { |
20071 | UNUSED_PARAM(throwScope); |
20072 | UNUSED_PARAM(state); |
20073 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20074 | return jsUndefined(); |
20075 | return JSWebGLShaderPrecisionFormat::getConstructor(state.vm(), &thisObject); |
20076 | } |
20077 | |
20078 | EncodedJSValue jsDOMWindowWebGLShaderPrecisionFormatConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20079 | { |
20080 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLShaderPrecisionFormatConstructorGetter>(*state, thisValue, "WebGLShaderPrecisionFormat" ); |
20081 | } |
20082 | |
20083 | #endif |
20084 | |
20085 | #if ENABLE(WEBGL) |
20086 | static inline bool setJSDOMWindowWebGLShaderPrecisionFormatConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20087 | { |
20088 | UNUSED_PARAM(throwScope); |
20089 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20090 | return false; |
20091 | // Shadowing a built-in constructor. |
20092 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLShaderPrecisionFormat" ), strlen("WebGLShaderPrecisionFormat" )), value); |
20093 | } |
20094 | |
20095 | bool setJSDOMWindowWebGLShaderPrecisionFormatConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20096 | { |
20097 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLShaderPrecisionFormatConstructorSetter>(*state, thisValue, encodedValue, "WebGLShaderPrecisionFormat" ); |
20098 | } |
20099 | |
20100 | #endif |
20101 | |
20102 | #if ENABLE(WEBGL) |
20103 | static inline JSValue jsDOMWindowWebGLSyncConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20104 | { |
20105 | UNUSED_PARAM(throwScope); |
20106 | UNUSED_PARAM(state); |
20107 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20108 | return jsUndefined(); |
20109 | return JSWebGLSync::getConstructor(state.vm(), &thisObject); |
20110 | } |
20111 | |
20112 | EncodedJSValue jsDOMWindowWebGLSyncConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20113 | { |
20114 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLSyncConstructorGetter>(*state, thisValue, "WebGLSync" ); |
20115 | } |
20116 | |
20117 | #endif |
20118 | |
20119 | #if ENABLE(WEBGL) |
20120 | static inline bool setJSDOMWindowWebGLSyncConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20121 | { |
20122 | UNUSED_PARAM(throwScope); |
20123 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20124 | return false; |
20125 | // Shadowing a built-in constructor. |
20126 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLSync" ), strlen("WebGLSync" )), value); |
20127 | } |
20128 | |
20129 | bool setJSDOMWindowWebGLSyncConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20130 | { |
20131 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLSyncConstructorSetter>(*state, thisValue, encodedValue, "WebGLSync" ); |
20132 | } |
20133 | |
20134 | #endif |
20135 | |
20136 | #if ENABLE(WEBGL) |
20137 | static inline JSValue jsDOMWindowWebGLTextureConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20138 | { |
20139 | UNUSED_PARAM(throwScope); |
20140 | UNUSED_PARAM(state); |
20141 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20142 | return jsUndefined(); |
20143 | return JSWebGLTexture::getConstructor(state.vm(), &thisObject); |
20144 | } |
20145 | |
20146 | EncodedJSValue jsDOMWindowWebGLTextureConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20147 | { |
20148 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLTextureConstructorGetter>(*state, thisValue, "WebGLTexture" ); |
20149 | } |
20150 | |
20151 | #endif |
20152 | |
20153 | #if ENABLE(WEBGL) |
20154 | static inline bool setJSDOMWindowWebGLTextureConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20155 | { |
20156 | UNUSED_PARAM(throwScope); |
20157 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20158 | return false; |
20159 | // Shadowing a built-in constructor. |
20160 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLTexture" ), strlen("WebGLTexture" )), value); |
20161 | } |
20162 | |
20163 | bool setJSDOMWindowWebGLTextureConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20164 | { |
20165 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLTextureConstructorSetter>(*state, thisValue, encodedValue, "WebGLTexture" ); |
20166 | } |
20167 | |
20168 | #endif |
20169 | |
20170 | #if ENABLE(WEBGL) |
20171 | static inline JSValue jsDOMWindowWebGLTransformFeedbackConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20172 | { |
20173 | UNUSED_PARAM(throwScope); |
20174 | UNUSED_PARAM(state); |
20175 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20176 | return jsUndefined(); |
20177 | return JSWebGLTransformFeedback::getConstructor(state.vm(), &thisObject); |
20178 | } |
20179 | |
20180 | EncodedJSValue jsDOMWindowWebGLTransformFeedbackConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20181 | { |
20182 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLTransformFeedbackConstructorGetter>(*state, thisValue, "WebGLTransformFeedback" ); |
20183 | } |
20184 | |
20185 | #endif |
20186 | |
20187 | #if ENABLE(WEBGL) |
20188 | static inline bool setJSDOMWindowWebGLTransformFeedbackConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20189 | { |
20190 | UNUSED_PARAM(throwScope); |
20191 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20192 | return false; |
20193 | // Shadowing a built-in constructor. |
20194 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLTransformFeedback" ), strlen("WebGLTransformFeedback" )), value); |
20195 | } |
20196 | |
20197 | bool setJSDOMWindowWebGLTransformFeedbackConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20198 | { |
20199 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLTransformFeedbackConstructorSetter>(*state, thisValue, encodedValue, "WebGLTransformFeedback" ); |
20200 | } |
20201 | |
20202 | #endif |
20203 | |
20204 | #if ENABLE(WEBGL) |
20205 | static inline JSValue jsDOMWindowWebGLUniformLocationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20206 | { |
20207 | UNUSED_PARAM(throwScope); |
20208 | UNUSED_PARAM(state); |
20209 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20210 | return jsUndefined(); |
20211 | return JSWebGLUniformLocation::getConstructor(state.vm(), &thisObject); |
20212 | } |
20213 | |
20214 | EncodedJSValue jsDOMWindowWebGLUniformLocationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20215 | { |
20216 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLUniformLocationConstructorGetter>(*state, thisValue, "WebGLUniformLocation" ); |
20217 | } |
20218 | |
20219 | #endif |
20220 | |
20221 | #if ENABLE(WEBGL) |
20222 | static inline bool setJSDOMWindowWebGLUniformLocationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20223 | { |
20224 | UNUSED_PARAM(throwScope); |
20225 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20226 | return false; |
20227 | // Shadowing a built-in constructor. |
20228 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLUniformLocation" ), strlen("WebGLUniformLocation" )), value); |
20229 | } |
20230 | |
20231 | bool setJSDOMWindowWebGLUniformLocationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20232 | { |
20233 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLUniformLocationConstructorSetter>(*state, thisValue, encodedValue, "WebGLUniformLocation" ); |
20234 | } |
20235 | |
20236 | #endif |
20237 | |
20238 | #if ENABLE(WEBGL2) |
20239 | static inline JSValue jsDOMWindowWebGLVertexArrayObjectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20240 | { |
20241 | UNUSED_PARAM(throwScope); |
20242 | UNUSED_PARAM(state); |
20243 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20244 | return jsUndefined(); |
20245 | return JSWebGLVertexArrayObject::getConstructor(state.vm(), &thisObject); |
20246 | } |
20247 | |
20248 | EncodedJSValue jsDOMWindowWebGLVertexArrayObjectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20249 | { |
20250 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebGLVertexArrayObjectConstructorGetter>(*state, thisValue, "WebGLVertexArrayObject" ); |
20251 | } |
20252 | |
20253 | #endif |
20254 | |
20255 | #if ENABLE(WEBGL2) |
20256 | static inline bool setJSDOMWindowWebGLVertexArrayObjectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20257 | { |
20258 | UNUSED_PARAM(throwScope); |
20259 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20260 | return false; |
20261 | // Shadowing a built-in constructor. |
20262 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebGLVertexArrayObject" ), strlen("WebGLVertexArrayObject" )), value); |
20263 | } |
20264 | |
20265 | bool setJSDOMWindowWebGLVertexArrayObjectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20266 | { |
20267 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebGLVertexArrayObjectConstructorSetter>(*state, thisValue, encodedValue, "WebGLVertexArrayObject" ); |
20268 | } |
20269 | |
20270 | #endif |
20271 | |
20272 | #if ENABLE(VIDEO_TRACK) |
20273 | static inline JSValue jsDOMWindowAudioTrackConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20274 | { |
20275 | UNUSED_PARAM(throwScope); |
20276 | UNUSED_PARAM(state); |
20277 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20278 | return jsUndefined(); |
20279 | return JSAudioTrack::getConstructor(state.vm(), &thisObject); |
20280 | } |
20281 | |
20282 | EncodedJSValue jsDOMWindowAudioTrackConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20283 | { |
20284 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioTrackConstructorGetter>(*state, thisValue, "AudioTrack" ); |
20285 | } |
20286 | |
20287 | #endif |
20288 | |
20289 | #if ENABLE(VIDEO_TRACK) |
20290 | static inline bool setJSDOMWindowAudioTrackConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20291 | { |
20292 | UNUSED_PARAM(throwScope); |
20293 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20294 | return false; |
20295 | // Shadowing a built-in constructor. |
20296 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioTrack" ), strlen("AudioTrack" )), value); |
20297 | } |
20298 | |
20299 | bool setJSDOMWindowAudioTrackConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20300 | { |
20301 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioTrackConstructorSetter>(*state, thisValue, encodedValue, "AudioTrack" ); |
20302 | } |
20303 | |
20304 | #endif |
20305 | |
20306 | #if ENABLE(VIDEO_TRACK) |
20307 | static inline JSValue jsDOMWindowAudioTrackListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20308 | { |
20309 | UNUSED_PARAM(throwScope); |
20310 | UNUSED_PARAM(state); |
20311 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20312 | return jsUndefined(); |
20313 | return JSAudioTrackList::getConstructor(state.vm(), &thisObject); |
20314 | } |
20315 | |
20316 | EncodedJSValue jsDOMWindowAudioTrackListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20317 | { |
20318 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowAudioTrackListConstructorGetter>(*state, thisValue, "AudioTrackList" ); |
20319 | } |
20320 | |
20321 | #endif |
20322 | |
20323 | #if ENABLE(VIDEO_TRACK) |
20324 | static inline bool setJSDOMWindowAudioTrackListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20325 | { |
20326 | UNUSED_PARAM(throwScope); |
20327 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20328 | return false; |
20329 | // Shadowing a built-in constructor. |
20330 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("AudioTrackList" ), strlen("AudioTrackList" )), value); |
20331 | } |
20332 | |
20333 | bool setJSDOMWindowAudioTrackListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20334 | { |
20335 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowAudioTrackListConstructorSetter>(*state, thisValue, encodedValue, "AudioTrackList" ); |
20336 | } |
20337 | |
20338 | #endif |
20339 | |
20340 | #if ENABLE(VIDEO_TRACK) |
20341 | static inline JSValue jsDOMWindowDataCueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20342 | { |
20343 | UNUSED_PARAM(throwScope); |
20344 | UNUSED_PARAM(state); |
20345 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20346 | return jsUndefined(); |
20347 | return JSDataCue::getConstructor(state.vm(), &thisObject); |
20348 | } |
20349 | |
20350 | EncodedJSValue jsDOMWindowDataCueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20351 | { |
20352 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDataCueConstructorGetter>(*state, thisValue, "DataCue" ); |
20353 | } |
20354 | |
20355 | #endif |
20356 | |
20357 | #if ENABLE(VIDEO_TRACK) |
20358 | static inline bool setJSDOMWindowDataCueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20359 | { |
20360 | UNUSED_PARAM(throwScope); |
20361 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20362 | return false; |
20363 | // Shadowing a built-in constructor. |
20364 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DataCue" ), strlen("DataCue" )), value); |
20365 | } |
20366 | |
20367 | bool setJSDOMWindowDataCueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20368 | { |
20369 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDataCueConstructorSetter>(*state, thisValue, encodedValue, "DataCue" ); |
20370 | } |
20371 | |
20372 | #endif |
20373 | |
20374 | #if ENABLE(VIDEO_TRACK) |
20375 | static inline JSValue jsDOMWindowTextTrackConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20376 | { |
20377 | UNUSED_PARAM(throwScope); |
20378 | UNUSED_PARAM(state); |
20379 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20380 | return jsUndefined(); |
20381 | return JSTextTrack::getConstructor(state.vm(), &thisObject); |
20382 | } |
20383 | |
20384 | EncodedJSValue jsDOMWindowTextTrackConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20385 | { |
20386 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextTrackConstructorGetter>(*state, thisValue, "TextTrack" ); |
20387 | } |
20388 | |
20389 | #endif |
20390 | |
20391 | #if ENABLE(VIDEO_TRACK) |
20392 | static inline bool setJSDOMWindowTextTrackConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20393 | { |
20394 | UNUSED_PARAM(throwScope); |
20395 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20396 | return false; |
20397 | // Shadowing a built-in constructor. |
20398 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextTrack" ), strlen("TextTrack" )), value); |
20399 | } |
20400 | |
20401 | bool setJSDOMWindowTextTrackConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20402 | { |
20403 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextTrackConstructorSetter>(*state, thisValue, encodedValue, "TextTrack" ); |
20404 | } |
20405 | |
20406 | #endif |
20407 | |
20408 | #if ENABLE(VIDEO_TRACK) |
20409 | static inline JSValue jsDOMWindowTextTrackCueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20410 | { |
20411 | UNUSED_PARAM(throwScope); |
20412 | UNUSED_PARAM(state); |
20413 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20414 | return jsUndefined(); |
20415 | return JSTextTrackCue::getConstructor(state.vm(), &thisObject); |
20416 | } |
20417 | |
20418 | EncodedJSValue jsDOMWindowTextTrackCueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20419 | { |
20420 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextTrackCueConstructorGetter>(*state, thisValue, "TextTrackCue" ); |
20421 | } |
20422 | |
20423 | #endif |
20424 | |
20425 | #if ENABLE(VIDEO_TRACK) |
20426 | static inline bool setJSDOMWindowTextTrackCueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20427 | { |
20428 | UNUSED_PARAM(throwScope); |
20429 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20430 | return false; |
20431 | // Shadowing a built-in constructor. |
20432 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextTrackCue" ), strlen("TextTrackCue" )), value); |
20433 | } |
20434 | |
20435 | bool setJSDOMWindowTextTrackCueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20436 | { |
20437 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextTrackCueConstructorSetter>(*state, thisValue, encodedValue, "TextTrackCue" ); |
20438 | } |
20439 | |
20440 | #endif |
20441 | |
20442 | #if ENABLE(VIDEO_TRACK) |
20443 | static inline JSValue jsDOMWindowTextTrackCueListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20444 | { |
20445 | UNUSED_PARAM(throwScope); |
20446 | UNUSED_PARAM(state); |
20447 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20448 | return jsUndefined(); |
20449 | return JSTextTrackCueList::getConstructor(state.vm(), &thisObject); |
20450 | } |
20451 | |
20452 | EncodedJSValue jsDOMWindowTextTrackCueListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20453 | { |
20454 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextTrackCueListConstructorGetter>(*state, thisValue, "TextTrackCueList" ); |
20455 | } |
20456 | |
20457 | #endif |
20458 | |
20459 | #if ENABLE(VIDEO_TRACK) |
20460 | static inline bool setJSDOMWindowTextTrackCueListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20461 | { |
20462 | UNUSED_PARAM(throwScope); |
20463 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20464 | return false; |
20465 | // Shadowing a built-in constructor. |
20466 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextTrackCueList" ), strlen("TextTrackCueList" )), value); |
20467 | } |
20468 | |
20469 | bool setJSDOMWindowTextTrackCueListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20470 | { |
20471 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextTrackCueListConstructorSetter>(*state, thisValue, encodedValue, "TextTrackCueList" ); |
20472 | } |
20473 | |
20474 | #endif |
20475 | |
20476 | #if ENABLE(VIDEO_TRACK) |
20477 | static inline JSValue jsDOMWindowTextTrackListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20478 | { |
20479 | UNUSED_PARAM(throwScope); |
20480 | UNUSED_PARAM(state); |
20481 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20482 | return jsUndefined(); |
20483 | return JSTextTrackList::getConstructor(state.vm(), &thisObject); |
20484 | } |
20485 | |
20486 | EncodedJSValue jsDOMWindowTextTrackListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20487 | { |
20488 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTextTrackListConstructorGetter>(*state, thisValue, "TextTrackList" ); |
20489 | } |
20490 | |
20491 | #endif |
20492 | |
20493 | #if ENABLE(VIDEO_TRACK) |
20494 | static inline bool setJSDOMWindowTextTrackListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20495 | { |
20496 | UNUSED_PARAM(throwScope); |
20497 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20498 | return false; |
20499 | // Shadowing a built-in constructor. |
20500 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TextTrackList" ), strlen("TextTrackList" )), value); |
20501 | } |
20502 | |
20503 | bool setJSDOMWindowTextTrackListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20504 | { |
20505 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTextTrackListConstructorSetter>(*state, thisValue, encodedValue, "TextTrackList" ); |
20506 | } |
20507 | |
20508 | #endif |
20509 | |
20510 | #if ENABLE(VIDEO_TRACK) |
20511 | static inline JSValue jsDOMWindowTrackEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20512 | { |
20513 | UNUSED_PARAM(throwScope); |
20514 | UNUSED_PARAM(state); |
20515 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20516 | return jsUndefined(); |
20517 | return JSTrackEvent::getConstructor(state.vm(), &thisObject); |
20518 | } |
20519 | |
20520 | EncodedJSValue jsDOMWindowTrackEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20521 | { |
20522 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowTrackEventConstructorGetter>(*state, thisValue, "TrackEvent" ); |
20523 | } |
20524 | |
20525 | #endif |
20526 | |
20527 | #if ENABLE(VIDEO_TRACK) |
20528 | static inline bool setJSDOMWindowTrackEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20529 | { |
20530 | UNUSED_PARAM(throwScope); |
20531 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20532 | return false; |
20533 | // Shadowing a built-in constructor. |
20534 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("TrackEvent" ), strlen("TrackEvent" )), value); |
20535 | } |
20536 | |
20537 | bool setJSDOMWindowTrackEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20538 | { |
20539 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowTrackEventConstructorSetter>(*state, thisValue, encodedValue, "TrackEvent" ); |
20540 | } |
20541 | |
20542 | #endif |
20543 | |
20544 | #if ENABLE(VIDEO_TRACK) |
20545 | static inline JSValue jsDOMWindowVTTCueConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20546 | { |
20547 | UNUSED_PARAM(throwScope); |
20548 | UNUSED_PARAM(state); |
20549 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20550 | return jsUndefined(); |
20551 | return JSVTTCue::getConstructor(state.vm(), &thisObject); |
20552 | } |
20553 | |
20554 | EncodedJSValue jsDOMWindowVTTCueConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20555 | { |
20556 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVTTCueConstructorGetter>(*state, thisValue, "VTTCue" ); |
20557 | } |
20558 | |
20559 | #endif |
20560 | |
20561 | #if ENABLE(VIDEO_TRACK) |
20562 | static inline bool setJSDOMWindowVTTCueConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20563 | { |
20564 | UNUSED_PARAM(throwScope); |
20565 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20566 | return false; |
20567 | // Shadowing a built-in constructor. |
20568 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VTTCue" ), strlen("VTTCue" )), value); |
20569 | } |
20570 | |
20571 | bool setJSDOMWindowVTTCueConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20572 | { |
20573 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVTTCueConstructorSetter>(*state, thisValue, encodedValue, "VTTCue" ); |
20574 | } |
20575 | |
20576 | #endif |
20577 | |
20578 | #if ENABLE(VIDEO_TRACK) |
20579 | static inline JSValue jsDOMWindowVTTRegionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20580 | { |
20581 | UNUSED_PARAM(throwScope); |
20582 | UNUSED_PARAM(state); |
20583 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20584 | return jsUndefined(); |
20585 | return JSVTTRegion::getConstructor(state.vm(), &thisObject); |
20586 | } |
20587 | |
20588 | EncodedJSValue jsDOMWindowVTTRegionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20589 | { |
20590 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVTTRegionConstructorGetter>(*state, thisValue, "VTTRegion" ); |
20591 | } |
20592 | |
20593 | #endif |
20594 | |
20595 | #if ENABLE(VIDEO_TRACK) |
20596 | static inline bool setJSDOMWindowVTTRegionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20597 | { |
20598 | UNUSED_PARAM(throwScope); |
20599 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20600 | return false; |
20601 | // Shadowing a built-in constructor. |
20602 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VTTRegion" ), strlen("VTTRegion" )), value); |
20603 | } |
20604 | |
20605 | bool setJSDOMWindowVTTRegionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20606 | { |
20607 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVTTRegionConstructorSetter>(*state, thisValue, encodedValue, "VTTRegion" ); |
20608 | } |
20609 | |
20610 | #endif |
20611 | |
20612 | #if ENABLE(VIDEO_TRACK) |
20613 | static inline JSValue jsDOMWindowVideoTrackConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20614 | { |
20615 | UNUSED_PARAM(throwScope); |
20616 | UNUSED_PARAM(state); |
20617 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20618 | return jsUndefined(); |
20619 | return JSVideoTrack::getConstructor(state.vm(), &thisObject); |
20620 | } |
20621 | |
20622 | EncodedJSValue jsDOMWindowVideoTrackConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20623 | { |
20624 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVideoTrackConstructorGetter>(*state, thisValue, "VideoTrack" ); |
20625 | } |
20626 | |
20627 | #endif |
20628 | |
20629 | #if ENABLE(VIDEO_TRACK) |
20630 | static inline bool setJSDOMWindowVideoTrackConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20631 | { |
20632 | UNUSED_PARAM(throwScope); |
20633 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20634 | return false; |
20635 | // Shadowing a built-in constructor. |
20636 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VideoTrack" ), strlen("VideoTrack" )), value); |
20637 | } |
20638 | |
20639 | bool setJSDOMWindowVideoTrackConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20640 | { |
20641 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVideoTrackConstructorSetter>(*state, thisValue, encodedValue, "VideoTrack" ); |
20642 | } |
20643 | |
20644 | #endif |
20645 | |
20646 | #if ENABLE(VIDEO_TRACK) |
20647 | static inline JSValue jsDOMWindowVideoTrackListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20648 | { |
20649 | UNUSED_PARAM(throwScope); |
20650 | UNUSED_PARAM(state); |
20651 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20652 | return jsUndefined(); |
20653 | return JSVideoTrackList::getConstructor(state.vm(), &thisObject); |
20654 | } |
20655 | |
20656 | EncodedJSValue jsDOMWindowVideoTrackListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20657 | { |
20658 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVideoTrackListConstructorGetter>(*state, thisValue, "VideoTrackList" ); |
20659 | } |
20660 | |
20661 | #endif |
20662 | |
20663 | #if ENABLE(VIDEO_TRACK) |
20664 | static inline bool setJSDOMWindowVideoTrackListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20665 | { |
20666 | UNUSED_PARAM(throwScope); |
20667 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20668 | return false; |
20669 | // Shadowing a built-in constructor. |
20670 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VideoTrackList" ), strlen("VideoTrackList" )), value); |
20671 | } |
20672 | |
20673 | bool setJSDOMWindowVideoTrackListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20674 | { |
20675 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVideoTrackListConstructorSetter>(*state, thisValue, encodedValue, "VideoTrackList" ); |
20676 | } |
20677 | |
20678 | #endif |
20679 | |
20680 | static inline JSValue jsDOMWindowApplicationCacheConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20681 | { |
20682 | UNUSED_PARAM(throwScope); |
20683 | UNUSED_PARAM(state); |
20684 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20685 | return jsUndefined(); |
20686 | return JSDOMApplicationCache::getConstructor(state.vm(), &thisObject); |
20687 | } |
20688 | |
20689 | EncodedJSValue jsDOMWindowApplicationCacheConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20690 | { |
20691 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowApplicationCacheConstructorGetter>(*state, thisValue, "ApplicationCache" ); |
20692 | } |
20693 | |
20694 | static inline bool setJSDOMWindowApplicationCacheConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20695 | { |
20696 | UNUSED_PARAM(throwScope); |
20697 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20698 | return false; |
20699 | // Shadowing a built-in constructor. |
20700 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ApplicationCache" ), strlen("ApplicationCache" )), value); |
20701 | } |
20702 | |
20703 | bool setJSDOMWindowApplicationCacheConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20704 | { |
20705 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowApplicationCacheConstructorSetter>(*state, thisValue, encodedValue, "ApplicationCache" ); |
20706 | } |
20707 | |
20708 | static inline JSValue jsDOMWindowBarPropConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20709 | { |
20710 | UNUSED_PARAM(throwScope); |
20711 | UNUSED_PARAM(state); |
20712 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20713 | return jsUndefined(); |
20714 | return JSBarProp::getConstructor(state.vm(), &thisObject); |
20715 | } |
20716 | |
20717 | EncodedJSValue jsDOMWindowBarPropConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20718 | { |
20719 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowBarPropConstructorGetter>(*state, thisValue, "BarProp" ); |
20720 | } |
20721 | |
20722 | static inline bool setJSDOMWindowBarPropConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20723 | { |
20724 | UNUSED_PARAM(throwScope); |
20725 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20726 | return false; |
20727 | // Shadowing a built-in constructor. |
20728 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("BarProp" ), strlen("BarProp" )), value); |
20729 | } |
20730 | |
20731 | bool setJSDOMWindowBarPropConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20732 | { |
20733 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowBarPropConstructorSetter>(*state, thisValue, encodedValue, "BarProp" ); |
20734 | } |
20735 | |
20736 | static inline JSValue jsDOMWindowCryptoConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20737 | { |
20738 | UNUSED_PARAM(throwScope); |
20739 | UNUSED_PARAM(state); |
20740 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20741 | return jsUndefined(); |
20742 | return JSCrypto::getConstructor(state.vm(), &thisObject); |
20743 | } |
20744 | |
20745 | EncodedJSValue jsDOMWindowCryptoConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20746 | { |
20747 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCryptoConstructorGetter>(*state, thisValue, "Crypto" ); |
20748 | } |
20749 | |
20750 | static inline bool setJSDOMWindowCryptoConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20751 | { |
20752 | UNUSED_PARAM(throwScope); |
20753 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20754 | return false; |
20755 | // Shadowing a built-in constructor. |
20756 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Crypto" ), strlen("Crypto" )), value); |
20757 | } |
20758 | |
20759 | bool setJSDOMWindowCryptoConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20760 | { |
20761 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowCryptoConstructorSetter>(*state, thisValue, encodedValue, "Crypto" ); |
20762 | } |
20763 | |
20764 | static inline JSValue jsDOMWindowSelectionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20765 | { |
20766 | UNUSED_PARAM(throwScope); |
20767 | UNUSED_PARAM(state); |
20768 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20769 | return jsUndefined(); |
20770 | return JSDOMSelection::getConstructor(state.vm(), &thisObject); |
20771 | } |
20772 | |
20773 | EncodedJSValue jsDOMWindowSelectionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20774 | { |
20775 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSelectionConstructorGetter>(*state, thisValue, "Selection" ); |
20776 | } |
20777 | |
20778 | static inline bool setJSDOMWindowSelectionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20779 | { |
20780 | UNUSED_PARAM(throwScope); |
20781 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20782 | return false; |
20783 | // Shadowing a built-in constructor. |
20784 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Selection" ), strlen("Selection" )), value); |
20785 | } |
20786 | |
20787 | bool setJSDOMWindowSelectionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20788 | { |
20789 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSelectionConstructorSetter>(*state, thisValue, encodedValue, "Selection" ); |
20790 | } |
20791 | |
20792 | static inline JSValue jsDOMWindowWindowConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20793 | { |
20794 | UNUSED_PARAM(throwScope); |
20795 | UNUSED_PARAM(state); |
20796 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20797 | return jsUndefined(); |
20798 | return JSDOMWindow::getConstructor(state.vm(), &thisObject); |
20799 | } |
20800 | |
20801 | EncodedJSValue jsDOMWindowWindowConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20802 | { |
20803 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWindowConstructorGetter>(*state, thisValue, "Window" ); |
20804 | } |
20805 | |
20806 | static inline bool setJSDOMWindowWindowConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20807 | { |
20808 | UNUSED_PARAM(throwScope); |
20809 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20810 | return false; |
20811 | // Shadowing a built-in constructor. |
20812 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Window" ), strlen("Window" )), value); |
20813 | } |
20814 | |
20815 | bool setJSDOMWindowWindowConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20816 | { |
20817 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWindowConstructorSetter>(*state, thisValue, encodedValue, "Window" ); |
20818 | } |
20819 | |
20820 | static inline JSValue jsDOMWindowEventSourceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20821 | { |
20822 | UNUSED_PARAM(throwScope); |
20823 | UNUSED_PARAM(state); |
20824 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20825 | return jsUndefined(); |
20826 | return JSEventSource::getConstructor(state.vm(), &thisObject); |
20827 | } |
20828 | |
20829 | EncodedJSValue jsDOMWindowEventSourceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20830 | { |
20831 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowEventSourceConstructorGetter>(*state, thisValue, "EventSource" ); |
20832 | } |
20833 | |
20834 | static inline bool setJSDOMWindowEventSourceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20835 | { |
20836 | UNUSED_PARAM(throwScope); |
20837 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20838 | return false; |
20839 | // Shadowing a built-in constructor. |
20840 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("EventSource" ), strlen("EventSource" )), value); |
20841 | } |
20842 | |
20843 | bool setJSDOMWindowEventSourceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20844 | { |
20845 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowEventSourceConstructorSetter>(*state, thisValue, encodedValue, "EventSource" ); |
20846 | } |
20847 | |
20848 | static inline JSValue jsDOMWindowHistoryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20849 | { |
20850 | UNUSED_PARAM(throwScope); |
20851 | UNUSED_PARAM(state); |
20852 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20853 | return jsUndefined(); |
20854 | return JSHistory::getConstructor(state.vm(), &thisObject); |
20855 | } |
20856 | |
20857 | EncodedJSValue jsDOMWindowHistoryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20858 | { |
20859 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowHistoryConstructorGetter>(*state, thisValue, "History" ); |
20860 | } |
20861 | |
20862 | static inline bool setJSDOMWindowHistoryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20863 | { |
20864 | UNUSED_PARAM(throwScope); |
20865 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20866 | return false; |
20867 | // Shadowing a built-in constructor. |
20868 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("History" ), strlen("History" )), value); |
20869 | } |
20870 | |
20871 | bool setJSDOMWindowHistoryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20872 | { |
20873 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowHistoryConstructorSetter>(*state, thisValue, encodedValue, "History" ); |
20874 | } |
20875 | |
20876 | #if ENABLE(INTERSECTION_OBSERVER) |
20877 | static inline JSValue jsDOMWindowIntersectionObserverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20878 | { |
20879 | UNUSED_PARAM(throwScope); |
20880 | UNUSED_PARAM(state); |
20881 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20882 | return jsUndefined(); |
20883 | return JSIntersectionObserver::getConstructor(state.vm(), &thisObject); |
20884 | } |
20885 | |
20886 | EncodedJSValue jsDOMWindowIntersectionObserverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20887 | { |
20888 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIntersectionObserverConstructorGetter>(*state, thisValue, "IntersectionObserver" ); |
20889 | } |
20890 | |
20891 | #endif |
20892 | |
20893 | #if ENABLE(INTERSECTION_OBSERVER) |
20894 | static inline bool setJSDOMWindowIntersectionObserverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20895 | { |
20896 | UNUSED_PARAM(throwScope); |
20897 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20898 | return false; |
20899 | // Shadowing a built-in constructor. |
20900 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IntersectionObserver" ), strlen("IntersectionObserver" )), value); |
20901 | } |
20902 | |
20903 | bool setJSDOMWindowIntersectionObserverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20904 | { |
20905 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIntersectionObserverConstructorSetter>(*state, thisValue, encodedValue, "IntersectionObserver" ); |
20906 | } |
20907 | |
20908 | #endif |
20909 | |
20910 | #if ENABLE(INTERSECTION_OBSERVER) |
20911 | static inline JSValue jsDOMWindowIntersectionObserverEntryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20912 | { |
20913 | UNUSED_PARAM(throwScope); |
20914 | UNUSED_PARAM(state); |
20915 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20916 | return jsUndefined(); |
20917 | return JSIntersectionObserverEntry::getConstructor(state.vm(), &thisObject); |
20918 | } |
20919 | |
20920 | EncodedJSValue jsDOMWindowIntersectionObserverEntryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20921 | { |
20922 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIntersectionObserverEntryConstructorGetter>(*state, thisValue, "IntersectionObserverEntry" ); |
20923 | } |
20924 | |
20925 | #endif |
20926 | |
20927 | #if ENABLE(INTERSECTION_OBSERVER) |
20928 | static inline bool setJSDOMWindowIntersectionObserverEntryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20929 | { |
20930 | UNUSED_PARAM(throwScope); |
20931 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20932 | return false; |
20933 | // Shadowing a built-in constructor. |
20934 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("IntersectionObserverEntry" ), strlen("IntersectionObserverEntry" )), value); |
20935 | } |
20936 | |
20937 | bool setJSDOMWindowIntersectionObserverEntryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20938 | { |
20939 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowIntersectionObserverEntryConstructorSetter>(*state, thisValue, encodedValue, "IntersectionObserverEntry" ); |
20940 | } |
20941 | |
20942 | #endif |
20943 | |
20944 | static inline JSValue jsDOMWindowLocationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20945 | { |
20946 | UNUSED_PARAM(throwScope); |
20947 | UNUSED_PARAM(state); |
20948 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20949 | return jsUndefined(); |
20950 | return JSLocation::getConstructor(state.vm(), &thisObject); |
20951 | } |
20952 | |
20953 | EncodedJSValue jsDOMWindowLocationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20954 | { |
20955 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowLocationConstructorGetter>(*state, thisValue, "Location" ); |
20956 | } |
20957 | |
20958 | static inline bool setJSDOMWindowLocationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20959 | { |
20960 | UNUSED_PARAM(throwScope); |
20961 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20962 | return false; |
20963 | // Shadowing a built-in constructor. |
20964 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Location" ), strlen("Location" )), value); |
20965 | } |
20966 | |
20967 | bool setJSDOMWindowLocationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20968 | { |
20969 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowLocationConstructorSetter>(*state, thisValue, encodedValue, "Location" ); |
20970 | } |
20971 | |
20972 | static inline JSValue jsDOMWindowNavigatorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
20973 | { |
20974 | UNUSED_PARAM(throwScope); |
20975 | UNUSED_PARAM(state); |
20976 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20977 | return jsUndefined(); |
20978 | return JSNavigator::getConstructor(state.vm(), &thisObject); |
20979 | } |
20980 | |
20981 | EncodedJSValue jsDOMWindowNavigatorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
20982 | { |
20983 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowNavigatorConstructorGetter>(*state, thisValue, "Navigator" ); |
20984 | } |
20985 | |
20986 | static inline bool setJSDOMWindowNavigatorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
20987 | { |
20988 | UNUSED_PARAM(throwScope); |
20989 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
20990 | return false; |
20991 | // Shadowing a built-in constructor. |
20992 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Navigator" ), strlen("Navigator" )), value); |
20993 | } |
20994 | |
20995 | bool setJSDOMWindowNavigatorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
20996 | { |
20997 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowNavigatorConstructorSetter>(*state, thisValue, encodedValue, "Navigator" ); |
20998 | } |
20999 | |
21000 | static inline JSValue jsDOMWindowPerformanceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21001 | { |
21002 | UNUSED_PARAM(throwScope); |
21003 | UNUSED_PARAM(state); |
21004 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21005 | return jsUndefined(); |
21006 | return JSPerformance::getConstructor(state.vm(), &thisObject); |
21007 | } |
21008 | |
21009 | EncodedJSValue jsDOMWindowPerformanceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21010 | { |
21011 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceConstructorGetter>(*state, thisValue, "Performance" ); |
21012 | } |
21013 | |
21014 | static inline bool setJSDOMWindowPerformanceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21015 | { |
21016 | UNUSED_PARAM(throwScope); |
21017 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21018 | return false; |
21019 | // Shadowing a built-in constructor. |
21020 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Performance" ), strlen("Performance" )), value); |
21021 | } |
21022 | |
21023 | bool setJSDOMWindowPerformanceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21024 | { |
21025 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceConstructorSetter>(*state, thisValue, encodedValue, "Performance" ); |
21026 | } |
21027 | |
21028 | static inline JSValue jsDOMWindowPerformanceEntryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21029 | { |
21030 | UNUSED_PARAM(throwScope); |
21031 | UNUSED_PARAM(state); |
21032 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21033 | return jsUndefined(); |
21034 | return JSPerformanceEntry::getConstructor(state.vm(), &thisObject); |
21035 | } |
21036 | |
21037 | EncodedJSValue jsDOMWindowPerformanceEntryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21038 | { |
21039 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceEntryConstructorGetter>(*state, thisValue, "PerformanceEntry" ); |
21040 | } |
21041 | |
21042 | static inline bool setJSDOMWindowPerformanceEntryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21043 | { |
21044 | UNUSED_PARAM(throwScope); |
21045 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21046 | return false; |
21047 | // Shadowing a built-in constructor. |
21048 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceEntry" ), strlen("PerformanceEntry" )), value); |
21049 | } |
21050 | |
21051 | bool setJSDOMWindowPerformanceEntryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21052 | { |
21053 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceEntryConstructorSetter>(*state, thisValue, encodedValue, "PerformanceEntry" ); |
21054 | } |
21055 | |
21056 | static inline JSValue jsDOMWindowPerformanceMarkConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21057 | { |
21058 | UNUSED_PARAM(throwScope); |
21059 | UNUSED_PARAM(state); |
21060 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21061 | return jsUndefined(); |
21062 | return JSPerformanceMark::getConstructor(state.vm(), &thisObject); |
21063 | } |
21064 | |
21065 | EncodedJSValue jsDOMWindowPerformanceMarkConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21066 | { |
21067 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceMarkConstructorGetter>(*state, thisValue, "PerformanceMark" ); |
21068 | } |
21069 | |
21070 | static inline bool setJSDOMWindowPerformanceMarkConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21071 | { |
21072 | UNUSED_PARAM(throwScope); |
21073 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21074 | return false; |
21075 | // Shadowing a built-in constructor. |
21076 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceMark" ), strlen("PerformanceMark" )), value); |
21077 | } |
21078 | |
21079 | bool setJSDOMWindowPerformanceMarkConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21080 | { |
21081 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceMarkConstructorSetter>(*state, thisValue, encodedValue, "PerformanceMark" ); |
21082 | } |
21083 | |
21084 | static inline JSValue jsDOMWindowPerformanceMeasureConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21085 | { |
21086 | UNUSED_PARAM(throwScope); |
21087 | UNUSED_PARAM(state); |
21088 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21089 | return jsUndefined(); |
21090 | return JSPerformanceMeasure::getConstructor(state.vm(), &thisObject); |
21091 | } |
21092 | |
21093 | EncodedJSValue jsDOMWindowPerformanceMeasureConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21094 | { |
21095 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceMeasureConstructorGetter>(*state, thisValue, "PerformanceMeasure" ); |
21096 | } |
21097 | |
21098 | static inline bool setJSDOMWindowPerformanceMeasureConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21099 | { |
21100 | UNUSED_PARAM(throwScope); |
21101 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21102 | return false; |
21103 | // Shadowing a built-in constructor. |
21104 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceMeasure" ), strlen("PerformanceMeasure" )), value); |
21105 | } |
21106 | |
21107 | bool setJSDOMWindowPerformanceMeasureConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21108 | { |
21109 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceMeasureConstructorSetter>(*state, thisValue, encodedValue, "PerformanceMeasure" ); |
21110 | } |
21111 | |
21112 | static inline JSValue jsDOMWindowPerformanceNavigationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21113 | { |
21114 | UNUSED_PARAM(throwScope); |
21115 | UNUSED_PARAM(state); |
21116 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21117 | return jsUndefined(); |
21118 | return JSPerformanceNavigation::getConstructor(state.vm(), &thisObject); |
21119 | } |
21120 | |
21121 | EncodedJSValue jsDOMWindowPerformanceNavigationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21122 | { |
21123 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceNavigationConstructorGetter>(*state, thisValue, "PerformanceNavigation" ); |
21124 | } |
21125 | |
21126 | static inline bool setJSDOMWindowPerformanceNavigationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21127 | { |
21128 | UNUSED_PARAM(throwScope); |
21129 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21130 | return false; |
21131 | // Shadowing a built-in constructor. |
21132 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceNavigation" ), strlen("PerformanceNavigation" )), value); |
21133 | } |
21134 | |
21135 | bool setJSDOMWindowPerformanceNavigationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21136 | { |
21137 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceNavigationConstructorSetter>(*state, thisValue, encodedValue, "PerformanceNavigation" ); |
21138 | } |
21139 | |
21140 | static inline JSValue jsDOMWindowPerformanceObserverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21141 | { |
21142 | UNUSED_PARAM(throwScope); |
21143 | UNUSED_PARAM(state); |
21144 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21145 | return jsUndefined(); |
21146 | return JSPerformanceObserver::getConstructor(state.vm(), &thisObject); |
21147 | } |
21148 | |
21149 | EncodedJSValue jsDOMWindowPerformanceObserverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21150 | { |
21151 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceObserverConstructorGetter>(*state, thisValue, "PerformanceObserver" ); |
21152 | } |
21153 | |
21154 | static inline bool setJSDOMWindowPerformanceObserverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21155 | { |
21156 | UNUSED_PARAM(throwScope); |
21157 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21158 | return false; |
21159 | // Shadowing a built-in constructor. |
21160 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceObserver" ), strlen("PerformanceObserver" )), value); |
21161 | } |
21162 | |
21163 | bool setJSDOMWindowPerformanceObserverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21164 | { |
21165 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceObserverConstructorSetter>(*state, thisValue, encodedValue, "PerformanceObserver" ); |
21166 | } |
21167 | |
21168 | static inline JSValue jsDOMWindowPerformanceObserverEntryListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21169 | { |
21170 | UNUSED_PARAM(throwScope); |
21171 | UNUSED_PARAM(state); |
21172 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21173 | return jsUndefined(); |
21174 | return JSPerformanceObserverEntryList::getConstructor(state.vm(), &thisObject); |
21175 | } |
21176 | |
21177 | EncodedJSValue jsDOMWindowPerformanceObserverEntryListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21178 | { |
21179 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceObserverEntryListConstructorGetter>(*state, thisValue, "PerformanceObserverEntryList" ); |
21180 | } |
21181 | |
21182 | static inline bool setJSDOMWindowPerformanceObserverEntryListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21183 | { |
21184 | UNUSED_PARAM(throwScope); |
21185 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21186 | return false; |
21187 | // Shadowing a built-in constructor. |
21188 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceObserverEntryList" ), strlen("PerformanceObserverEntryList" )), value); |
21189 | } |
21190 | |
21191 | bool setJSDOMWindowPerformanceObserverEntryListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21192 | { |
21193 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceObserverEntryListConstructorSetter>(*state, thisValue, encodedValue, "PerformanceObserverEntryList" ); |
21194 | } |
21195 | |
21196 | static inline JSValue jsDOMWindowPerformanceResourceTimingConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21197 | { |
21198 | UNUSED_PARAM(throwScope); |
21199 | UNUSED_PARAM(state); |
21200 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21201 | return jsUndefined(); |
21202 | return JSPerformanceResourceTiming::getConstructor(state.vm(), &thisObject); |
21203 | } |
21204 | |
21205 | EncodedJSValue jsDOMWindowPerformanceResourceTimingConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21206 | { |
21207 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceResourceTimingConstructorGetter>(*state, thisValue, "PerformanceResourceTiming" ); |
21208 | } |
21209 | |
21210 | static inline bool setJSDOMWindowPerformanceResourceTimingConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21211 | { |
21212 | UNUSED_PARAM(throwScope); |
21213 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21214 | return false; |
21215 | // Shadowing a built-in constructor. |
21216 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceResourceTiming" ), strlen("PerformanceResourceTiming" )), value); |
21217 | } |
21218 | |
21219 | bool setJSDOMWindowPerformanceResourceTimingConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21220 | { |
21221 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceResourceTimingConstructorSetter>(*state, thisValue, encodedValue, "PerformanceResourceTiming" ); |
21222 | } |
21223 | |
21224 | static inline JSValue jsDOMWindowPerformanceServerTimingConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21225 | { |
21226 | UNUSED_PARAM(throwScope); |
21227 | UNUSED_PARAM(state); |
21228 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21229 | return jsUndefined(); |
21230 | return JSPerformanceServerTiming::getConstructor(state.vm(), &thisObject); |
21231 | } |
21232 | |
21233 | EncodedJSValue jsDOMWindowPerformanceServerTimingConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21234 | { |
21235 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceServerTimingConstructorGetter>(*state, thisValue, "PerformanceServerTiming" ); |
21236 | } |
21237 | |
21238 | static inline bool setJSDOMWindowPerformanceServerTimingConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21239 | { |
21240 | UNUSED_PARAM(throwScope); |
21241 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21242 | return false; |
21243 | // Shadowing a built-in constructor. |
21244 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceServerTiming" ), strlen("PerformanceServerTiming" )), value); |
21245 | } |
21246 | |
21247 | bool setJSDOMWindowPerformanceServerTimingConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21248 | { |
21249 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceServerTimingConstructorSetter>(*state, thisValue, encodedValue, "PerformanceServerTiming" ); |
21250 | } |
21251 | |
21252 | static inline JSValue jsDOMWindowPerformanceTimingConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21253 | { |
21254 | UNUSED_PARAM(throwScope); |
21255 | UNUSED_PARAM(state); |
21256 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21257 | return jsUndefined(); |
21258 | return JSPerformanceTiming::getConstructor(state.vm(), &thisObject); |
21259 | } |
21260 | |
21261 | EncodedJSValue jsDOMWindowPerformanceTimingConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21262 | { |
21263 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceTimingConstructorGetter>(*state, thisValue, "PerformanceTiming" ); |
21264 | } |
21265 | |
21266 | static inline bool setJSDOMWindowPerformanceTimingConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21267 | { |
21268 | UNUSED_PARAM(throwScope); |
21269 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21270 | return false; |
21271 | // Shadowing a built-in constructor. |
21272 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PerformanceTiming" ), strlen("PerformanceTiming" )), value); |
21273 | } |
21274 | |
21275 | bool setJSDOMWindowPerformanceTimingConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21276 | { |
21277 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceTimingConstructorSetter>(*state, thisValue, encodedValue, "PerformanceTiming" ); |
21278 | } |
21279 | |
21280 | #if ENABLE(RESIZE_OBSERVER) |
21281 | static inline JSValue jsDOMWindowResizeObserverConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21282 | { |
21283 | UNUSED_PARAM(throwScope); |
21284 | UNUSED_PARAM(state); |
21285 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21286 | return jsUndefined(); |
21287 | return JSResizeObserver::getConstructor(state.vm(), &thisObject); |
21288 | } |
21289 | |
21290 | EncodedJSValue jsDOMWindowResizeObserverConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21291 | { |
21292 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowResizeObserverConstructorGetter>(*state, thisValue, "ResizeObserver" ); |
21293 | } |
21294 | |
21295 | #endif |
21296 | |
21297 | #if ENABLE(RESIZE_OBSERVER) |
21298 | static inline bool setJSDOMWindowResizeObserverConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21299 | { |
21300 | UNUSED_PARAM(throwScope); |
21301 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21302 | return false; |
21303 | // Shadowing a built-in constructor. |
21304 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ResizeObserver" ), strlen("ResizeObserver" )), value); |
21305 | } |
21306 | |
21307 | bool setJSDOMWindowResizeObserverConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21308 | { |
21309 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowResizeObserverConstructorSetter>(*state, thisValue, encodedValue, "ResizeObserver" ); |
21310 | } |
21311 | |
21312 | #endif |
21313 | |
21314 | #if ENABLE(RESIZE_OBSERVER) |
21315 | static inline JSValue jsDOMWindowResizeObserverEntryConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21316 | { |
21317 | UNUSED_PARAM(throwScope); |
21318 | UNUSED_PARAM(state); |
21319 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21320 | return jsUndefined(); |
21321 | return JSResizeObserverEntry::getConstructor(state.vm(), &thisObject); |
21322 | } |
21323 | |
21324 | EncodedJSValue jsDOMWindowResizeObserverEntryConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21325 | { |
21326 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowResizeObserverEntryConstructorGetter>(*state, thisValue, "ResizeObserverEntry" ); |
21327 | } |
21328 | |
21329 | #endif |
21330 | |
21331 | #if ENABLE(RESIZE_OBSERVER) |
21332 | static inline bool setJSDOMWindowResizeObserverEntryConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21333 | { |
21334 | UNUSED_PARAM(throwScope); |
21335 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21336 | return false; |
21337 | // Shadowing a built-in constructor. |
21338 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ResizeObserverEntry" ), strlen("ResizeObserverEntry" )), value); |
21339 | } |
21340 | |
21341 | bool setJSDOMWindowResizeObserverEntryConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21342 | { |
21343 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowResizeObserverEntryConstructorSetter>(*state, thisValue, encodedValue, "ResizeObserverEntry" ); |
21344 | } |
21345 | |
21346 | #endif |
21347 | |
21348 | static inline JSValue jsDOMWindowScreenConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21349 | { |
21350 | UNUSED_PARAM(throwScope); |
21351 | UNUSED_PARAM(state); |
21352 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21353 | return jsUndefined(); |
21354 | return JSScreen::getConstructor(state.vm(), &thisObject); |
21355 | } |
21356 | |
21357 | EncodedJSValue jsDOMWindowScreenConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21358 | { |
21359 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowScreenConstructorGetter>(*state, thisValue, "Screen" ); |
21360 | } |
21361 | |
21362 | static inline bool setJSDOMWindowScreenConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21363 | { |
21364 | UNUSED_PARAM(throwScope); |
21365 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21366 | return false; |
21367 | // Shadowing a built-in constructor. |
21368 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Screen" ), strlen("Screen" )), value); |
21369 | } |
21370 | |
21371 | bool setJSDOMWindowScreenConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21372 | { |
21373 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowScreenConstructorSetter>(*state, thisValue, encodedValue, "Screen" ); |
21374 | } |
21375 | |
21376 | static inline JSValue jsDOMWindowUndoItemConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21377 | { |
21378 | UNUSED_PARAM(throwScope); |
21379 | UNUSED_PARAM(state); |
21380 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21381 | return jsUndefined(); |
21382 | return JSUndoItem::getConstructor(state.vm(), &thisObject); |
21383 | } |
21384 | |
21385 | EncodedJSValue jsDOMWindowUndoItemConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21386 | { |
21387 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowUndoItemConstructorGetter>(*state, thisValue, "UndoItem" ); |
21388 | } |
21389 | |
21390 | static inline bool setJSDOMWindowUndoItemConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21391 | { |
21392 | UNUSED_PARAM(throwScope); |
21393 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21394 | return false; |
21395 | // Shadowing a built-in constructor. |
21396 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("UndoItem" ), strlen("UndoItem" )), value); |
21397 | } |
21398 | |
21399 | bool setJSDOMWindowUndoItemConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21400 | { |
21401 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowUndoItemConstructorSetter>(*state, thisValue, encodedValue, "UndoItem" ); |
21402 | } |
21403 | |
21404 | static inline JSValue jsDOMWindowUndoManagerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21405 | { |
21406 | UNUSED_PARAM(throwScope); |
21407 | UNUSED_PARAM(state); |
21408 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21409 | return jsUndefined(); |
21410 | return JSUndoManager::getConstructor(state.vm(), &thisObject); |
21411 | } |
21412 | |
21413 | EncodedJSValue jsDOMWindowUndoManagerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21414 | { |
21415 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowUndoManagerConstructorGetter>(*state, thisValue, "UndoManager" ); |
21416 | } |
21417 | |
21418 | static inline bool setJSDOMWindowUndoManagerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21419 | { |
21420 | UNUSED_PARAM(throwScope); |
21421 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21422 | return false; |
21423 | // Shadowing a built-in constructor. |
21424 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("UndoManager" ), strlen("UndoManager" )), value); |
21425 | } |
21426 | |
21427 | bool setJSDOMWindowUndoManagerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21428 | { |
21429 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowUndoManagerConstructorSetter>(*state, thisValue, encodedValue, "UndoManager" ); |
21430 | } |
21431 | |
21432 | #if ENABLE(USER_MESSAGE_HANDLERS) |
21433 | static inline JSValue jsDOMWindowUserMessageHandlerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21434 | { |
21435 | UNUSED_PARAM(throwScope); |
21436 | UNUSED_PARAM(state); |
21437 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21438 | return jsUndefined(); |
21439 | return JSUserMessageHandler::getConstructor(state.vm(), &thisObject); |
21440 | } |
21441 | |
21442 | EncodedJSValue jsDOMWindowUserMessageHandlerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21443 | { |
21444 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowUserMessageHandlerConstructorGetter>(*state, thisValue, "UserMessageHandler" ); |
21445 | } |
21446 | |
21447 | #endif |
21448 | |
21449 | #if ENABLE(USER_MESSAGE_HANDLERS) |
21450 | static inline bool setJSDOMWindowUserMessageHandlerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21451 | { |
21452 | UNUSED_PARAM(throwScope); |
21453 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21454 | return false; |
21455 | // Shadowing a built-in constructor. |
21456 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("UserMessageHandler" ), strlen("UserMessageHandler" )), value); |
21457 | } |
21458 | |
21459 | bool setJSDOMWindowUserMessageHandlerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21460 | { |
21461 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowUserMessageHandlerConstructorSetter>(*state, thisValue, encodedValue, "UserMessageHandler" ); |
21462 | } |
21463 | |
21464 | #endif |
21465 | |
21466 | #if ENABLE(USER_MESSAGE_HANDLERS) |
21467 | static inline JSValue jsDOMWindowUserMessageHandlersNamespaceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21468 | { |
21469 | UNUSED_PARAM(throwScope); |
21470 | UNUSED_PARAM(state); |
21471 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21472 | return jsUndefined(); |
21473 | return JSUserMessageHandlersNamespace::getConstructor(state.vm(), &thisObject); |
21474 | } |
21475 | |
21476 | EncodedJSValue jsDOMWindowUserMessageHandlersNamespaceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21477 | { |
21478 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowUserMessageHandlersNamespaceConstructorGetter>(*state, thisValue, "UserMessageHandlersNamespace" ); |
21479 | } |
21480 | |
21481 | #endif |
21482 | |
21483 | #if ENABLE(USER_MESSAGE_HANDLERS) |
21484 | static inline bool setJSDOMWindowUserMessageHandlersNamespaceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21485 | { |
21486 | UNUSED_PARAM(throwScope); |
21487 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21488 | return false; |
21489 | // Shadowing a built-in constructor. |
21490 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("UserMessageHandlersNamespace" ), strlen("UserMessageHandlersNamespace" )), value); |
21491 | } |
21492 | |
21493 | bool setJSDOMWindowUserMessageHandlersNamespaceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21494 | { |
21495 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowUserMessageHandlersNamespaceConstructorSetter>(*state, thisValue, encodedValue, "UserMessageHandlersNamespace" ); |
21496 | } |
21497 | |
21498 | #endif |
21499 | |
21500 | static inline JSValue jsDOMWindowVisualViewportConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21501 | { |
21502 | UNUSED_PARAM(throwScope); |
21503 | UNUSED_PARAM(state); |
21504 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21505 | return jsUndefined(); |
21506 | return JSVisualViewport::getConstructor(state.vm(), &thisObject); |
21507 | } |
21508 | |
21509 | EncodedJSValue jsDOMWindowVisualViewportConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21510 | { |
21511 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowVisualViewportConstructorGetter>(*state, thisValue, "VisualViewport" ); |
21512 | } |
21513 | |
21514 | static inline bool setJSDOMWindowVisualViewportConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21515 | { |
21516 | UNUSED_PARAM(throwScope); |
21517 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21518 | return false; |
21519 | // Shadowing a built-in constructor. |
21520 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("VisualViewport" ), strlen("VisualViewport" )), value); |
21521 | } |
21522 | |
21523 | bool setJSDOMWindowVisualViewportConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21524 | { |
21525 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowVisualViewportConstructorSetter>(*state, thisValue, encodedValue, "VisualViewport" ); |
21526 | } |
21527 | |
21528 | #if ENABLE(USER_MESSAGE_HANDLERS) |
21529 | static inline JSValue jsDOMWindowWebKitNamespaceConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21530 | { |
21531 | UNUSED_PARAM(throwScope); |
21532 | UNUSED_PARAM(state); |
21533 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21534 | return jsUndefined(); |
21535 | return JSWebKitNamespace::getConstructor(state.vm(), &thisObject); |
21536 | } |
21537 | |
21538 | EncodedJSValue jsDOMWindowWebKitNamespaceConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21539 | { |
21540 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitNamespaceConstructorGetter>(*state, thisValue, "WebKitNamespace" ); |
21541 | } |
21542 | |
21543 | #endif |
21544 | |
21545 | #if ENABLE(USER_MESSAGE_HANDLERS) |
21546 | static inline bool setJSDOMWindowWebKitNamespaceConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21547 | { |
21548 | UNUSED_PARAM(throwScope); |
21549 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21550 | return false; |
21551 | // Shadowing a built-in constructor. |
21552 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitNamespace" ), strlen("WebKitNamespace" )), value); |
21553 | } |
21554 | |
21555 | bool setJSDOMWindowWebKitNamespaceConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21556 | { |
21557 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitNamespaceConstructorSetter>(*state, thisValue, encodedValue, "WebKitNamespace" ); |
21558 | } |
21559 | |
21560 | #endif |
21561 | |
21562 | static inline JSValue jsDOMWindowWebKitPointConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21563 | { |
21564 | UNUSED_PARAM(throwScope); |
21565 | UNUSED_PARAM(state); |
21566 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21567 | return jsUndefined(); |
21568 | return JSWebKitPoint::getConstructor(state.vm(), &thisObject); |
21569 | } |
21570 | |
21571 | EncodedJSValue jsDOMWindowWebKitPointConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21572 | { |
21573 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebKitPointConstructorGetter>(*state, thisValue, "WebKitPoint" ); |
21574 | } |
21575 | |
21576 | static inline bool setJSDOMWindowWebKitPointConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21577 | { |
21578 | UNUSED_PARAM(throwScope); |
21579 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21580 | return false; |
21581 | // Shadowing a built-in constructor. |
21582 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("WebKitPoint" ), strlen("WebKitPoint" )), value); |
21583 | } |
21584 | |
21585 | bool setJSDOMWindowWebKitPointConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21586 | { |
21587 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWebKitPointConstructorSetter>(*state, thisValue, encodedValue, "WebKitPoint" ); |
21588 | } |
21589 | |
21590 | static inline JSValue jsDOMWindowMimeTypeConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21591 | { |
21592 | UNUSED_PARAM(throwScope); |
21593 | UNUSED_PARAM(state); |
21594 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21595 | return jsUndefined(); |
21596 | return JSDOMMimeType::getConstructor(state.vm(), &thisObject); |
21597 | } |
21598 | |
21599 | EncodedJSValue jsDOMWindowMimeTypeConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21600 | { |
21601 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMimeTypeConstructorGetter>(*state, thisValue, "MimeType" ); |
21602 | } |
21603 | |
21604 | static inline bool setJSDOMWindowMimeTypeConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21605 | { |
21606 | UNUSED_PARAM(throwScope); |
21607 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21608 | return false; |
21609 | // Shadowing a built-in constructor. |
21610 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MimeType" ), strlen("MimeType" )), value); |
21611 | } |
21612 | |
21613 | bool setJSDOMWindowMimeTypeConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21614 | { |
21615 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMimeTypeConstructorSetter>(*state, thisValue, encodedValue, "MimeType" ); |
21616 | } |
21617 | |
21618 | static inline JSValue jsDOMWindowMimeTypeArrayConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21619 | { |
21620 | UNUSED_PARAM(throwScope); |
21621 | UNUSED_PARAM(state); |
21622 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21623 | return jsUndefined(); |
21624 | return JSDOMMimeTypeArray::getConstructor(state.vm(), &thisObject); |
21625 | } |
21626 | |
21627 | EncodedJSValue jsDOMWindowMimeTypeArrayConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21628 | { |
21629 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowMimeTypeArrayConstructorGetter>(*state, thisValue, "MimeTypeArray" ); |
21630 | } |
21631 | |
21632 | static inline bool setJSDOMWindowMimeTypeArrayConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21633 | { |
21634 | UNUSED_PARAM(throwScope); |
21635 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21636 | return false; |
21637 | // Shadowing a built-in constructor. |
21638 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("MimeTypeArray" ), strlen("MimeTypeArray" )), value); |
21639 | } |
21640 | |
21641 | bool setJSDOMWindowMimeTypeArrayConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21642 | { |
21643 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowMimeTypeArrayConstructorSetter>(*state, thisValue, encodedValue, "MimeTypeArray" ); |
21644 | } |
21645 | |
21646 | static inline JSValue jsDOMWindowPluginConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21647 | { |
21648 | UNUSED_PARAM(throwScope); |
21649 | UNUSED_PARAM(state); |
21650 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21651 | return jsUndefined(); |
21652 | return JSDOMPlugin::getConstructor(state.vm(), &thisObject); |
21653 | } |
21654 | |
21655 | EncodedJSValue jsDOMWindowPluginConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21656 | { |
21657 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPluginConstructorGetter>(*state, thisValue, "Plugin" ); |
21658 | } |
21659 | |
21660 | static inline bool setJSDOMWindowPluginConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21661 | { |
21662 | UNUSED_PARAM(throwScope); |
21663 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21664 | return false; |
21665 | // Shadowing a built-in constructor. |
21666 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Plugin" ), strlen("Plugin" )), value); |
21667 | } |
21668 | |
21669 | bool setJSDOMWindowPluginConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21670 | { |
21671 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPluginConstructorSetter>(*state, thisValue, encodedValue, "Plugin" ); |
21672 | } |
21673 | |
21674 | static inline JSValue jsDOMWindowPluginArrayConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21675 | { |
21676 | UNUSED_PARAM(throwScope); |
21677 | UNUSED_PARAM(state); |
21678 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21679 | return jsUndefined(); |
21680 | return JSDOMPluginArray::getConstructor(state.vm(), &thisObject); |
21681 | } |
21682 | |
21683 | EncodedJSValue jsDOMWindowPluginArrayConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21684 | { |
21685 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPluginArrayConstructorGetter>(*state, thisValue, "PluginArray" ); |
21686 | } |
21687 | |
21688 | static inline bool setJSDOMWindowPluginArrayConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21689 | { |
21690 | UNUSED_PARAM(throwScope); |
21691 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21692 | return false; |
21693 | // Shadowing a built-in constructor. |
21694 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("PluginArray" ), strlen("PluginArray" )), value); |
21695 | } |
21696 | |
21697 | bool setJSDOMWindowPluginArrayConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21698 | { |
21699 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPluginArrayConstructorSetter>(*state, thisValue, encodedValue, "PluginArray" ); |
21700 | } |
21701 | |
21702 | static inline JSValue jsDOMWindowStorageConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21703 | { |
21704 | UNUSED_PARAM(throwScope); |
21705 | UNUSED_PARAM(state); |
21706 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21707 | return jsUndefined(); |
21708 | return JSStorage::getConstructor(state.vm(), &thisObject); |
21709 | } |
21710 | |
21711 | EncodedJSValue jsDOMWindowStorageConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21712 | { |
21713 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStorageConstructorGetter>(*state, thisValue, "Storage" ); |
21714 | } |
21715 | |
21716 | static inline bool setJSDOMWindowStorageConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21717 | { |
21718 | UNUSED_PARAM(throwScope); |
21719 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21720 | return false; |
21721 | // Shadowing a built-in constructor. |
21722 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Storage" ), strlen("Storage" )), value); |
21723 | } |
21724 | |
21725 | bool setJSDOMWindowStorageConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21726 | { |
21727 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStorageConstructorSetter>(*state, thisValue, encodedValue, "Storage" ); |
21728 | } |
21729 | |
21730 | static inline JSValue jsDOMWindowStorageEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21731 | { |
21732 | UNUSED_PARAM(throwScope); |
21733 | UNUSED_PARAM(state); |
21734 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21735 | return jsUndefined(); |
21736 | return JSStorageEvent::getConstructor(state.vm(), &thisObject); |
21737 | } |
21738 | |
21739 | EncodedJSValue jsDOMWindowStorageEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21740 | { |
21741 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowStorageEventConstructorGetter>(*state, thisValue, "StorageEvent" ); |
21742 | } |
21743 | |
21744 | static inline bool setJSDOMWindowStorageEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21745 | { |
21746 | UNUSED_PARAM(throwScope); |
21747 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21748 | return false; |
21749 | // Shadowing a built-in constructor. |
21750 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("StorageEvent" ), strlen("StorageEvent" )), value); |
21751 | } |
21752 | |
21753 | bool setJSDOMWindowStorageEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21754 | { |
21755 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowStorageEventConstructorSetter>(*state, thisValue, encodedValue, "StorageEvent" ); |
21756 | } |
21757 | |
21758 | static inline JSValue jsDOMWindowSVGAElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21759 | { |
21760 | UNUSED_PARAM(throwScope); |
21761 | UNUSED_PARAM(state); |
21762 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21763 | return jsUndefined(); |
21764 | return JSSVGAElement::getConstructor(state.vm(), &thisObject); |
21765 | } |
21766 | |
21767 | EncodedJSValue jsDOMWindowSVGAElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21768 | { |
21769 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAElementConstructorGetter>(*state, thisValue, "SVGAElement" ); |
21770 | } |
21771 | |
21772 | static inline bool setJSDOMWindowSVGAElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21773 | { |
21774 | UNUSED_PARAM(throwScope); |
21775 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21776 | return false; |
21777 | // Shadowing a built-in constructor. |
21778 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAElement" ), strlen("SVGAElement" )), value); |
21779 | } |
21780 | |
21781 | bool setJSDOMWindowSVGAElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21782 | { |
21783 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAElement" ); |
21784 | } |
21785 | |
21786 | #if ENABLE(SVG_FONTS) |
21787 | static inline JSValue jsDOMWindowSVGAltGlyphDefElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21788 | { |
21789 | UNUSED_PARAM(throwScope); |
21790 | UNUSED_PARAM(state); |
21791 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21792 | return jsUndefined(); |
21793 | return JSSVGAltGlyphDefElement::getConstructor(state.vm(), &thisObject); |
21794 | } |
21795 | |
21796 | EncodedJSValue jsDOMWindowSVGAltGlyphDefElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21797 | { |
21798 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAltGlyphDefElementConstructorGetter>(*state, thisValue, "SVGAltGlyphDefElement" ); |
21799 | } |
21800 | |
21801 | #endif |
21802 | |
21803 | #if ENABLE(SVG_FONTS) |
21804 | static inline bool setJSDOMWindowSVGAltGlyphDefElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21805 | { |
21806 | UNUSED_PARAM(throwScope); |
21807 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21808 | return false; |
21809 | // Shadowing a built-in constructor. |
21810 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAltGlyphDefElement" ), strlen("SVGAltGlyphDefElement" )), value); |
21811 | } |
21812 | |
21813 | bool setJSDOMWindowSVGAltGlyphDefElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21814 | { |
21815 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAltGlyphDefElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAltGlyphDefElement" ); |
21816 | } |
21817 | |
21818 | #endif |
21819 | |
21820 | #if ENABLE(SVG_FONTS) |
21821 | static inline JSValue jsDOMWindowSVGAltGlyphElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21822 | { |
21823 | UNUSED_PARAM(throwScope); |
21824 | UNUSED_PARAM(state); |
21825 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21826 | return jsUndefined(); |
21827 | return JSSVGAltGlyphElement::getConstructor(state.vm(), &thisObject); |
21828 | } |
21829 | |
21830 | EncodedJSValue jsDOMWindowSVGAltGlyphElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21831 | { |
21832 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAltGlyphElementConstructorGetter>(*state, thisValue, "SVGAltGlyphElement" ); |
21833 | } |
21834 | |
21835 | #endif |
21836 | |
21837 | #if ENABLE(SVG_FONTS) |
21838 | static inline bool setJSDOMWindowSVGAltGlyphElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21839 | { |
21840 | UNUSED_PARAM(throwScope); |
21841 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21842 | return false; |
21843 | // Shadowing a built-in constructor. |
21844 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAltGlyphElement" ), strlen("SVGAltGlyphElement" )), value); |
21845 | } |
21846 | |
21847 | bool setJSDOMWindowSVGAltGlyphElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21848 | { |
21849 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAltGlyphElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAltGlyphElement" ); |
21850 | } |
21851 | |
21852 | #endif |
21853 | |
21854 | #if ENABLE(SVG_FONTS) |
21855 | static inline JSValue jsDOMWindowSVGAltGlyphItemElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21856 | { |
21857 | UNUSED_PARAM(throwScope); |
21858 | UNUSED_PARAM(state); |
21859 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21860 | return jsUndefined(); |
21861 | return JSSVGAltGlyphItemElement::getConstructor(state.vm(), &thisObject); |
21862 | } |
21863 | |
21864 | EncodedJSValue jsDOMWindowSVGAltGlyphItemElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21865 | { |
21866 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAltGlyphItemElementConstructorGetter>(*state, thisValue, "SVGAltGlyphItemElement" ); |
21867 | } |
21868 | |
21869 | #endif |
21870 | |
21871 | #if ENABLE(SVG_FONTS) |
21872 | static inline bool setJSDOMWindowSVGAltGlyphItemElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21873 | { |
21874 | UNUSED_PARAM(throwScope); |
21875 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21876 | return false; |
21877 | // Shadowing a built-in constructor. |
21878 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAltGlyphItemElement" ), strlen("SVGAltGlyphItemElement" )), value); |
21879 | } |
21880 | |
21881 | bool setJSDOMWindowSVGAltGlyphItemElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21882 | { |
21883 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAltGlyphItemElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAltGlyphItemElement" ); |
21884 | } |
21885 | |
21886 | #endif |
21887 | |
21888 | static inline JSValue jsDOMWindowSVGAngleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21889 | { |
21890 | UNUSED_PARAM(throwScope); |
21891 | UNUSED_PARAM(state); |
21892 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21893 | return jsUndefined(); |
21894 | return JSSVGAngle::getConstructor(state.vm(), &thisObject); |
21895 | } |
21896 | |
21897 | EncodedJSValue jsDOMWindowSVGAngleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21898 | { |
21899 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAngleConstructorGetter>(*state, thisValue, "SVGAngle" ); |
21900 | } |
21901 | |
21902 | static inline bool setJSDOMWindowSVGAngleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21903 | { |
21904 | UNUSED_PARAM(throwScope); |
21905 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21906 | return false; |
21907 | // Shadowing a built-in constructor. |
21908 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAngle" ), strlen("SVGAngle" )), value); |
21909 | } |
21910 | |
21911 | bool setJSDOMWindowSVGAngleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21912 | { |
21913 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAngleConstructorSetter>(*state, thisValue, encodedValue, "SVGAngle" ); |
21914 | } |
21915 | |
21916 | static inline JSValue jsDOMWindowSVGAnimateColorElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21917 | { |
21918 | UNUSED_PARAM(throwScope); |
21919 | UNUSED_PARAM(state); |
21920 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21921 | return jsUndefined(); |
21922 | return JSSVGAnimateColorElement::getConstructor(state.vm(), &thisObject); |
21923 | } |
21924 | |
21925 | EncodedJSValue jsDOMWindowSVGAnimateColorElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21926 | { |
21927 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimateColorElementConstructorGetter>(*state, thisValue, "SVGAnimateColorElement" ); |
21928 | } |
21929 | |
21930 | static inline bool setJSDOMWindowSVGAnimateColorElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21931 | { |
21932 | UNUSED_PARAM(throwScope); |
21933 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21934 | return false; |
21935 | // Shadowing a built-in constructor. |
21936 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimateColorElement" ), strlen("SVGAnimateColorElement" )), value); |
21937 | } |
21938 | |
21939 | bool setJSDOMWindowSVGAnimateColorElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21940 | { |
21941 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimateColorElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimateColorElement" ); |
21942 | } |
21943 | |
21944 | static inline JSValue jsDOMWindowSVGAnimateElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21945 | { |
21946 | UNUSED_PARAM(throwScope); |
21947 | UNUSED_PARAM(state); |
21948 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21949 | return jsUndefined(); |
21950 | return JSSVGAnimateElement::getConstructor(state.vm(), &thisObject); |
21951 | } |
21952 | |
21953 | EncodedJSValue jsDOMWindowSVGAnimateElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21954 | { |
21955 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimateElementConstructorGetter>(*state, thisValue, "SVGAnimateElement" ); |
21956 | } |
21957 | |
21958 | static inline bool setJSDOMWindowSVGAnimateElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21959 | { |
21960 | UNUSED_PARAM(throwScope); |
21961 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21962 | return false; |
21963 | // Shadowing a built-in constructor. |
21964 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimateElement" ), strlen("SVGAnimateElement" )), value); |
21965 | } |
21966 | |
21967 | bool setJSDOMWindowSVGAnimateElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21968 | { |
21969 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimateElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimateElement" ); |
21970 | } |
21971 | |
21972 | static inline JSValue jsDOMWindowSVGAnimateMotionElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
21973 | { |
21974 | UNUSED_PARAM(throwScope); |
21975 | UNUSED_PARAM(state); |
21976 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21977 | return jsUndefined(); |
21978 | return JSSVGAnimateMotionElement::getConstructor(state.vm(), &thisObject); |
21979 | } |
21980 | |
21981 | EncodedJSValue jsDOMWindowSVGAnimateMotionElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
21982 | { |
21983 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimateMotionElementConstructorGetter>(*state, thisValue, "SVGAnimateMotionElement" ); |
21984 | } |
21985 | |
21986 | static inline bool setJSDOMWindowSVGAnimateMotionElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
21987 | { |
21988 | UNUSED_PARAM(throwScope); |
21989 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
21990 | return false; |
21991 | // Shadowing a built-in constructor. |
21992 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimateMotionElement" ), strlen("SVGAnimateMotionElement" )), value); |
21993 | } |
21994 | |
21995 | bool setJSDOMWindowSVGAnimateMotionElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
21996 | { |
21997 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimateMotionElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimateMotionElement" ); |
21998 | } |
21999 | |
22000 | static inline JSValue jsDOMWindowSVGAnimateTransformElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22001 | { |
22002 | UNUSED_PARAM(throwScope); |
22003 | UNUSED_PARAM(state); |
22004 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22005 | return jsUndefined(); |
22006 | return JSSVGAnimateTransformElement::getConstructor(state.vm(), &thisObject); |
22007 | } |
22008 | |
22009 | EncodedJSValue jsDOMWindowSVGAnimateTransformElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22010 | { |
22011 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimateTransformElementConstructorGetter>(*state, thisValue, "SVGAnimateTransformElement" ); |
22012 | } |
22013 | |
22014 | static inline bool setJSDOMWindowSVGAnimateTransformElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22015 | { |
22016 | UNUSED_PARAM(throwScope); |
22017 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22018 | return false; |
22019 | // Shadowing a built-in constructor. |
22020 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimateTransformElement" ), strlen("SVGAnimateTransformElement" )), value); |
22021 | } |
22022 | |
22023 | bool setJSDOMWindowSVGAnimateTransformElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22024 | { |
22025 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimateTransformElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimateTransformElement" ); |
22026 | } |
22027 | |
22028 | static inline JSValue jsDOMWindowSVGAnimatedAngleConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22029 | { |
22030 | UNUSED_PARAM(throwScope); |
22031 | UNUSED_PARAM(state); |
22032 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22033 | return jsUndefined(); |
22034 | return JSSVGAnimatedAngle::getConstructor(state.vm(), &thisObject); |
22035 | } |
22036 | |
22037 | EncodedJSValue jsDOMWindowSVGAnimatedAngleConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22038 | { |
22039 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedAngleConstructorGetter>(*state, thisValue, "SVGAnimatedAngle" ); |
22040 | } |
22041 | |
22042 | static inline bool setJSDOMWindowSVGAnimatedAngleConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22043 | { |
22044 | UNUSED_PARAM(throwScope); |
22045 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22046 | return false; |
22047 | // Shadowing a built-in constructor. |
22048 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedAngle" ), strlen("SVGAnimatedAngle" )), value); |
22049 | } |
22050 | |
22051 | bool setJSDOMWindowSVGAnimatedAngleConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22052 | { |
22053 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedAngleConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedAngle" ); |
22054 | } |
22055 | |
22056 | static inline JSValue jsDOMWindowSVGAnimatedBooleanConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22057 | { |
22058 | UNUSED_PARAM(throwScope); |
22059 | UNUSED_PARAM(state); |
22060 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22061 | return jsUndefined(); |
22062 | return JSSVGAnimatedBoolean::getConstructor(state.vm(), &thisObject); |
22063 | } |
22064 | |
22065 | EncodedJSValue jsDOMWindowSVGAnimatedBooleanConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22066 | { |
22067 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedBooleanConstructorGetter>(*state, thisValue, "SVGAnimatedBoolean" ); |
22068 | } |
22069 | |
22070 | static inline bool setJSDOMWindowSVGAnimatedBooleanConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22071 | { |
22072 | UNUSED_PARAM(throwScope); |
22073 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22074 | return false; |
22075 | // Shadowing a built-in constructor. |
22076 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedBoolean" ), strlen("SVGAnimatedBoolean" )), value); |
22077 | } |
22078 | |
22079 | bool setJSDOMWindowSVGAnimatedBooleanConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22080 | { |
22081 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedBooleanConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedBoolean" ); |
22082 | } |
22083 | |
22084 | static inline JSValue jsDOMWindowSVGAnimatedEnumerationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22085 | { |
22086 | UNUSED_PARAM(throwScope); |
22087 | UNUSED_PARAM(state); |
22088 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22089 | return jsUndefined(); |
22090 | return JSSVGAnimatedEnumeration::getConstructor(state.vm(), &thisObject); |
22091 | } |
22092 | |
22093 | EncodedJSValue jsDOMWindowSVGAnimatedEnumerationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22094 | { |
22095 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedEnumerationConstructorGetter>(*state, thisValue, "SVGAnimatedEnumeration" ); |
22096 | } |
22097 | |
22098 | static inline bool setJSDOMWindowSVGAnimatedEnumerationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22099 | { |
22100 | UNUSED_PARAM(throwScope); |
22101 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22102 | return false; |
22103 | // Shadowing a built-in constructor. |
22104 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedEnumeration" ), strlen("SVGAnimatedEnumeration" )), value); |
22105 | } |
22106 | |
22107 | bool setJSDOMWindowSVGAnimatedEnumerationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22108 | { |
22109 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedEnumerationConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedEnumeration" ); |
22110 | } |
22111 | |
22112 | static inline JSValue jsDOMWindowSVGAnimatedIntegerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22113 | { |
22114 | UNUSED_PARAM(throwScope); |
22115 | UNUSED_PARAM(state); |
22116 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22117 | return jsUndefined(); |
22118 | return JSSVGAnimatedInteger::getConstructor(state.vm(), &thisObject); |
22119 | } |
22120 | |
22121 | EncodedJSValue jsDOMWindowSVGAnimatedIntegerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22122 | { |
22123 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedIntegerConstructorGetter>(*state, thisValue, "SVGAnimatedInteger" ); |
22124 | } |
22125 | |
22126 | static inline bool setJSDOMWindowSVGAnimatedIntegerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22127 | { |
22128 | UNUSED_PARAM(throwScope); |
22129 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22130 | return false; |
22131 | // Shadowing a built-in constructor. |
22132 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedInteger" ), strlen("SVGAnimatedInteger" )), value); |
22133 | } |
22134 | |
22135 | bool setJSDOMWindowSVGAnimatedIntegerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22136 | { |
22137 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedIntegerConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedInteger" ); |
22138 | } |
22139 | |
22140 | static inline JSValue jsDOMWindowSVGAnimatedLengthConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22141 | { |
22142 | UNUSED_PARAM(throwScope); |
22143 | UNUSED_PARAM(state); |
22144 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22145 | return jsUndefined(); |
22146 | return JSSVGAnimatedLength::getConstructor(state.vm(), &thisObject); |
22147 | } |
22148 | |
22149 | EncodedJSValue jsDOMWindowSVGAnimatedLengthConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22150 | { |
22151 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedLengthConstructorGetter>(*state, thisValue, "SVGAnimatedLength" ); |
22152 | } |
22153 | |
22154 | static inline bool setJSDOMWindowSVGAnimatedLengthConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22155 | { |
22156 | UNUSED_PARAM(throwScope); |
22157 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22158 | return false; |
22159 | // Shadowing a built-in constructor. |
22160 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedLength" ), strlen("SVGAnimatedLength" )), value); |
22161 | } |
22162 | |
22163 | bool setJSDOMWindowSVGAnimatedLengthConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22164 | { |
22165 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedLengthConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedLength" ); |
22166 | } |
22167 | |
22168 | static inline JSValue jsDOMWindowSVGAnimatedLengthListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22169 | { |
22170 | UNUSED_PARAM(throwScope); |
22171 | UNUSED_PARAM(state); |
22172 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22173 | return jsUndefined(); |
22174 | return JSSVGAnimatedLengthList::getConstructor(state.vm(), &thisObject); |
22175 | } |
22176 | |
22177 | EncodedJSValue jsDOMWindowSVGAnimatedLengthListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22178 | { |
22179 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedLengthListConstructorGetter>(*state, thisValue, "SVGAnimatedLengthList" ); |
22180 | } |
22181 | |
22182 | static inline bool setJSDOMWindowSVGAnimatedLengthListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22183 | { |
22184 | UNUSED_PARAM(throwScope); |
22185 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22186 | return false; |
22187 | // Shadowing a built-in constructor. |
22188 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedLengthList" ), strlen("SVGAnimatedLengthList" )), value); |
22189 | } |
22190 | |
22191 | bool setJSDOMWindowSVGAnimatedLengthListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22192 | { |
22193 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedLengthListConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedLengthList" ); |
22194 | } |
22195 | |
22196 | static inline JSValue jsDOMWindowSVGAnimatedNumberConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22197 | { |
22198 | UNUSED_PARAM(throwScope); |
22199 | UNUSED_PARAM(state); |
22200 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22201 | return jsUndefined(); |
22202 | return JSSVGAnimatedNumber::getConstructor(state.vm(), &thisObject); |
22203 | } |
22204 | |
22205 | EncodedJSValue jsDOMWindowSVGAnimatedNumberConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22206 | { |
22207 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedNumberConstructorGetter>(*state, thisValue, "SVGAnimatedNumber" ); |
22208 | } |
22209 | |
22210 | static inline bool setJSDOMWindowSVGAnimatedNumberConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22211 | { |
22212 | UNUSED_PARAM(throwScope); |
22213 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22214 | return false; |
22215 | // Shadowing a built-in constructor. |
22216 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedNumber" ), strlen("SVGAnimatedNumber" )), value); |
22217 | } |
22218 | |
22219 | bool setJSDOMWindowSVGAnimatedNumberConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22220 | { |
22221 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedNumberConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedNumber" ); |
22222 | } |
22223 | |
22224 | static inline JSValue jsDOMWindowSVGAnimatedNumberListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22225 | { |
22226 | UNUSED_PARAM(throwScope); |
22227 | UNUSED_PARAM(state); |
22228 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22229 | return jsUndefined(); |
22230 | return JSSVGAnimatedNumberList::getConstructor(state.vm(), &thisObject); |
22231 | } |
22232 | |
22233 | EncodedJSValue jsDOMWindowSVGAnimatedNumberListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22234 | { |
22235 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedNumberListConstructorGetter>(*state, thisValue, "SVGAnimatedNumberList" ); |
22236 | } |
22237 | |
22238 | static inline bool setJSDOMWindowSVGAnimatedNumberListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22239 | { |
22240 | UNUSED_PARAM(throwScope); |
22241 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22242 | return false; |
22243 | // Shadowing a built-in constructor. |
22244 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedNumberList" ), strlen("SVGAnimatedNumberList" )), value); |
22245 | } |
22246 | |
22247 | bool setJSDOMWindowSVGAnimatedNumberListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22248 | { |
22249 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedNumberListConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedNumberList" ); |
22250 | } |
22251 | |
22252 | static inline JSValue jsDOMWindowSVGAnimatedPreserveAspectRatioConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22253 | { |
22254 | UNUSED_PARAM(throwScope); |
22255 | UNUSED_PARAM(state); |
22256 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22257 | return jsUndefined(); |
22258 | return JSSVGAnimatedPreserveAspectRatio::getConstructor(state.vm(), &thisObject); |
22259 | } |
22260 | |
22261 | EncodedJSValue jsDOMWindowSVGAnimatedPreserveAspectRatioConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22262 | { |
22263 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedPreserveAspectRatioConstructorGetter>(*state, thisValue, "SVGAnimatedPreserveAspectRatio" ); |
22264 | } |
22265 | |
22266 | static inline bool setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22267 | { |
22268 | UNUSED_PARAM(throwScope); |
22269 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22270 | return false; |
22271 | // Shadowing a built-in constructor. |
22272 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedPreserveAspectRatio" ), strlen("SVGAnimatedPreserveAspectRatio" )), value); |
22273 | } |
22274 | |
22275 | bool setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22276 | { |
22277 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedPreserveAspectRatioConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedPreserveAspectRatio" ); |
22278 | } |
22279 | |
22280 | static inline JSValue jsDOMWindowSVGAnimatedRectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22281 | { |
22282 | UNUSED_PARAM(throwScope); |
22283 | UNUSED_PARAM(state); |
22284 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22285 | return jsUndefined(); |
22286 | return JSSVGAnimatedRect::getConstructor(state.vm(), &thisObject); |
22287 | } |
22288 | |
22289 | EncodedJSValue jsDOMWindowSVGAnimatedRectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22290 | { |
22291 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedRectConstructorGetter>(*state, thisValue, "SVGAnimatedRect" ); |
22292 | } |
22293 | |
22294 | static inline bool setJSDOMWindowSVGAnimatedRectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22295 | { |
22296 | UNUSED_PARAM(throwScope); |
22297 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22298 | return false; |
22299 | // Shadowing a built-in constructor. |
22300 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedRect" ), strlen("SVGAnimatedRect" )), value); |
22301 | } |
22302 | |
22303 | bool setJSDOMWindowSVGAnimatedRectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22304 | { |
22305 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedRectConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedRect" ); |
22306 | } |
22307 | |
22308 | static inline JSValue jsDOMWindowSVGAnimatedStringConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22309 | { |
22310 | UNUSED_PARAM(throwScope); |
22311 | UNUSED_PARAM(state); |
22312 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22313 | return jsUndefined(); |
22314 | return JSSVGAnimatedString::getConstructor(state.vm(), &thisObject); |
22315 | } |
22316 | |
22317 | EncodedJSValue jsDOMWindowSVGAnimatedStringConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22318 | { |
22319 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedStringConstructorGetter>(*state, thisValue, "SVGAnimatedString" ); |
22320 | } |
22321 | |
22322 | static inline bool setJSDOMWindowSVGAnimatedStringConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22323 | { |
22324 | UNUSED_PARAM(throwScope); |
22325 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22326 | return false; |
22327 | // Shadowing a built-in constructor. |
22328 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedString" ), strlen("SVGAnimatedString" )), value); |
22329 | } |
22330 | |
22331 | bool setJSDOMWindowSVGAnimatedStringConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22332 | { |
22333 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedStringConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedString" ); |
22334 | } |
22335 | |
22336 | static inline JSValue jsDOMWindowSVGAnimatedTransformListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22337 | { |
22338 | UNUSED_PARAM(throwScope); |
22339 | UNUSED_PARAM(state); |
22340 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22341 | return jsUndefined(); |
22342 | return JSSVGAnimatedTransformList::getConstructor(state.vm(), &thisObject); |
22343 | } |
22344 | |
22345 | EncodedJSValue jsDOMWindowSVGAnimatedTransformListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22346 | { |
22347 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimatedTransformListConstructorGetter>(*state, thisValue, "SVGAnimatedTransformList" ); |
22348 | } |
22349 | |
22350 | static inline bool setJSDOMWindowSVGAnimatedTransformListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22351 | { |
22352 | UNUSED_PARAM(throwScope); |
22353 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22354 | return false; |
22355 | // Shadowing a built-in constructor. |
22356 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimatedTransformList" ), strlen("SVGAnimatedTransformList" )), value); |
22357 | } |
22358 | |
22359 | bool setJSDOMWindowSVGAnimatedTransformListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22360 | { |
22361 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimatedTransformListConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimatedTransformList" ); |
22362 | } |
22363 | |
22364 | static inline JSValue jsDOMWindowSVGAnimationElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22365 | { |
22366 | UNUSED_PARAM(throwScope); |
22367 | UNUSED_PARAM(state); |
22368 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22369 | return jsUndefined(); |
22370 | return JSSVGAnimationElement::getConstructor(state.vm(), &thisObject); |
22371 | } |
22372 | |
22373 | EncodedJSValue jsDOMWindowSVGAnimationElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22374 | { |
22375 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGAnimationElementConstructorGetter>(*state, thisValue, "SVGAnimationElement" ); |
22376 | } |
22377 | |
22378 | static inline bool setJSDOMWindowSVGAnimationElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22379 | { |
22380 | UNUSED_PARAM(throwScope); |
22381 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22382 | return false; |
22383 | // Shadowing a built-in constructor. |
22384 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGAnimationElement" ), strlen("SVGAnimationElement" )), value); |
22385 | } |
22386 | |
22387 | bool setJSDOMWindowSVGAnimationElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22388 | { |
22389 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGAnimationElementConstructorSetter>(*state, thisValue, encodedValue, "SVGAnimationElement" ); |
22390 | } |
22391 | |
22392 | static inline JSValue jsDOMWindowSVGCircleElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22393 | { |
22394 | UNUSED_PARAM(throwScope); |
22395 | UNUSED_PARAM(state); |
22396 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22397 | return jsUndefined(); |
22398 | return JSSVGCircleElement::getConstructor(state.vm(), &thisObject); |
22399 | } |
22400 | |
22401 | EncodedJSValue jsDOMWindowSVGCircleElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22402 | { |
22403 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGCircleElementConstructorGetter>(*state, thisValue, "SVGCircleElement" ); |
22404 | } |
22405 | |
22406 | static inline bool setJSDOMWindowSVGCircleElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22407 | { |
22408 | UNUSED_PARAM(throwScope); |
22409 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22410 | return false; |
22411 | // Shadowing a built-in constructor. |
22412 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGCircleElement" ), strlen("SVGCircleElement" )), value); |
22413 | } |
22414 | |
22415 | bool setJSDOMWindowSVGCircleElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22416 | { |
22417 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGCircleElementConstructorSetter>(*state, thisValue, encodedValue, "SVGCircleElement" ); |
22418 | } |
22419 | |
22420 | static inline JSValue jsDOMWindowSVGClipPathElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22421 | { |
22422 | UNUSED_PARAM(throwScope); |
22423 | UNUSED_PARAM(state); |
22424 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22425 | return jsUndefined(); |
22426 | return JSSVGClipPathElement::getConstructor(state.vm(), &thisObject); |
22427 | } |
22428 | |
22429 | EncodedJSValue jsDOMWindowSVGClipPathElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22430 | { |
22431 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGClipPathElementConstructorGetter>(*state, thisValue, "SVGClipPathElement" ); |
22432 | } |
22433 | |
22434 | static inline bool setJSDOMWindowSVGClipPathElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22435 | { |
22436 | UNUSED_PARAM(throwScope); |
22437 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22438 | return false; |
22439 | // Shadowing a built-in constructor. |
22440 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGClipPathElement" ), strlen("SVGClipPathElement" )), value); |
22441 | } |
22442 | |
22443 | bool setJSDOMWindowSVGClipPathElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22444 | { |
22445 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGClipPathElementConstructorSetter>(*state, thisValue, encodedValue, "SVGClipPathElement" ); |
22446 | } |
22447 | |
22448 | static inline JSValue jsDOMWindowSVGComponentTransferFunctionElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22449 | { |
22450 | UNUSED_PARAM(throwScope); |
22451 | UNUSED_PARAM(state); |
22452 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22453 | return jsUndefined(); |
22454 | return JSSVGComponentTransferFunctionElement::getConstructor(state.vm(), &thisObject); |
22455 | } |
22456 | |
22457 | EncodedJSValue jsDOMWindowSVGComponentTransferFunctionElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22458 | { |
22459 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGComponentTransferFunctionElementConstructorGetter>(*state, thisValue, "SVGComponentTransferFunctionElement" ); |
22460 | } |
22461 | |
22462 | static inline bool setJSDOMWindowSVGComponentTransferFunctionElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22463 | { |
22464 | UNUSED_PARAM(throwScope); |
22465 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22466 | return false; |
22467 | // Shadowing a built-in constructor. |
22468 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGComponentTransferFunctionElement" ), strlen("SVGComponentTransferFunctionElement" )), value); |
22469 | } |
22470 | |
22471 | bool setJSDOMWindowSVGComponentTransferFunctionElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22472 | { |
22473 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGComponentTransferFunctionElementConstructorSetter>(*state, thisValue, encodedValue, "SVGComponentTransferFunctionElement" ); |
22474 | } |
22475 | |
22476 | static inline JSValue jsDOMWindowSVGCursorElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22477 | { |
22478 | UNUSED_PARAM(throwScope); |
22479 | UNUSED_PARAM(state); |
22480 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22481 | return jsUndefined(); |
22482 | return JSSVGCursorElement::getConstructor(state.vm(), &thisObject); |
22483 | } |
22484 | |
22485 | EncodedJSValue jsDOMWindowSVGCursorElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22486 | { |
22487 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGCursorElementConstructorGetter>(*state, thisValue, "SVGCursorElement" ); |
22488 | } |
22489 | |
22490 | static inline bool setJSDOMWindowSVGCursorElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22491 | { |
22492 | UNUSED_PARAM(throwScope); |
22493 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22494 | return false; |
22495 | // Shadowing a built-in constructor. |
22496 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGCursorElement" ), strlen("SVGCursorElement" )), value); |
22497 | } |
22498 | |
22499 | bool setJSDOMWindowSVGCursorElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22500 | { |
22501 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGCursorElementConstructorSetter>(*state, thisValue, encodedValue, "SVGCursorElement" ); |
22502 | } |
22503 | |
22504 | static inline JSValue jsDOMWindowSVGDefsElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22505 | { |
22506 | UNUSED_PARAM(throwScope); |
22507 | UNUSED_PARAM(state); |
22508 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22509 | return jsUndefined(); |
22510 | return JSSVGDefsElement::getConstructor(state.vm(), &thisObject); |
22511 | } |
22512 | |
22513 | EncodedJSValue jsDOMWindowSVGDefsElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22514 | { |
22515 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGDefsElementConstructorGetter>(*state, thisValue, "SVGDefsElement" ); |
22516 | } |
22517 | |
22518 | static inline bool setJSDOMWindowSVGDefsElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22519 | { |
22520 | UNUSED_PARAM(throwScope); |
22521 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22522 | return false; |
22523 | // Shadowing a built-in constructor. |
22524 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGDefsElement" ), strlen("SVGDefsElement" )), value); |
22525 | } |
22526 | |
22527 | bool setJSDOMWindowSVGDefsElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22528 | { |
22529 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGDefsElementConstructorSetter>(*state, thisValue, encodedValue, "SVGDefsElement" ); |
22530 | } |
22531 | |
22532 | static inline JSValue jsDOMWindowSVGDescElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22533 | { |
22534 | UNUSED_PARAM(throwScope); |
22535 | UNUSED_PARAM(state); |
22536 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22537 | return jsUndefined(); |
22538 | return JSSVGDescElement::getConstructor(state.vm(), &thisObject); |
22539 | } |
22540 | |
22541 | EncodedJSValue jsDOMWindowSVGDescElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22542 | { |
22543 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGDescElementConstructorGetter>(*state, thisValue, "SVGDescElement" ); |
22544 | } |
22545 | |
22546 | static inline bool setJSDOMWindowSVGDescElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22547 | { |
22548 | UNUSED_PARAM(throwScope); |
22549 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22550 | return false; |
22551 | // Shadowing a built-in constructor. |
22552 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGDescElement" ), strlen("SVGDescElement" )), value); |
22553 | } |
22554 | |
22555 | bool setJSDOMWindowSVGDescElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22556 | { |
22557 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGDescElementConstructorSetter>(*state, thisValue, encodedValue, "SVGDescElement" ); |
22558 | } |
22559 | |
22560 | static inline JSValue jsDOMWindowSVGElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22561 | { |
22562 | UNUSED_PARAM(throwScope); |
22563 | UNUSED_PARAM(state); |
22564 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22565 | return jsUndefined(); |
22566 | return JSSVGElement::getConstructor(state.vm(), &thisObject); |
22567 | } |
22568 | |
22569 | EncodedJSValue jsDOMWindowSVGElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22570 | { |
22571 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGElementConstructorGetter>(*state, thisValue, "SVGElement" ); |
22572 | } |
22573 | |
22574 | static inline bool setJSDOMWindowSVGElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22575 | { |
22576 | UNUSED_PARAM(throwScope); |
22577 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22578 | return false; |
22579 | // Shadowing a built-in constructor. |
22580 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGElement" ), strlen("SVGElement" )), value); |
22581 | } |
22582 | |
22583 | bool setJSDOMWindowSVGElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22584 | { |
22585 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGElementConstructorSetter>(*state, thisValue, encodedValue, "SVGElement" ); |
22586 | } |
22587 | |
22588 | static inline JSValue jsDOMWindowSVGEllipseElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22589 | { |
22590 | UNUSED_PARAM(throwScope); |
22591 | UNUSED_PARAM(state); |
22592 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22593 | return jsUndefined(); |
22594 | return JSSVGEllipseElement::getConstructor(state.vm(), &thisObject); |
22595 | } |
22596 | |
22597 | EncodedJSValue jsDOMWindowSVGEllipseElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22598 | { |
22599 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGEllipseElementConstructorGetter>(*state, thisValue, "SVGEllipseElement" ); |
22600 | } |
22601 | |
22602 | static inline bool setJSDOMWindowSVGEllipseElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22603 | { |
22604 | UNUSED_PARAM(throwScope); |
22605 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22606 | return false; |
22607 | // Shadowing a built-in constructor. |
22608 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGEllipseElement" ), strlen("SVGEllipseElement" )), value); |
22609 | } |
22610 | |
22611 | bool setJSDOMWindowSVGEllipseElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22612 | { |
22613 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGEllipseElementConstructorSetter>(*state, thisValue, encodedValue, "SVGEllipseElement" ); |
22614 | } |
22615 | |
22616 | static inline JSValue jsDOMWindowSVGFEBlendElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22617 | { |
22618 | UNUSED_PARAM(throwScope); |
22619 | UNUSED_PARAM(state); |
22620 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22621 | return jsUndefined(); |
22622 | return JSSVGFEBlendElement::getConstructor(state.vm(), &thisObject); |
22623 | } |
22624 | |
22625 | EncodedJSValue jsDOMWindowSVGFEBlendElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22626 | { |
22627 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEBlendElementConstructorGetter>(*state, thisValue, "SVGFEBlendElement" ); |
22628 | } |
22629 | |
22630 | static inline bool setJSDOMWindowSVGFEBlendElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22631 | { |
22632 | UNUSED_PARAM(throwScope); |
22633 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22634 | return false; |
22635 | // Shadowing a built-in constructor. |
22636 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEBlendElement" ), strlen("SVGFEBlendElement" )), value); |
22637 | } |
22638 | |
22639 | bool setJSDOMWindowSVGFEBlendElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22640 | { |
22641 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEBlendElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEBlendElement" ); |
22642 | } |
22643 | |
22644 | static inline JSValue jsDOMWindowSVGFEColorMatrixElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22645 | { |
22646 | UNUSED_PARAM(throwScope); |
22647 | UNUSED_PARAM(state); |
22648 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22649 | return jsUndefined(); |
22650 | return JSSVGFEColorMatrixElement::getConstructor(state.vm(), &thisObject); |
22651 | } |
22652 | |
22653 | EncodedJSValue jsDOMWindowSVGFEColorMatrixElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22654 | { |
22655 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEColorMatrixElementConstructorGetter>(*state, thisValue, "SVGFEColorMatrixElement" ); |
22656 | } |
22657 | |
22658 | static inline bool setJSDOMWindowSVGFEColorMatrixElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22659 | { |
22660 | UNUSED_PARAM(throwScope); |
22661 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22662 | return false; |
22663 | // Shadowing a built-in constructor. |
22664 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEColorMatrixElement" ), strlen("SVGFEColorMatrixElement" )), value); |
22665 | } |
22666 | |
22667 | bool setJSDOMWindowSVGFEColorMatrixElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22668 | { |
22669 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEColorMatrixElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEColorMatrixElement" ); |
22670 | } |
22671 | |
22672 | static inline JSValue jsDOMWindowSVGFEComponentTransferElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22673 | { |
22674 | UNUSED_PARAM(throwScope); |
22675 | UNUSED_PARAM(state); |
22676 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22677 | return jsUndefined(); |
22678 | return JSSVGFEComponentTransferElement::getConstructor(state.vm(), &thisObject); |
22679 | } |
22680 | |
22681 | EncodedJSValue jsDOMWindowSVGFEComponentTransferElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22682 | { |
22683 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEComponentTransferElementConstructorGetter>(*state, thisValue, "SVGFEComponentTransferElement" ); |
22684 | } |
22685 | |
22686 | static inline bool setJSDOMWindowSVGFEComponentTransferElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22687 | { |
22688 | UNUSED_PARAM(throwScope); |
22689 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22690 | return false; |
22691 | // Shadowing a built-in constructor. |
22692 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEComponentTransferElement" ), strlen("SVGFEComponentTransferElement" )), value); |
22693 | } |
22694 | |
22695 | bool setJSDOMWindowSVGFEComponentTransferElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22696 | { |
22697 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEComponentTransferElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEComponentTransferElement" ); |
22698 | } |
22699 | |
22700 | static inline JSValue jsDOMWindowSVGFECompositeElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22701 | { |
22702 | UNUSED_PARAM(throwScope); |
22703 | UNUSED_PARAM(state); |
22704 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22705 | return jsUndefined(); |
22706 | return JSSVGFECompositeElement::getConstructor(state.vm(), &thisObject); |
22707 | } |
22708 | |
22709 | EncodedJSValue jsDOMWindowSVGFECompositeElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22710 | { |
22711 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFECompositeElementConstructorGetter>(*state, thisValue, "SVGFECompositeElement" ); |
22712 | } |
22713 | |
22714 | static inline bool setJSDOMWindowSVGFECompositeElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22715 | { |
22716 | UNUSED_PARAM(throwScope); |
22717 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22718 | return false; |
22719 | // Shadowing a built-in constructor. |
22720 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFECompositeElement" ), strlen("SVGFECompositeElement" )), value); |
22721 | } |
22722 | |
22723 | bool setJSDOMWindowSVGFECompositeElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22724 | { |
22725 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFECompositeElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFECompositeElement" ); |
22726 | } |
22727 | |
22728 | static inline JSValue jsDOMWindowSVGFEConvolveMatrixElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22729 | { |
22730 | UNUSED_PARAM(throwScope); |
22731 | UNUSED_PARAM(state); |
22732 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22733 | return jsUndefined(); |
22734 | return JSSVGFEConvolveMatrixElement::getConstructor(state.vm(), &thisObject); |
22735 | } |
22736 | |
22737 | EncodedJSValue jsDOMWindowSVGFEConvolveMatrixElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22738 | { |
22739 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEConvolveMatrixElementConstructorGetter>(*state, thisValue, "SVGFEConvolveMatrixElement" ); |
22740 | } |
22741 | |
22742 | static inline bool setJSDOMWindowSVGFEConvolveMatrixElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22743 | { |
22744 | UNUSED_PARAM(throwScope); |
22745 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22746 | return false; |
22747 | // Shadowing a built-in constructor. |
22748 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEConvolveMatrixElement" ), strlen("SVGFEConvolveMatrixElement" )), value); |
22749 | } |
22750 | |
22751 | bool setJSDOMWindowSVGFEConvolveMatrixElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22752 | { |
22753 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEConvolveMatrixElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEConvolveMatrixElement" ); |
22754 | } |
22755 | |
22756 | static inline JSValue jsDOMWindowSVGFEDiffuseLightingElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22757 | { |
22758 | UNUSED_PARAM(throwScope); |
22759 | UNUSED_PARAM(state); |
22760 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22761 | return jsUndefined(); |
22762 | return JSSVGFEDiffuseLightingElement::getConstructor(state.vm(), &thisObject); |
22763 | } |
22764 | |
22765 | EncodedJSValue jsDOMWindowSVGFEDiffuseLightingElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22766 | { |
22767 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEDiffuseLightingElementConstructorGetter>(*state, thisValue, "SVGFEDiffuseLightingElement" ); |
22768 | } |
22769 | |
22770 | static inline bool setJSDOMWindowSVGFEDiffuseLightingElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22771 | { |
22772 | UNUSED_PARAM(throwScope); |
22773 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22774 | return false; |
22775 | // Shadowing a built-in constructor. |
22776 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEDiffuseLightingElement" ), strlen("SVGFEDiffuseLightingElement" )), value); |
22777 | } |
22778 | |
22779 | bool setJSDOMWindowSVGFEDiffuseLightingElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22780 | { |
22781 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEDiffuseLightingElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEDiffuseLightingElement" ); |
22782 | } |
22783 | |
22784 | static inline JSValue jsDOMWindowSVGFEDisplacementMapElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22785 | { |
22786 | UNUSED_PARAM(throwScope); |
22787 | UNUSED_PARAM(state); |
22788 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22789 | return jsUndefined(); |
22790 | return JSSVGFEDisplacementMapElement::getConstructor(state.vm(), &thisObject); |
22791 | } |
22792 | |
22793 | EncodedJSValue jsDOMWindowSVGFEDisplacementMapElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22794 | { |
22795 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEDisplacementMapElementConstructorGetter>(*state, thisValue, "SVGFEDisplacementMapElement" ); |
22796 | } |
22797 | |
22798 | static inline bool setJSDOMWindowSVGFEDisplacementMapElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22799 | { |
22800 | UNUSED_PARAM(throwScope); |
22801 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22802 | return false; |
22803 | // Shadowing a built-in constructor. |
22804 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEDisplacementMapElement" ), strlen("SVGFEDisplacementMapElement" )), value); |
22805 | } |
22806 | |
22807 | bool setJSDOMWindowSVGFEDisplacementMapElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22808 | { |
22809 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEDisplacementMapElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEDisplacementMapElement" ); |
22810 | } |
22811 | |
22812 | static inline JSValue jsDOMWindowSVGFEDistantLightElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22813 | { |
22814 | UNUSED_PARAM(throwScope); |
22815 | UNUSED_PARAM(state); |
22816 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22817 | return jsUndefined(); |
22818 | return JSSVGFEDistantLightElement::getConstructor(state.vm(), &thisObject); |
22819 | } |
22820 | |
22821 | EncodedJSValue jsDOMWindowSVGFEDistantLightElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22822 | { |
22823 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEDistantLightElementConstructorGetter>(*state, thisValue, "SVGFEDistantLightElement" ); |
22824 | } |
22825 | |
22826 | static inline bool setJSDOMWindowSVGFEDistantLightElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22827 | { |
22828 | UNUSED_PARAM(throwScope); |
22829 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22830 | return false; |
22831 | // Shadowing a built-in constructor. |
22832 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEDistantLightElement" ), strlen("SVGFEDistantLightElement" )), value); |
22833 | } |
22834 | |
22835 | bool setJSDOMWindowSVGFEDistantLightElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22836 | { |
22837 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEDistantLightElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEDistantLightElement" ); |
22838 | } |
22839 | |
22840 | static inline JSValue jsDOMWindowSVGFEDropShadowElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22841 | { |
22842 | UNUSED_PARAM(throwScope); |
22843 | UNUSED_PARAM(state); |
22844 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22845 | return jsUndefined(); |
22846 | return JSSVGFEDropShadowElement::getConstructor(state.vm(), &thisObject); |
22847 | } |
22848 | |
22849 | EncodedJSValue jsDOMWindowSVGFEDropShadowElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22850 | { |
22851 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEDropShadowElementConstructorGetter>(*state, thisValue, "SVGFEDropShadowElement" ); |
22852 | } |
22853 | |
22854 | static inline bool setJSDOMWindowSVGFEDropShadowElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22855 | { |
22856 | UNUSED_PARAM(throwScope); |
22857 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22858 | return false; |
22859 | // Shadowing a built-in constructor. |
22860 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEDropShadowElement" ), strlen("SVGFEDropShadowElement" )), value); |
22861 | } |
22862 | |
22863 | bool setJSDOMWindowSVGFEDropShadowElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22864 | { |
22865 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEDropShadowElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEDropShadowElement" ); |
22866 | } |
22867 | |
22868 | static inline JSValue jsDOMWindowSVGFEFloodElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22869 | { |
22870 | UNUSED_PARAM(throwScope); |
22871 | UNUSED_PARAM(state); |
22872 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22873 | return jsUndefined(); |
22874 | return JSSVGFEFloodElement::getConstructor(state.vm(), &thisObject); |
22875 | } |
22876 | |
22877 | EncodedJSValue jsDOMWindowSVGFEFloodElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22878 | { |
22879 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEFloodElementConstructorGetter>(*state, thisValue, "SVGFEFloodElement" ); |
22880 | } |
22881 | |
22882 | static inline bool setJSDOMWindowSVGFEFloodElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22883 | { |
22884 | UNUSED_PARAM(throwScope); |
22885 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22886 | return false; |
22887 | // Shadowing a built-in constructor. |
22888 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEFloodElement" ), strlen("SVGFEFloodElement" )), value); |
22889 | } |
22890 | |
22891 | bool setJSDOMWindowSVGFEFloodElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22892 | { |
22893 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEFloodElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEFloodElement" ); |
22894 | } |
22895 | |
22896 | static inline JSValue jsDOMWindowSVGFEFuncAElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22897 | { |
22898 | UNUSED_PARAM(throwScope); |
22899 | UNUSED_PARAM(state); |
22900 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22901 | return jsUndefined(); |
22902 | return JSSVGFEFuncAElement::getConstructor(state.vm(), &thisObject); |
22903 | } |
22904 | |
22905 | EncodedJSValue jsDOMWindowSVGFEFuncAElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22906 | { |
22907 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEFuncAElementConstructorGetter>(*state, thisValue, "SVGFEFuncAElement" ); |
22908 | } |
22909 | |
22910 | static inline bool setJSDOMWindowSVGFEFuncAElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22911 | { |
22912 | UNUSED_PARAM(throwScope); |
22913 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22914 | return false; |
22915 | // Shadowing a built-in constructor. |
22916 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEFuncAElement" ), strlen("SVGFEFuncAElement" )), value); |
22917 | } |
22918 | |
22919 | bool setJSDOMWindowSVGFEFuncAElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22920 | { |
22921 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEFuncAElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEFuncAElement" ); |
22922 | } |
22923 | |
22924 | static inline JSValue jsDOMWindowSVGFEFuncBElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22925 | { |
22926 | UNUSED_PARAM(throwScope); |
22927 | UNUSED_PARAM(state); |
22928 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22929 | return jsUndefined(); |
22930 | return JSSVGFEFuncBElement::getConstructor(state.vm(), &thisObject); |
22931 | } |
22932 | |
22933 | EncodedJSValue jsDOMWindowSVGFEFuncBElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22934 | { |
22935 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEFuncBElementConstructorGetter>(*state, thisValue, "SVGFEFuncBElement" ); |
22936 | } |
22937 | |
22938 | static inline bool setJSDOMWindowSVGFEFuncBElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22939 | { |
22940 | UNUSED_PARAM(throwScope); |
22941 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22942 | return false; |
22943 | // Shadowing a built-in constructor. |
22944 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEFuncBElement" ), strlen("SVGFEFuncBElement" )), value); |
22945 | } |
22946 | |
22947 | bool setJSDOMWindowSVGFEFuncBElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22948 | { |
22949 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEFuncBElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEFuncBElement" ); |
22950 | } |
22951 | |
22952 | static inline JSValue jsDOMWindowSVGFEFuncGElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22953 | { |
22954 | UNUSED_PARAM(throwScope); |
22955 | UNUSED_PARAM(state); |
22956 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22957 | return jsUndefined(); |
22958 | return JSSVGFEFuncGElement::getConstructor(state.vm(), &thisObject); |
22959 | } |
22960 | |
22961 | EncodedJSValue jsDOMWindowSVGFEFuncGElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22962 | { |
22963 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEFuncGElementConstructorGetter>(*state, thisValue, "SVGFEFuncGElement" ); |
22964 | } |
22965 | |
22966 | static inline bool setJSDOMWindowSVGFEFuncGElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22967 | { |
22968 | UNUSED_PARAM(throwScope); |
22969 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22970 | return false; |
22971 | // Shadowing a built-in constructor. |
22972 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEFuncGElement" ), strlen("SVGFEFuncGElement" )), value); |
22973 | } |
22974 | |
22975 | bool setJSDOMWindowSVGFEFuncGElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
22976 | { |
22977 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEFuncGElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEFuncGElement" ); |
22978 | } |
22979 | |
22980 | static inline JSValue jsDOMWindowSVGFEFuncRElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
22981 | { |
22982 | UNUSED_PARAM(throwScope); |
22983 | UNUSED_PARAM(state); |
22984 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22985 | return jsUndefined(); |
22986 | return JSSVGFEFuncRElement::getConstructor(state.vm(), &thisObject); |
22987 | } |
22988 | |
22989 | EncodedJSValue jsDOMWindowSVGFEFuncRElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
22990 | { |
22991 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEFuncRElementConstructorGetter>(*state, thisValue, "SVGFEFuncRElement" ); |
22992 | } |
22993 | |
22994 | static inline bool setJSDOMWindowSVGFEFuncRElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
22995 | { |
22996 | UNUSED_PARAM(throwScope); |
22997 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
22998 | return false; |
22999 | // Shadowing a built-in constructor. |
23000 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEFuncRElement" ), strlen("SVGFEFuncRElement" )), value); |
23001 | } |
23002 | |
23003 | bool setJSDOMWindowSVGFEFuncRElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23004 | { |
23005 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEFuncRElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEFuncRElement" ); |
23006 | } |
23007 | |
23008 | static inline JSValue jsDOMWindowSVGFEGaussianBlurElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23009 | { |
23010 | UNUSED_PARAM(throwScope); |
23011 | UNUSED_PARAM(state); |
23012 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23013 | return jsUndefined(); |
23014 | return JSSVGFEGaussianBlurElement::getConstructor(state.vm(), &thisObject); |
23015 | } |
23016 | |
23017 | EncodedJSValue jsDOMWindowSVGFEGaussianBlurElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23018 | { |
23019 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEGaussianBlurElementConstructorGetter>(*state, thisValue, "SVGFEGaussianBlurElement" ); |
23020 | } |
23021 | |
23022 | static inline bool setJSDOMWindowSVGFEGaussianBlurElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23023 | { |
23024 | UNUSED_PARAM(throwScope); |
23025 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23026 | return false; |
23027 | // Shadowing a built-in constructor. |
23028 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEGaussianBlurElement" ), strlen("SVGFEGaussianBlurElement" )), value); |
23029 | } |
23030 | |
23031 | bool setJSDOMWindowSVGFEGaussianBlurElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23032 | { |
23033 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEGaussianBlurElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEGaussianBlurElement" ); |
23034 | } |
23035 | |
23036 | static inline JSValue jsDOMWindowSVGFEImageElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23037 | { |
23038 | UNUSED_PARAM(throwScope); |
23039 | UNUSED_PARAM(state); |
23040 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23041 | return jsUndefined(); |
23042 | return JSSVGFEImageElement::getConstructor(state.vm(), &thisObject); |
23043 | } |
23044 | |
23045 | EncodedJSValue jsDOMWindowSVGFEImageElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23046 | { |
23047 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEImageElementConstructorGetter>(*state, thisValue, "SVGFEImageElement" ); |
23048 | } |
23049 | |
23050 | static inline bool setJSDOMWindowSVGFEImageElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23051 | { |
23052 | UNUSED_PARAM(throwScope); |
23053 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23054 | return false; |
23055 | // Shadowing a built-in constructor. |
23056 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEImageElement" ), strlen("SVGFEImageElement" )), value); |
23057 | } |
23058 | |
23059 | bool setJSDOMWindowSVGFEImageElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23060 | { |
23061 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEImageElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEImageElement" ); |
23062 | } |
23063 | |
23064 | static inline JSValue jsDOMWindowSVGFEMergeElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23065 | { |
23066 | UNUSED_PARAM(throwScope); |
23067 | UNUSED_PARAM(state); |
23068 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23069 | return jsUndefined(); |
23070 | return JSSVGFEMergeElement::getConstructor(state.vm(), &thisObject); |
23071 | } |
23072 | |
23073 | EncodedJSValue jsDOMWindowSVGFEMergeElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23074 | { |
23075 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEMergeElementConstructorGetter>(*state, thisValue, "SVGFEMergeElement" ); |
23076 | } |
23077 | |
23078 | static inline bool setJSDOMWindowSVGFEMergeElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23079 | { |
23080 | UNUSED_PARAM(throwScope); |
23081 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23082 | return false; |
23083 | // Shadowing a built-in constructor. |
23084 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEMergeElement" ), strlen("SVGFEMergeElement" )), value); |
23085 | } |
23086 | |
23087 | bool setJSDOMWindowSVGFEMergeElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23088 | { |
23089 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEMergeElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEMergeElement" ); |
23090 | } |
23091 | |
23092 | static inline JSValue jsDOMWindowSVGFEMergeNodeElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23093 | { |
23094 | UNUSED_PARAM(throwScope); |
23095 | UNUSED_PARAM(state); |
23096 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23097 | return jsUndefined(); |
23098 | return JSSVGFEMergeNodeElement::getConstructor(state.vm(), &thisObject); |
23099 | } |
23100 | |
23101 | EncodedJSValue jsDOMWindowSVGFEMergeNodeElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23102 | { |
23103 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEMergeNodeElementConstructorGetter>(*state, thisValue, "SVGFEMergeNodeElement" ); |
23104 | } |
23105 | |
23106 | static inline bool setJSDOMWindowSVGFEMergeNodeElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23107 | { |
23108 | UNUSED_PARAM(throwScope); |
23109 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23110 | return false; |
23111 | // Shadowing a built-in constructor. |
23112 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEMergeNodeElement" ), strlen("SVGFEMergeNodeElement" )), value); |
23113 | } |
23114 | |
23115 | bool setJSDOMWindowSVGFEMergeNodeElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23116 | { |
23117 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEMergeNodeElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEMergeNodeElement" ); |
23118 | } |
23119 | |
23120 | static inline JSValue jsDOMWindowSVGFEMorphologyElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23121 | { |
23122 | UNUSED_PARAM(throwScope); |
23123 | UNUSED_PARAM(state); |
23124 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23125 | return jsUndefined(); |
23126 | return JSSVGFEMorphologyElement::getConstructor(state.vm(), &thisObject); |
23127 | } |
23128 | |
23129 | EncodedJSValue jsDOMWindowSVGFEMorphologyElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23130 | { |
23131 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEMorphologyElementConstructorGetter>(*state, thisValue, "SVGFEMorphologyElement" ); |
23132 | } |
23133 | |
23134 | static inline bool setJSDOMWindowSVGFEMorphologyElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23135 | { |
23136 | UNUSED_PARAM(throwScope); |
23137 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23138 | return false; |
23139 | // Shadowing a built-in constructor. |
23140 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEMorphologyElement" ), strlen("SVGFEMorphologyElement" )), value); |
23141 | } |
23142 | |
23143 | bool setJSDOMWindowSVGFEMorphologyElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23144 | { |
23145 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEMorphologyElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEMorphologyElement" ); |
23146 | } |
23147 | |
23148 | static inline JSValue jsDOMWindowSVGFEOffsetElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23149 | { |
23150 | UNUSED_PARAM(throwScope); |
23151 | UNUSED_PARAM(state); |
23152 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23153 | return jsUndefined(); |
23154 | return JSSVGFEOffsetElement::getConstructor(state.vm(), &thisObject); |
23155 | } |
23156 | |
23157 | EncodedJSValue jsDOMWindowSVGFEOffsetElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23158 | { |
23159 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEOffsetElementConstructorGetter>(*state, thisValue, "SVGFEOffsetElement" ); |
23160 | } |
23161 | |
23162 | static inline bool setJSDOMWindowSVGFEOffsetElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23163 | { |
23164 | UNUSED_PARAM(throwScope); |
23165 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23166 | return false; |
23167 | // Shadowing a built-in constructor. |
23168 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEOffsetElement" ), strlen("SVGFEOffsetElement" )), value); |
23169 | } |
23170 | |
23171 | bool setJSDOMWindowSVGFEOffsetElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23172 | { |
23173 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEOffsetElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEOffsetElement" ); |
23174 | } |
23175 | |
23176 | static inline JSValue jsDOMWindowSVGFEPointLightElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23177 | { |
23178 | UNUSED_PARAM(throwScope); |
23179 | UNUSED_PARAM(state); |
23180 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23181 | return jsUndefined(); |
23182 | return JSSVGFEPointLightElement::getConstructor(state.vm(), &thisObject); |
23183 | } |
23184 | |
23185 | EncodedJSValue jsDOMWindowSVGFEPointLightElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23186 | { |
23187 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFEPointLightElementConstructorGetter>(*state, thisValue, "SVGFEPointLightElement" ); |
23188 | } |
23189 | |
23190 | static inline bool setJSDOMWindowSVGFEPointLightElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23191 | { |
23192 | UNUSED_PARAM(throwScope); |
23193 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23194 | return false; |
23195 | // Shadowing a built-in constructor. |
23196 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFEPointLightElement" ), strlen("SVGFEPointLightElement" )), value); |
23197 | } |
23198 | |
23199 | bool setJSDOMWindowSVGFEPointLightElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23200 | { |
23201 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFEPointLightElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFEPointLightElement" ); |
23202 | } |
23203 | |
23204 | static inline JSValue jsDOMWindowSVGFESpecularLightingElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23205 | { |
23206 | UNUSED_PARAM(throwScope); |
23207 | UNUSED_PARAM(state); |
23208 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23209 | return jsUndefined(); |
23210 | return JSSVGFESpecularLightingElement::getConstructor(state.vm(), &thisObject); |
23211 | } |
23212 | |
23213 | EncodedJSValue jsDOMWindowSVGFESpecularLightingElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23214 | { |
23215 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFESpecularLightingElementConstructorGetter>(*state, thisValue, "SVGFESpecularLightingElement" ); |
23216 | } |
23217 | |
23218 | static inline bool setJSDOMWindowSVGFESpecularLightingElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23219 | { |
23220 | UNUSED_PARAM(throwScope); |
23221 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23222 | return false; |
23223 | // Shadowing a built-in constructor. |
23224 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFESpecularLightingElement" ), strlen("SVGFESpecularLightingElement" )), value); |
23225 | } |
23226 | |
23227 | bool setJSDOMWindowSVGFESpecularLightingElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23228 | { |
23229 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFESpecularLightingElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFESpecularLightingElement" ); |
23230 | } |
23231 | |
23232 | static inline JSValue jsDOMWindowSVGFESpotLightElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23233 | { |
23234 | UNUSED_PARAM(throwScope); |
23235 | UNUSED_PARAM(state); |
23236 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23237 | return jsUndefined(); |
23238 | return JSSVGFESpotLightElement::getConstructor(state.vm(), &thisObject); |
23239 | } |
23240 | |
23241 | EncodedJSValue jsDOMWindowSVGFESpotLightElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23242 | { |
23243 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFESpotLightElementConstructorGetter>(*state, thisValue, "SVGFESpotLightElement" ); |
23244 | } |
23245 | |
23246 | static inline bool setJSDOMWindowSVGFESpotLightElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23247 | { |
23248 | UNUSED_PARAM(throwScope); |
23249 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23250 | return false; |
23251 | // Shadowing a built-in constructor. |
23252 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFESpotLightElement" ), strlen("SVGFESpotLightElement" )), value); |
23253 | } |
23254 | |
23255 | bool setJSDOMWindowSVGFESpotLightElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23256 | { |
23257 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFESpotLightElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFESpotLightElement" ); |
23258 | } |
23259 | |
23260 | static inline JSValue jsDOMWindowSVGFETileElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23261 | { |
23262 | UNUSED_PARAM(throwScope); |
23263 | UNUSED_PARAM(state); |
23264 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23265 | return jsUndefined(); |
23266 | return JSSVGFETileElement::getConstructor(state.vm(), &thisObject); |
23267 | } |
23268 | |
23269 | EncodedJSValue jsDOMWindowSVGFETileElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23270 | { |
23271 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFETileElementConstructorGetter>(*state, thisValue, "SVGFETileElement" ); |
23272 | } |
23273 | |
23274 | static inline bool setJSDOMWindowSVGFETileElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23275 | { |
23276 | UNUSED_PARAM(throwScope); |
23277 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23278 | return false; |
23279 | // Shadowing a built-in constructor. |
23280 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFETileElement" ), strlen("SVGFETileElement" )), value); |
23281 | } |
23282 | |
23283 | bool setJSDOMWindowSVGFETileElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23284 | { |
23285 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFETileElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFETileElement" ); |
23286 | } |
23287 | |
23288 | static inline JSValue jsDOMWindowSVGFETurbulenceElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23289 | { |
23290 | UNUSED_PARAM(throwScope); |
23291 | UNUSED_PARAM(state); |
23292 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23293 | return jsUndefined(); |
23294 | return JSSVGFETurbulenceElement::getConstructor(state.vm(), &thisObject); |
23295 | } |
23296 | |
23297 | EncodedJSValue jsDOMWindowSVGFETurbulenceElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23298 | { |
23299 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFETurbulenceElementConstructorGetter>(*state, thisValue, "SVGFETurbulenceElement" ); |
23300 | } |
23301 | |
23302 | static inline bool setJSDOMWindowSVGFETurbulenceElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23303 | { |
23304 | UNUSED_PARAM(throwScope); |
23305 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23306 | return false; |
23307 | // Shadowing a built-in constructor. |
23308 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFETurbulenceElement" ), strlen("SVGFETurbulenceElement" )), value); |
23309 | } |
23310 | |
23311 | bool setJSDOMWindowSVGFETurbulenceElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23312 | { |
23313 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFETurbulenceElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFETurbulenceElement" ); |
23314 | } |
23315 | |
23316 | static inline JSValue jsDOMWindowSVGFilterElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23317 | { |
23318 | UNUSED_PARAM(throwScope); |
23319 | UNUSED_PARAM(state); |
23320 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23321 | return jsUndefined(); |
23322 | return JSSVGFilterElement::getConstructor(state.vm(), &thisObject); |
23323 | } |
23324 | |
23325 | EncodedJSValue jsDOMWindowSVGFilterElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23326 | { |
23327 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFilterElementConstructorGetter>(*state, thisValue, "SVGFilterElement" ); |
23328 | } |
23329 | |
23330 | static inline bool setJSDOMWindowSVGFilterElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23331 | { |
23332 | UNUSED_PARAM(throwScope); |
23333 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23334 | return false; |
23335 | // Shadowing a built-in constructor. |
23336 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFilterElement" ), strlen("SVGFilterElement" )), value); |
23337 | } |
23338 | |
23339 | bool setJSDOMWindowSVGFilterElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23340 | { |
23341 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFilterElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFilterElement" ); |
23342 | } |
23343 | |
23344 | #if ENABLE(SVG_FONTS) |
23345 | static inline JSValue jsDOMWindowSVGFontElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23346 | { |
23347 | UNUSED_PARAM(throwScope); |
23348 | UNUSED_PARAM(state); |
23349 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23350 | return jsUndefined(); |
23351 | return JSSVGFontElement::getConstructor(state.vm(), &thisObject); |
23352 | } |
23353 | |
23354 | EncodedJSValue jsDOMWindowSVGFontElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23355 | { |
23356 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFontElementConstructorGetter>(*state, thisValue, "SVGFontElement" ); |
23357 | } |
23358 | |
23359 | #endif |
23360 | |
23361 | #if ENABLE(SVG_FONTS) |
23362 | static inline bool setJSDOMWindowSVGFontElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23363 | { |
23364 | UNUSED_PARAM(throwScope); |
23365 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23366 | return false; |
23367 | // Shadowing a built-in constructor. |
23368 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFontElement" ), strlen("SVGFontElement" )), value); |
23369 | } |
23370 | |
23371 | bool setJSDOMWindowSVGFontElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23372 | { |
23373 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFontElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFontElement" ); |
23374 | } |
23375 | |
23376 | #endif |
23377 | |
23378 | #if ENABLE(SVG_FONTS) |
23379 | static inline JSValue jsDOMWindowSVGFontFaceElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23380 | { |
23381 | UNUSED_PARAM(throwScope); |
23382 | UNUSED_PARAM(state); |
23383 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23384 | return jsUndefined(); |
23385 | return JSSVGFontFaceElement::getConstructor(state.vm(), &thisObject); |
23386 | } |
23387 | |
23388 | EncodedJSValue jsDOMWindowSVGFontFaceElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23389 | { |
23390 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFontFaceElementConstructorGetter>(*state, thisValue, "SVGFontFaceElement" ); |
23391 | } |
23392 | |
23393 | #endif |
23394 | |
23395 | #if ENABLE(SVG_FONTS) |
23396 | static inline bool setJSDOMWindowSVGFontFaceElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23397 | { |
23398 | UNUSED_PARAM(throwScope); |
23399 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23400 | return false; |
23401 | // Shadowing a built-in constructor. |
23402 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFontFaceElement" ), strlen("SVGFontFaceElement" )), value); |
23403 | } |
23404 | |
23405 | bool setJSDOMWindowSVGFontFaceElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23406 | { |
23407 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFontFaceElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFontFaceElement" ); |
23408 | } |
23409 | |
23410 | #endif |
23411 | |
23412 | #if ENABLE(SVG_FONTS) |
23413 | static inline JSValue jsDOMWindowSVGFontFaceFormatElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23414 | { |
23415 | UNUSED_PARAM(throwScope); |
23416 | UNUSED_PARAM(state); |
23417 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23418 | return jsUndefined(); |
23419 | return JSSVGFontFaceFormatElement::getConstructor(state.vm(), &thisObject); |
23420 | } |
23421 | |
23422 | EncodedJSValue jsDOMWindowSVGFontFaceFormatElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23423 | { |
23424 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFontFaceFormatElementConstructorGetter>(*state, thisValue, "SVGFontFaceFormatElement" ); |
23425 | } |
23426 | |
23427 | #endif |
23428 | |
23429 | #if ENABLE(SVG_FONTS) |
23430 | static inline bool setJSDOMWindowSVGFontFaceFormatElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23431 | { |
23432 | UNUSED_PARAM(throwScope); |
23433 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23434 | return false; |
23435 | // Shadowing a built-in constructor. |
23436 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFontFaceFormatElement" ), strlen("SVGFontFaceFormatElement" )), value); |
23437 | } |
23438 | |
23439 | bool setJSDOMWindowSVGFontFaceFormatElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23440 | { |
23441 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFontFaceFormatElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFontFaceFormatElement" ); |
23442 | } |
23443 | |
23444 | #endif |
23445 | |
23446 | #if ENABLE(SVG_FONTS) |
23447 | static inline JSValue jsDOMWindowSVGFontFaceNameElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23448 | { |
23449 | UNUSED_PARAM(throwScope); |
23450 | UNUSED_PARAM(state); |
23451 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23452 | return jsUndefined(); |
23453 | return JSSVGFontFaceNameElement::getConstructor(state.vm(), &thisObject); |
23454 | } |
23455 | |
23456 | EncodedJSValue jsDOMWindowSVGFontFaceNameElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23457 | { |
23458 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFontFaceNameElementConstructorGetter>(*state, thisValue, "SVGFontFaceNameElement" ); |
23459 | } |
23460 | |
23461 | #endif |
23462 | |
23463 | #if ENABLE(SVG_FONTS) |
23464 | static inline bool setJSDOMWindowSVGFontFaceNameElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23465 | { |
23466 | UNUSED_PARAM(throwScope); |
23467 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23468 | return false; |
23469 | // Shadowing a built-in constructor. |
23470 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFontFaceNameElement" ), strlen("SVGFontFaceNameElement" )), value); |
23471 | } |
23472 | |
23473 | bool setJSDOMWindowSVGFontFaceNameElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23474 | { |
23475 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFontFaceNameElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFontFaceNameElement" ); |
23476 | } |
23477 | |
23478 | #endif |
23479 | |
23480 | #if ENABLE(SVG_FONTS) |
23481 | static inline JSValue jsDOMWindowSVGFontFaceSrcElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23482 | { |
23483 | UNUSED_PARAM(throwScope); |
23484 | UNUSED_PARAM(state); |
23485 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23486 | return jsUndefined(); |
23487 | return JSSVGFontFaceSrcElement::getConstructor(state.vm(), &thisObject); |
23488 | } |
23489 | |
23490 | EncodedJSValue jsDOMWindowSVGFontFaceSrcElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23491 | { |
23492 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFontFaceSrcElementConstructorGetter>(*state, thisValue, "SVGFontFaceSrcElement" ); |
23493 | } |
23494 | |
23495 | #endif |
23496 | |
23497 | #if ENABLE(SVG_FONTS) |
23498 | static inline bool setJSDOMWindowSVGFontFaceSrcElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23499 | { |
23500 | UNUSED_PARAM(throwScope); |
23501 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23502 | return false; |
23503 | // Shadowing a built-in constructor. |
23504 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFontFaceSrcElement" ), strlen("SVGFontFaceSrcElement" )), value); |
23505 | } |
23506 | |
23507 | bool setJSDOMWindowSVGFontFaceSrcElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23508 | { |
23509 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFontFaceSrcElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFontFaceSrcElement" ); |
23510 | } |
23511 | |
23512 | #endif |
23513 | |
23514 | #if ENABLE(SVG_FONTS) |
23515 | static inline JSValue jsDOMWindowSVGFontFaceUriElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23516 | { |
23517 | UNUSED_PARAM(throwScope); |
23518 | UNUSED_PARAM(state); |
23519 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23520 | return jsUndefined(); |
23521 | return JSSVGFontFaceUriElement::getConstructor(state.vm(), &thisObject); |
23522 | } |
23523 | |
23524 | EncodedJSValue jsDOMWindowSVGFontFaceUriElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23525 | { |
23526 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGFontFaceUriElementConstructorGetter>(*state, thisValue, "SVGFontFaceUriElement" ); |
23527 | } |
23528 | |
23529 | #endif |
23530 | |
23531 | #if ENABLE(SVG_FONTS) |
23532 | static inline bool setJSDOMWindowSVGFontFaceUriElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23533 | { |
23534 | UNUSED_PARAM(throwScope); |
23535 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23536 | return false; |
23537 | // Shadowing a built-in constructor. |
23538 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGFontFaceUriElement" ), strlen("SVGFontFaceUriElement" )), value); |
23539 | } |
23540 | |
23541 | bool setJSDOMWindowSVGFontFaceUriElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23542 | { |
23543 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGFontFaceUriElementConstructorSetter>(*state, thisValue, encodedValue, "SVGFontFaceUriElement" ); |
23544 | } |
23545 | |
23546 | #endif |
23547 | |
23548 | static inline JSValue jsDOMWindowSVGForeignObjectElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23549 | { |
23550 | UNUSED_PARAM(throwScope); |
23551 | UNUSED_PARAM(state); |
23552 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23553 | return jsUndefined(); |
23554 | return JSSVGForeignObjectElement::getConstructor(state.vm(), &thisObject); |
23555 | } |
23556 | |
23557 | EncodedJSValue jsDOMWindowSVGForeignObjectElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23558 | { |
23559 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGForeignObjectElementConstructorGetter>(*state, thisValue, "SVGForeignObjectElement" ); |
23560 | } |
23561 | |
23562 | static inline bool setJSDOMWindowSVGForeignObjectElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23563 | { |
23564 | UNUSED_PARAM(throwScope); |
23565 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23566 | return false; |
23567 | // Shadowing a built-in constructor. |
23568 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGForeignObjectElement" ), strlen("SVGForeignObjectElement" )), value); |
23569 | } |
23570 | |
23571 | bool setJSDOMWindowSVGForeignObjectElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23572 | { |
23573 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGForeignObjectElementConstructorSetter>(*state, thisValue, encodedValue, "SVGForeignObjectElement" ); |
23574 | } |
23575 | |
23576 | static inline JSValue jsDOMWindowSVGGElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23577 | { |
23578 | UNUSED_PARAM(throwScope); |
23579 | UNUSED_PARAM(state); |
23580 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23581 | return jsUndefined(); |
23582 | return JSSVGGElement::getConstructor(state.vm(), &thisObject); |
23583 | } |
23584 | |
23585 | EncodedJSValue jsDOMWindowSVGGElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23586 | { |
23587 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGGElementConstructorGetter>(*state, thisValue, "SVGGElement" ); |
23588 | } |
23589 | |
23590 | static inline bool setJSDOMWindowSVGGElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23591 | { |
23592 | UNUSED_PARAM(throwScope); |
23593 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23594 | return false; |
23595 | // Shadowing a built-in constructor. |
23596 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGGElement" ), strlen("SVGGElement" )), value); |
23597 | } |
23598 | |
23599 | bool setJSDOMWindowSVGGElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23600 | { |
23601 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGGElementConstructorSetter>(*state, thisValue, encodedValue, "SVGGElement" ); |
23602 | } |
23603 | |
23604 | static inline JSValue jsDOMWindowSVGGeometryElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23605 | { |
23606 | UNUSED_PARAM(throwScope); |
23607 | UNUSED_PARAM(state); |
23608 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23609 | return jsUndefined(); |
23610 | return JSSVGGeometryElement::getConstructor(state.vm(), &thisObject); |
23611 | } |
23612 | |
23613 | EncodedJSValue jsDOMWindowSVGGeometryElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23614 | { |
23615 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGGeometryElementConstructorGetter>(*state, thisValue, "SVGGeometryElement" ); |
23616 | } |
23617 | |
23618 | static inline bool setJSDOMWindowSVGGeometryElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23619 | { |
23620 | UNUSED_PARAM(throwScope); |
23621 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23622 | return false; |
23623 | // Shadowing a built-in constructor. |
23624 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGGeometryElement" ), strlen("SVGGeometryElement" )), value); |
23625 | } |
23626 | |
23627 | bool setJSDOMWindowSVGGeometryElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23628 | { |
23629 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGGeometryElementConstructorSetter>(*state, thisValue, encodedValue, "SVGGeometryElement" ); |
23630 | } |
23631 | |
23632 | #if ENABLE(SVG_FONTS) |
23633 | static inline JSValue jsDOMWindowSVGGlyphElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23634 | { |
23635 | UNUSED_PARAM(throwScope); |
23636 | UNUSED_PARAM(state); |
23637 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23638 | return jsUndefined(); |
23639 | return JSSVGGlyphElement::getConstructor(state.vm(), &thisObject); |
23640 | } |
23641 | |
23642 | EncodedJSValue jsDOMWindowSVGGlyphElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23643 | { |
23644 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGGlyphElementConstructorGetter>(*state, thisValue, "SVGGlyphElement" ); |
23645 | } |
23646 | |
23647 | #endif |
23648 | |
23649 | #if ENABLE(SVG_FONTS) |
23650 | static inline bool setJSDOMWindowSVGGlyphElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23651 | { |
23652 | UNUSED_PARAM(throwScope); |
23653 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23654 | return false; |
23655 | // Shadowing a built-in constructor. |
23656 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGGlyphElement" ), strlen("SVGGlyphElement" )), value); |
23657 | } |
23658 | |
23659 | bool setJSDOMWindowSVGGlyphElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23660 | { |
23661 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGGlyphElementConstructorSetter>(*state, thisValue, encodedValue, "SVGGlyphElement" ); |
23662 | } |
23663 | |
23664 | #endif |
23665 | |
23666 | #if ENABLE(SVG_FONTS) |
23667 | static inline JSValue jsDOMWindowSVGGlyphRefElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23668 | { |
23669 | UNUSED_PARAM(throwScope); |
23670 | UNUSED_PARAM(state); |
23671 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23672 | return jsUndefined(); |
23673 | return JSSVGGlyphRefElement::getConstructor(state.vm(), &thisObject); |
23674 | } |
23675 | |
23676 | EncodedJSValue jsDOMWindowSVGGlyphRefElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23677 | { |
23678 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGGlyphRefElementConstructorGetter>(*state, thisValue, "SVGGlyphRefElement" ); |
23679 | } |
23680 | |
23681 | #endif |
23682 | |
23683 | #if ENABLE(SVG_FONTS) |
23684 | static inline bool setJSDOMWindowSVGGlyphRefElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23685 | { |
23686 | UNUSED_PARAM(throwScope); |
23687 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23688 | return false; |
23689 | // Shadowing a built-in constructor. |
23690 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGGlyphRefElement" ), strlen("SVGGlyphRefElement" )), value); |
23691 | } |
23692 | |
23693 | bool setJSDOMWindowSVGGlyphRefElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23694 | { |
23695 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGGlyphRefElementConstructorSetter>(*state, thisValue, encodedValue, "SVGGlyphRefElement" ); |
23696 | } |
23697 | |
23698 | #endif |
23699 | |
23700 | static inline JSValue jsDOMWindowSVGGradientElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23701 | { |
23702 | UNUSED_PARAM(throwScope); |
23703 | UNUSED_PARAM(state); |
23704 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23705 | return jsUndefined(); |
23706 | return JSSVGGradientElement::getConstructor(state.vm(), &thisObject); |
23707 | } |
23708 | |
23709 | EncodedJSValue jsDOMWindowSVGGradientElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23710 | { |
23711 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGGradientElementConstructorGetter>(*state, thisValue, "SVGGradientElement" ); |
23712 | } |
23713 | |
23714 | static inline bool setJSDOMWindowSVGGradientElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23715 | { |
23716 | UNUSED_PARAM(throwScope); |
23717 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23718 | return false; |
23719 | // Shadowing a built-in constructor. |
23720 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGGradientElement" ), strlen("SVGGradientElement" )), value); |
23721 | } |
23722 | |
23723 | bool setJSDOMWindowSVGGradientElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23724 | { |
23725 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGGradientElementConstructorSetter>(*state, thisValue, encodedValue, "SVGGradientElement" ); |
23726 | } |
23727 | |
23728 | static inline JSValue jsDOMWindowSVGGraphicsElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23729 | { |
23730 | UNUSED_PARAM(throwScope); |
23731 | UNUSED_PARAM(state); |
23732 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23733 | return jsUndefined(); |
23734 | return JSSVGGraphicsElement::getConstructor(state.vm(), &thisObject); |
23735 | } |
23736 | |
23737 | EncodedJSValue jsDOMWindowSVGGraphicsElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23738 | { |
23739 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGGraphicsElementConstructorGetter>(*state, thisValue, "SVGGraphicsElement" ); |
23740 | } |
23741 | |
23742 | static inline bool setJSDOMWindowSVGGraphicsElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23743 | { |
23744 | UNUSED_PARAM(throwScope); |
23745 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23746 | return false; |
23747 | // Shadowing a built-in constructor. |
23748 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGGraphicsElement" ), strlen("SVGGraphicsElement" )), value); |
23749 | } |
23750 | |
23751 | bool setJSDOMWindowSVGGraphicsElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23752 | { |
23753 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGGraphicsElementConstructorSetter>(*state, thisValue, encodedValue, "SVGGraphicsElement" ); |
23754 | } |
23755 | |
23756 | #if ENABLE(SVG_FONTS) |
23757 | static inline JSValue jsDOMWindowSVGHKernElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23758 | { |
23759 | UNUSED_PARAM(throwScope); |
23760 | UNUSED_PARAM(state); |
23761 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23762 | return jsUndefined(); |
23763 | return JSSVGHKernElement::getConstructor(state.vm(), &thisObject); |
23764 | } |
23765 | |
23766 | EncodedJSValue jsDOMWindowSVGHKernElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23767 | { |
23768 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGHKernElementConstructorGetter>(*state, thisValue, "SVGHKernElement" ); |
23769 | } |
23770 | |
23771 | #endif |
23772 | |
23773 | #if ENABLE(SVG_FONTS) |
23774 | static inline bool setJSDOMWindowSVGHKernElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23775 | { |
23776 | UNUSED_PARAM(throwScope); |
23777 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23778 | return false; |
23779 | // Shadowing a built-in constructor. |
23780 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGHKernElement" ), strlen("SVGHKernElement" )), value); |
23781 | } |
23782 | |
23783 | bool setJSDOMWindowSVGHKernElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23784 | { |
23785 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGHKernElementConstructorSetter>(*state, thisValue, encodedValue, "SVGHKernElement" ); |
23786 | } |
23787 | |
23788 | #endif |
23789 | |
23790 | static inline JSValue jsDOMWindowSVGImageElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23791 | { |
23792 | UNUSED_PARAM(throwScope); |
23793 | UNUSED_PARAM(state); |
23794 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23795 | return jsUndefined(); |
23796 | return JSSVGImageElement::getConstructor(state.vm(), &thisObject); |
23797 | } |
23798 | |
23799 | EncodedJSValue jsDOMWindowSVGImageElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23800 | { |
23801 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGImageElementConstructorGetter>(*state, thisValue, "SVGImageElement" ); |
23802 | } |
23803 | |
23804 | static inline bool setJSDOMWindowSVGImageElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23805 | { |
23806 | UNUSED_PARAM(throwScope); |
23807 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23808 | return false; |
23809 | // Shadowing a built-in constructor. |
23810 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGImageElement" ), strlen("SVGImageElement" )), value); |
23811 | } |
23812 | |
23813 | bool setJSDOMWindowSVGImageElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23814 | { |
23815 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGImageElementConstructorSetter>(*state, thisValue, encodedValue, "SVGImageElement" ); |
23816 | } |
23817 | |
23818 | static inline JSValue jsDOMWindowSVGLengthConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23819 | { |
23820 | UNUSED_PARAM(throwScope); |
23821 | UNUSED_PARAM(state); |
23822 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23823 | return jsUndefined(); |
23824 | return JSSVGLength::getConstructor(state.vm(), &thisObject); |
23825 | } |
23826 | |
23827 | EncodedJSValue jsDOMWindowSVGLengthConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23828 | { |
23829 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGLengthConstructorGetter>(*state, thisValue, "SVGLength" ); |
23830 | } |
23831 | |
23832 | static inline bool setJSDOMWindowSVGLengthConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23833 | { |
23834 | UNUSED_PARAM(throwScope); |
23835 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23836 | return false; |
23837 | // Shadowing a built-in constructor. |
23838 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGLength" ), strlen("SVGLength" )), value); |
23839 | } |
23840 | |
23841 | bool setJSDOMWindowSVGLengthConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23842 | { |
23843 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGLengthConstructorSetter>(*state, thisValue, encodedValue, "SVGLength" ); |
23844 | } |
23845 | |
23846 | static inline JSValue jsDOMWindowSVGLengthListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23847 | { |
23848 | UNUSED_PARAM(throwScope); |
23849 | UNUSED_PARAM(state); |
23850 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23851 | return jsUndefined(); |
23852 | return JSSVGLengthList::getConstructor(state.vm(), &thisObject); |
23853 | } |
23854 | |
23855 | EncodedJSValue jsDOMWindowSVGLengthListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23856 | { |
23857 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGLengthListConstructorGetter>(*state, thisValue, "SVGLengthList" ); |
23858 | } |
23859 | |
23860 | static inline bool setJSDOMWindowSVGLengthListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23861 | { |
23862 | UNUSED_PARAM(throwScope); |
23863 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23864 | return false; |
23865 | // Shadowing a built-in constructor. |
23866 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGLengthList" ), strlen("SVGLengthList" )), value); |
23867 | } |
23868 | |
23869 | bool setJSDOMWindowSVGLengthListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23870 | { |
23871 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGLengthListConstructorSetter>(*state, thisValue, encodedValue, "SVGLengthList" ); |
23872 | } |
23873 | |
23874 | static inline JSValue jsDOMWindowSVGLineElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23875 | { |
23876 | UNUSED_PARAM(throwScope); |
23877 | UNUSED_PARAM(state); |
23878 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23879 | return jsUndefined(); |
23880 | return JSSVGLineElement::getConstructor(state.vm(), &thisObject); |
23881 | } |
23882 | |
23883 | EncodedJSValue jsDOMWindowSVGLineElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23884 | { |
23885 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGLineElementConstructorGetter>(*state, thisValue, "SVGLineElement" ); |
23886 | } |
23887 | |
23888 | static inline bool setJSDOMWindowSVGLineElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23889 | { |
23890 | UNUSED_PARAM(throwScope); |
23891 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23892 | return false; |
23893 | // Shadowing a built-in constructor. |
23894 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGLineElement" ), strlen("SVGLineElement" )), value); |
23895 | } |
23896 | |
23897 | bool setJSDOMWindowSVGLineElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23898 | { |
23899 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGLineElementConstructorSetter>(*state, thisValue, encodedValue, "SVGLineElement" ); |
23900 | } |
23901 | |
23902 | static inline JSValue jsDOMWindowSVGLinearGradientElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23903 | { |
23904 | UNUSED_PARAM(throwScope); |
23905 | UNUSED_PARAM(state); |
23906 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23907 | return jsUndefined(); |
23908 | return JSSVGLinearGradientElement::getConstructor(state.vm(), &thisObject); |
23909 | } |
23910 | |
23911 | EncodedJSValue jsDOMWindowSVGLinearGradientElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23912 | { |
23913 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGLinearGradientElementConstructorGetter>(*state, thisValue, "SVGLinearGradientElement" ); |
23914 | } |
23915 | |
23916 | static inline bool setJSDOMWindowSVGLinearGradientElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23917 | { |
23918 | UNUSED_PARAM(throwScope); |
23919 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23920 | return false; |
23921 | // Shadowing a built-in constructor. |
23922 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGLinearGradientElement" ), strlen("SVGLinearGradientElement" )), value); |
23923 | } |
23924 | |
23925 | bool setJSDOMWindowSVGLinearGradientElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23926 | { |
23927 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGLinearGradientElementConstructorSetter>(*state, thisValue, encodedValue, "SVGLinearGradientElement" ); |
23928 | } |
23929 | |
23930 | static inline JSValue jsDOMWindowSVGMPathElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23931 | { |
23932 | UNUSED_PARAM(throwScope); |
23933 | UNUSED_PARAM(state); |
23934 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23935 | return jsUndefined(); |
23936 | return JSSVGMPathElement::getConstructor(state.vm(), &thisObject); |
23937 | } |
23938 | |
23939 | EncodedJSValue jsDOMWindowSVGMPathElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23940 | { |
23941 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGMPathElementConstructorGetter>(*state, thisValue, "SVGMPathElement" ); |
23942 | } |
23943 | |
23944 | static inline bool setJSDOMWindowSVGMPathElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23945 | { |
23946 | UNUSED_PARAM(throwScope); |
23947 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23948 | return false; |
23949 | // Shadowing a built-in constructor. |
23950 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGMPathElement" ), strlen("SVGMPathElement" )), value); |
23951 | } |
23952 | |
23953 | bool setJSDOMWindowSVGMPathElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23954 | { |
23955 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGMPathElementConstructorSetter>(*state, thisValue, encodedValue, "SVGMPathElement" ); |
23956 | } |
23957 | |
23958 | static inline JSValue jsDOMWindowSVGMarkerElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23959 | { |
23960 | UNUSED_PARAM(throwScope); |
23961 | UNUSED_PARAM(state); |
23962 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23963 | return jsUndefined(); |
23964 | return JSSVGMarkerElement::getConstructor(state.vm(), &thisObject); |
23965 | } |
23966 | |
23967 | EncodedJSValue jsDOMWindowSVGMarkerElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23968 | { |
23969 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGMarkerElementConstructorGetter>(*state, thisValue, "SVGMarkerElement" ); |
23970 | } |
23971 | |
23972 | static inline bool setJSDOMWindowSVGMarkerElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
23973 | { |
23974 | UNUSED_PARAM(throwScope); |
23975 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23976 | return false; |
23977 | // Shadowing a built-in constructor. |
23978 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGMarkerElement" ), strlen("SVGMarkerElement" )), value); |
23979 | } |
23980 | |
23981 | bool setJSDOMWindowSVGMarkerElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
23982 | { |
23983 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGMarkerElementConstructorSetter>(*state, thisValue, encodedValue, "SVGMarkerElement" ); |
23984 | } |
23985 | |
23986 | static inline JSValue jsDOMWindowSVGMaskElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
23987 | { |
23988 | UNUSED_PARAM(throwScope); |
23989 | UNUSED_PARAM(state); |
23990 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
23991 | return jsUndefined(); |
23992 | return JSSVGMaskElement::getConstructor(state.vm(), &thisObject); |
23993 | } |
23994 | |
23995 | EncodedJSValue jsDOMWindowSVGMaskElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
23996 | { |
23997 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGMaskElementConstructorGetter>(*state, thisValue, "SVGMaskElement" ); |
23998 | } |
23999 | |
24000 | static inline bool setJSDOMWindowSVGMaskElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24001 | { |
24002 | UNUSED_PARAM(throwScope); |
24003 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24004 | return false; |
24005 | // Shadowing a built-in constructor. |
24006 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGMaskElement" ), strlen("SVGMaskElement" )), value); |
24007 | } |
24008 | |
24009 | bool setJSDOMWindowSVGMaskElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24010 | { |
24011 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGMaskElementConstructorSetter>(*state, thisValue, encodedValue, "SVGMaskElement" ); |
24012 | } |
24013 | |
24014 | static inline JSValue jsDOMWindowSVGMatrixConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24015 | { |
24016 | UNUSED_PARAM(throwScope); |
24017 | UNUSED_PARAM(state); |
24018 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24019 | return jsUndefined(); |
24020 | return JSSVGMatrix::getConstructor(state.vm(), &thisObject); |
24021 | } |
24022 | |
24023 | EncodedJSValue jsDOMWindowSVGMatrixConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24024 | { |
24025 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGMatrixConstructorGetter>(*state, thisValue, "SVGMatrix" ); |
24026 | } |
24027 | |
24028 | static inline bool setJSDOMWindowSVGMatrixConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24029 | { |
24030 | UNUSED_PARAM(throwScope); |
24031 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24032 | return false; |
24033 | // Shadowing a built-in constructor. |
24034 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGMatrix" ), strlen("SVGMatrix" )), value); |
24035 | } |
24036 | |
24037 | bool setJSDOMWindowSVGMatrixConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24038 | { |
24039 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGMatrixConstructorSetter>(*state, thisValue, encodedValue, "SVGMatrix" ); |
24040 | } |
24041 | |
24042 | static inline JSValue jsDOMWindowSVGMetadataElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24043 | { |
24044 | UNUSED_PARAM(throwScope); |
24045 | UNUSED_PARAM(state); |
24046 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24047 | return jsUndefined(); |
24048 | return JSSVGMetadataElement::getConstructor(state.vm(), &thisObject); |
24049 | } |
24050 | |
24051 | EncodedJSValue jsDOMWindowSVGMetadataElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24052 | { |
24053 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGMetadataElementConstructorGetter>(*state, thisValue, "SVGMetadataElement" ); |
24054 | } |
24055 | |
24056 | static inline bool setJSDOMWindowSVGMetadataElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24057 | { |
24058 | UNUSED_PARAM(throwScope); |
24059 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24060 | return false; |
24061 | // Shadowing a built-in constructor. |
24062 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGMetadataElement" ), strlen("SVGMetadataElement" )), value); |
24063 | } |
24064 | |
24065 | bool setJSDOMWindowSVGMetadataElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24066 | { |
24067 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGMetadataElementConstructorSetter>(*state, thisValue, encodedValue, "SVGMetadataElement" ); |
24068 | } |
24069 | |
24070 | #if ENABLE(SVG_FONTS) |
24071 | static inline JSValue jsDOMWindowSVGMissingGlyphElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24072 | { |
24073 | UNUSED_PARAM(throwScope); |
24074 | UNUSED_PARAM(state); |
24075 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24076 | return jsUndefined(); |
24077 | return JSSVGMissingGlyphElement::getConstructor(state.vm(), &thisObject); |
24078 | } |
24079 | |
24080 | EncodedJSValue jsDOMWindowSVGMissingGlyphElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24081 | { |
24082 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGMissingGlyphElementConstructorGetter>(*state, thisValue, "SVGMissingGlyphElement" ); |
24083 | } |
24084 | |
24085 | #endif |
24086 | |
24087 | #if ENABLE(SVG_FONTS) |
24088 | static inline bool setJSDOMWindowSVGMissingGlyphElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24089 | { |
24090 | UNUSED_PARAM(throwScope); |
24091 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24092 | return false; |
24093 | // Shadowing a built-in constructor. |
24094 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGMissingGlyphElement" ), strlen("SVGMissingGlyphElement" )), value); |
24095 | } |
24096 | |
24097 | bool setJSDOMWindowSVGMissingGlyphElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24098 | { |
24099 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGMissingGlyphElementConstructorSetter>(*state, thisValue, encodedValue, "SVGMissingGlyphElement" ); |
24100 | } |
24101 | |
24102 | #endif |
24103 | |
24104 | static inline JSValue jsDOMWindowSVGNumberConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24105 | { |
24106 | UNUSED_PARAM(throwScope); |
24107 | UNUSED_PARAM(state); |
24108 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24109 | return jsUndefined(); |
24110 | return JSSVGNumber::getConstructor(state.vm(), &thisObject); |
24111 | } |
24112 | |
24113 | EncodedJSValue jsDOMWindowSVGNumberConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24114 | { |
24115 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGNumberConstructorGetter>(*state, thisValue, "SVGNumber" ); |
24116 | } |
24117 | |
24118 | static inline bool setJSDOMWindowSVGNumberConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24119 | { |
24120 | UNUSED_PARAM(throwScope); |
24121 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24122 | return false; |
24123 | // Shadowing a built-in constructor. |
24124 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGNumber" ), strlen("SVGNumber" )), value); |
24125 | } |
24126 | |
24127 | bool setJSDOMWindowSVGNumberConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24128 | { |
24129 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGNumberConstructorSetter>(*state, thisValue, encodedValue, "SVGNumber" ); |
24130 | } |
24131 | |
24132 | static inline JSValue jsDOMWindowSVGNumberListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24133 | { |
24134 | UNUSED_PARAM(throwScope); |
24135 | UNUSED_PARAM(state); |
24136 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24137 | return jsUndefined(); |
24138 | return JSSVGNumberList::getConstructor(state.vm(), &thisObject); |
24139 | } |
24140 | |
24141 | EncodedJSValue jsDOMWindowSVGNumberListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24142 | { |
24143 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGNumberListConstructorGetter>(*state, thisValue, "SVGNumberList" ); |
24144 | } |
24145 | |
24146 | static inline bool setJSDOMWindowSVGNumberListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24147 | { |
24148 | UNUSED_PARAM(throwScope); |
24149 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24150 | return false; |
24151 | // Shadowing a built-in constructor. |
24152 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGNumberList" ), strlen("SVGNumberList" )), value); |
24153 | } |
24154 | |
24155 | bool setJSDOMWindowSVGNumberListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24156 | { |
24157 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGNumberListConstructorSetter>(*state, thisValue, encodedValue, "SVGNumberList" ); |
24158 | } |
24159 | |
24160 | static inline JSValue jsDOMWindowSVGPathElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24161 | { |
24162 | UNUSED_PARAM(throwScope); |
24163 | UNUSED_PARAM(state); |
24164 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24165 | return jsUndefined(); |
24166 | return JSSVGPathElement::getConstructor(state.vm(), &thisObject); |
24167 | } |
24168 | |
24169 | EncodedJSValue jsDOMWindowSVGPathElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24170 | { |
24171 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathElementConstructorGetter>(*state, thisValue, "SVGPathElement" ); |
24172 | } |
24173 | |
24174 | static inline bool setJSDOMWindowSVGPathElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24175 | { |
24176 | UNUSED_PARAM(throwScope); |
24177 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24178 | return false; |
24179 | // Shadowing a built-in constructor. |
24180 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathElement" ), strlen("SVGPathElement" )), value); |
24181 | } |
24182 | |
24183 | bool setJSDOMWindowSVGPathElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24184 | { |
24185 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathElementConstructorSetter>(*state, thisValue, encodedValue, "SVGPathElement" ); |
24186 | } |
24187 | |
24188 | static inline JSValue jsDOMWindowSVGPathSegConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24189 | { |
24190 | UNUSED_PARAM(throwScope); |
24191 | UNUSED_PARAM(state); |
24192 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24193 | return jsUndefined(); |
24194 | return JSSVGPathSeg::getConstructor(state.vm(), &thisObject); |
24195 | } |
24196 | |
24197 | EncodedJSValue jsDOMWindowSVGPathSegConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24198 | { |
24199 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegConstructorGetter>(*state, thisValue, "SVGPathSeg" ); |
24200 | } |
24201 | |
24202 | static inline bool setJSDOMWindowSVGPathSegConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24203 | { |
24204 | UNUSED_PARAM(throwScope); |
24205 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24206 | return false; |
24207 | // Shadowing a built-in constructor. |
24208 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSeg" ), strlen("SVGPathSeg" )), value); |
24209 | } |
24210 | |
24211 | bool setJSDOMWindowSVGPathSegConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24212 | { |
24213 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSeg" ); |
24214 | } |
24215 | |
24216 | static inline JSValue jsDOMWindowSVGPathSegArcAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24217 | { |
24218 | UNUSED_PARAM(throwScope); |
24219 | UNUSED_PARAM(state); |
24220 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24221 | return jsUndefined(); |
24222 | return JSSVGPathSegArcAbs::getConstructor(state.vm(), &thisObject); |
24223 | } |
24224 | |
24225 | EncodedJSValue jsDOMWindowSVGPathSegArcAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24226 | { |
24227 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegArcAbsConstructorGetter>(*state, thisValue, "SVGPathSegArcAbs" ); |
24228 | } |
24229 | |
24230 | static inline bool setJSDOMWindowSVGPathSegArcAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24231 | { |
24232 | UNUSED_PARAM(throwScope); |
24233 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24234 | return false; |
24235 | // Shadowing a built-in constructor. |
24236 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegArcAbs" ), strlen("SVGPathSegArcAbs" )), value); |
24237 | } |
24238 | |
24239 | bool setJSDOMWindowSVGPathSegArcAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24240 | { |
24241 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegArcAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegArcAbs" ); |
24242 | } |
24243 | |
24244 | static inline JSValue jsDOMWindowSVGPathSegArcRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24245 | { |
24246 | UNUSED_PARAM(throwScope); |
24247 | UNUSED_PARAM(state); |
24248 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24249 | return jsUndefined(); |
24250 | return JSSVGPathSegArcRel::getConstructor(state.vm(), &thisObject); |
24251 | } |
24252 | |
24253 | EncodedJSValue jsDOMWindowSVGPathSegArcRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24254 | { |
24255 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegArcRelConstructorGetter>(*state, thisValue, "SVGPathSegArcRel" ); |
24256 | } |
24257 | |
24258 | static inline bool setJSDOMWindowSVGPathSegArcRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24259 | { |
24260 | UNUSED_PARAM(throwScope); |
24261 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24262 | return false; |
24263 | // Shadowing a built-in constructor. |
24264 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegArcRel" ), strlen("SVGPathSegArcRel" )), value); |
24265 | } |
24266 | |
24267 | bool setJSDOMWindowSVGPathSegArcRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24268 | { |
24269 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegArcRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegArcRel" ); |
24270 | } |
24271 | |
24272 | static inline JSValue jsDOMWindowSVGPathSegClosePathConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24273 | { |
24274 | UNUSED_PARAM(throwScope); |
24275 | UNUSED_PARAM(state); |
24276 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24277 | return jsUndefined(); |
24278 | return JSSVGPathSegClosePath::getConstructor(state.vm(), &thisObject); |
24279 | } |
24280 | |
24281 | EncodedJSValue jsDOMWindowSVGPathSegClosePathConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24282 | { |
24283 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegClosePathConstructorGetter>(*state, thisValue, "SVGPathSegClosePath" ); |
24284 | } |
24285 | |
24286 | static inline bool setJSDOMWindowSVGPathSegClosePathConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24287 | { |
24288 | UNUSED_PARAM(throwScope); |
24289 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24290 | return false; |
24291 | // Shadowing a built-in constructor. |
24292 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegClosePath" ), strlen("SVGPathSegClosePath" )), value); |
24293 | } |
24294 | |
24295 | bool setJSDOMWindowSVGPathSegClosePathConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24296 | { |
24297 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegClosePathConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegClosePath" ); |
24298 | } |
24299 | |
24300 | static inline JSValue jsDOMWindowSVGPathSegCurvetoCubicAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24301 | { |
24302 | UNUSED_PARAM(throwScope); |
24303 | UNUSED_PARAM(state); |
24304 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24305 | return jsUndefined(); |
24306 | return JSSVGPathSegCurvetoCubicAbs::getConstructor(state.vm(), &thisObject); |
24307 | } |
24308 | |
24309 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24310 | { |
24311 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoCubicAbsConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoCubicAbs" ); |
24312 | } |
24313 | |
24314 | static inline bool setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24315 | { |
24316 | UNUSED_PARAM(throwScope); |
24317 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24318 | return false; |
24319 | // Shadowing a built-in constructor. |
24320 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoCubicAbs" ), strlen("SVGPathSegCurvetoCubicAbs" )), value); |
24321 | } |
24322 | |
24323 | bool setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24324 | { |
24325 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoCubicAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoCubicAbs" ); |
24326 | } |
24327 | |
24328 | static inline JSValue jsDOMWindowSVGPathSegCurvetoCubicRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24329 | { |
24330 | UNUSED_PARAM(throwScope); |
24331 | UNUSED_PARAM(state); |
24332 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24333 | return jsUndefined(); |
24334 | return JSSVGPathSegCurvetoCubicRel::getConstructor(state.vm(), &thisObject); |
24335 | } |
24336 | |
24337 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24338 | { |
24339 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoCubicRelConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoCubicRel" ); |
24340 | } |
24341 | |
24342 | static inline bool setJSDOMWindowSVGPathSegCurvetoCubicRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24343 | { |
24344 | UNUSED_PARAM(throwScope); |
24345 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24346 | return false; |
24347 | // Shadowing a built-in constructor. |
24348 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoCubicRel" ), strlen("SVGPathSegCurvetoCubicRel" )), value); |
24349 | } |
24350 | |
24351 | bool setJSDOMWindowSVGPathSegCurvetoCubicRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24352 | { |
24353 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoCubicRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoCubicRel" ); |
24354 | } |
24355 | |
24356 | static inline JSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24357 | { |
24358 | UNUSED_PARAM(throwScope); |
24359 | UNUSED_PARAM(state); |
24360 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24361 | return jsUndefined(); |
24362 | return JSSVGPathSegCurvetoCubicSmoothAbs::getConstructor(state.vm(), &thisObject); |
24363 | } |
24364 | |
24365 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24366 | { |
24367 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoCubicSmoothAbs" ); |
24368 | } |
24369 | |
24370 | static inline bool setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24371 | { |
24372 | UNUSED_PARAM(throwScope); |
24373 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24374 | return false; |
24375 | // Shadowing a built-in constructor. |
24376 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoCubicSmoothAbs" ), strlen("SVGPathSegCurvetoCubicSmoothAbs" )), value); |
24377 | } |
24378 | |
24379 | bool setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24380 | { |
24381 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoCubicSmoothAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoCubicSmoothAbs" ); |
24382 | } |
24383 | |
24384 | static inline JSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24385 | { |
24386 | UNUSED_PARAM(throwScope); |
24387 | UNUSED_PARAM(state); |
24388 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24389 | return jsUndefined(); |
24390 | return JSSVGPathSegCurvetoCubicSmoothRel::getConstructor(state.vm(), &thisObject); |
24391 | } |
24392 | |
24393 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24394 | { |
24395 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoCubicSmoothRel" ); |
24396 | } |
24397 | |
24398 | static inline bool setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24399 | { |
24400 | UNUSED_PARAM(throwScope); |
24401 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24402 | return false; |
24403 | // Shadowing a built-in constructor. |
24404 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoCubicSmoothRel" ), strlen("SVGPathSegCurvetoCubicSmoothRel" )), value); |
24405 | } |
24406 | |
24407 | bool setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24408 | { |
24409 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoCubicSmoothRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoCubicSmoothRel" ); |
24410 | } |
24411 | |
24412 | static inline JSValue jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24413 | { |
24414 | UNUSED_PARAM(throwScope); |
24415 | UNUSED_PARAM(state); |
24416 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24417 | return jsUndefined(); |
24418 | return JSSVGPathSegCurvetoQuadraticAbs::getConstructor(state.vm(), &thisObject); |
24419 | } |
24420 | |
24421 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24422 | { |
24423 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoQuadraticAbsConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoQuadraticAbs" ); |
24424 | } |
24425 | |
24426 | static inline bool setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24427 | { |
24428 | UNUSED_PARAM(throwScope); |
24429 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24430 | return false; |
24431 | // Shadowing a built-in constructor. |
24432 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoQuadraticAbs" ), strlen("SVGPathSegCurvetoQuadraticAbs" )), value); |
24433 | } |
24434 | |
24435 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24436 | { |
24437 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoQuadraticAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoQuadraticAbs" ); |
24438 | } |
24439 | |
24440 | static inline JSValue jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24441 | { |
24442 | UNUSED_PARAM(throwScope); |
24443 | UNUSED_PARAM(state); |
24444 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24445 | return jsUndefined(); |
24446 | return JSSVGPathSegCurvetoQuadraticRel::getConstructor(state.vm(), &thisObject); |
24447 | } |
24448 | |
24449 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24450 | { |
24451 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoQuadraticRelConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoQuadraticRel" ); |
24452 | } |
24453 | |
24454 | static inline bool setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24455 | { |
24456 | UNUSED_PARAM(throwScope); |
24457 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24458 | return false; |
24459 | // Shadowing a built-in constructor. |
24460 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoQuadraticRel" ), strlen("SVGPathSegCurvetoQuadraticRel" )), value); |
24461 | } |
24462 | |
24463 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24464 | { |
24465 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoQuadraticRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoQuadraticRel" ); |
24466 | } |
24467 | |
24468 | static inline JSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24469 | { |
24470 | UNUSED_PARAM(throwScope); |
24471 | UNUSED_PARAM(state); |
24472 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24473 | return jsUndefined(); |
24474 | return JSSVGPathSegCurvetoQuadraticSmoothAbs::getConstructor(state.vm(), &thisObject); |
24475 | } |
24476 | |
24477 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24478 | { |
24479 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoQuadraticSmoothAbs" ); |
24480 | } |
24481 | |
24482 | static inline bool setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24483 | { |
24484 | UNUSED_PARAM(throwScope); |
24485 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24486 | return false; |
24487 | // Shadowing a built-in constructor. |
24488 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoQuadraticSmoothAbs" ), strlen("SVGPathSegCurvetoQuadraticSmoothAbs" )), value); |
24489 | } |
24490 | |
24491 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24492 | { |
24493 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoQuadraticSmoothAbs" ); |
24494 | } |
24495 | |
24496 | static inline JSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24497 | { |
24498 | UNUSED_PARAM(throwScope); |
24499 | UNUSED_PARAM(state); |
24500 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24501 | return jsUndefined(); |
24502 | return JSSVGPathSegCurvetoQuadraticSmoothRel::getConstructor(state.vm(), &thisObject); |
24503 | } |
24504 | |
24505 | EncodedJSValue jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24506 | { |
24507 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructorGetter>(*state, thisValue, "SVGPathSegCurvetoQuadraticSmoothRel" ); |
24508 | } |
24509 | |
24510 | static inline bool setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24511 | { |
24512 | UNUSED_PARAM(throwScope); |
24513 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24514 | return false; |
24515 | // Shadowing a built-in constructor. |
24516 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegCurvetoQuadraticSmoothRel" ), strlen("SVGPathSegCurvetoQuadraticSmoothRel" )), value); |
24517 | } |
24518 | |
24519 | bool setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24520 | { |
24521 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegCurvetoQuadraticSmoothRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegCurvetoQuadraticSmoothRel" ); |
24522 | } |
24523 | |
24524 | static inline JSValue jsDOMWindowSVGPathSegLinetoAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24525 | { |
24526 | UNUSED_PARAM(throwScope); |
24527 | UNUSED_PARAM(state); |
24528 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24529 | return jsUndefined(); |
24530 | return JSSVGPathSegLinetoAbs::getConstructor(state.vm(), &thisObject); |
24531 | } |
24532 | |
24533 | EncodedJSValue jsDOMWindowSVGPathSegLinetoAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24534 | { |
24535 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegLinetoAbsConstructorGetter>(*state, thisValue, "SVGPathSegLinetoAbs" ); |
24536 | } |
24537 | |
24538 | static inline bool setJSDOMWindowSVGPathSegLinetoAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24539 | { |
24540 | UNUSED_PARAM(throwScope); |
24541 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24542 | return false; |
24543 | // Shadowing a built-in constructor. |
24544 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegLinetoAbs" ), strlen("SVGPathSegLinetoAbs" )), value); |
24545 | } |
24546 | |
24547 | bool setJSDOMWindowSVGPathSegLinetoAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24548 | { |
24549 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegLinetoAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegLinetoAbs" ); |
24550 | } |
24551 | |
24552 | static inline JSValue jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24553 | { |
24554 | UNUSED_PARAM(throwScope); |
24555 | UNUSED_PARAM(state); |
24556 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24557 | return jsUndefined(); |
24558 | return JSSVGPathSegLinetoHorizontalAbs::getConstructor(state.vm(), &thisObject); |
24559 | } |
24560 | |
24561 | EncodedJSValue jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24562 | { |
24563 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegLinetoHorizontalAbsConstructorGetter>(*state, thisValue, "SVGPathSegLinetoHorizontalAbs" ); |
24564 | } |
24565 | |
24566 | static inline bool setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24567 | { |
24568 | UNUSED_PARAM(throwScope); |
24569 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24570 | return false; |
24571 | // Shadowing a built-in constructor. |
24572 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegLinetoHorizontalAbs" ), strlen("SVGPathSegLinetoHorizontalAbs" )), value); |
24573 | } |
24574 | |
24575 | bool setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24576 | { |
24577 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegLinetoHorizontalAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegLinetoHorizontalAbs" ); |
24578 | } |
24579 | |
24580 | static inline JSValue jsDOMWindowSVGPathSegLinetoHorizontalRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24581 | { |
24582 | UNUSED_PARAM(throwScope); |
24583 | UNUSED_PARAM(state); |
24584 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24585 | return jsUndefined(); |
24586 | return JSSVGPathSegLinetoHorizontalRel::getConstructor(state.vm(), &thisObject); |
24587 | } |
24588 | |
24589 | EncodedJSValue jsDOMWindowSVGPathSegLinetoHorizontalRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24590 | { |
24591 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegLinetoHorizontalRelConstructorGetter>(*state, thisValue, "SVGPathSegLinetoHorizontalRel" ); |
24592 | } |
24593 | |
24594 | static inline bool setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24595 | { |
24596 | UNUSED_PARAM(throwScope); |
24597 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24598 | return false; |
24599 | // Shadowing a built-in constructor. |
24600 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegLinetoHorizontalRel" ), strlen("SVGPathSegLinetoHorizontalRel" )), value); |
24601 | } |
24602 | |
24603 | bool setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24604 | { |
24605 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegLinetoHorizontalRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegLinetoHorizontalRel" ); |
24606 | } |
24607 | |
24608 | static inline JSValue jsDOMWindowSVGPathSegLinetoRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24609 | { |
24610 | UNUSED_PARAM(throwScope); |
24611 | UNUSED_PARAM(state); |
24612 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24613 | return jsUndefined(); |
24614 | return JSSVGPathSegLinetoRel::getConstructor(state.vm(), &thisObject); |
24615 | } |
24616 | |
24617 | EncodedJSValue jsDOMWindowSVGPathSegLinetoRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24618 | { |
24619 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegLinetoRelConstructorGetter>(*state, thisValue, "SVGPathSegLinetoRel" ); |
24620 | } |
24621 | |
24622 | static inline bool setJSDOMWindowSVGPathSegLinetoRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24623 | { |
24624 | UNUSED_PARAM(throwScope); |
24625 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24626 | return false; |
24627 | // Shadowing a built-in constructor. |
24628 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegLinetoRel" ), strlen("SVGPathSegLinetoRel" )), value); |
24629 | } |
24630 | |
24631 | bool setJSDOMWindowSVGPathSegLinetoRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24632 | { |
24633 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegLinetoRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegLinetoRel" ); |
24634 | } |
24635 | |
24636 | static inline JSValue jsDOMWindowSVGPathSegLinetoVerticalAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24637 | { |
24638 | UNUSED_PARAM(throwScope); |
24639 | UNUSED_PARAM(state); |
24640 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24641 | return jsUndefined(); |
24642 | return JSSVGPathSegLinetoVerticalAbs::getConstructor(state.vm(), &thisObject); |
24643 | } |
24644 | |
24645 | EncodedJSValue jsDOMWindowSVGPathSegLinetoVerticalAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24646 | { |
24647 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegLinetoVerticalAbsConstructorGetter>(*state, thisValue, "SVGPathSegLinetoVerticalAbs" ); |
24648 | } |
24649 | |
24650 | static inline bool setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24651 | { |
24652 | UNUSED_PARAM(throwScope); |
24653 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24654 | return false; |
24655 | // Shadowing a built-in constructor. |
24656 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegLinetoVerticalAbs" ), strlen("SVGPathSegLinetoVerticalAbs" )), value); |
24657 | } |
24658 | |
24659 | bool setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24660 | { |
24661 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegLinetoVerticalAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegLinetoVerticalAbs" ); |
24662 | } |
24663 | |
24664 | static inline JSValue jsDOMWindowSVGPathSegLinetoVerticalRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24665 | { |
24666 | UNUSED_PARAM(throwScope); |
24667 | UNUSED_PARAM(state); |
24668 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24669 | return jsUndefined(); |
24670 | return JSSVGPathSegLinetoVerticalRel::getConstructor(state.vm(), &thisObject); |
24671 | } |
24672 | |
24673 | EncodedJSValue jsDOMWindowSVGPathSegLinetoVerticalRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24674 | { |
24675 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegLinetoVerticalRelConstructorGetter>(*state, thisValue, "SVGPathSegLinetoVerticalRel" ); |
24676 | } |
24677 | |
24678 | static inline bool setJSDOMWindowSVGPathSegLinetoVerticalRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24679 | { |
24680 | UNUSED_PARAM(throwScope); |
24681 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24682 | return false; |
24683 | // Shadowing a built-in constructor. |
24684 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegLinetoVerticalRel" ), strlen("SVGPathSegLinetoVerticalRel" )), value); |
24685 | } |
24686 | |
24687 | bool setJSDOMWindowSVGPathSegLinetoVerticalRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24688 | { |
24689 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegLinetoVerticalRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegLinetoVerticalRel" ); |
24690 | } |
24691 | |
24692 | static inline JSValue jsDOMWindowSVGPathSegListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24693 | { |
24694 | UNUSED_PARAM(throwScope); |
24695 | UNUSED_PARAM(state); |
24696 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24697 | return jsUndefined(); |
24698 | return JSSVGPathSegList::getConstructor(state.vm(), &thisObject); |
24699 | } |
24700 | |
24701 | EncodedJSValue jsDOMWindowSVGPathSegListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24702 | { |
24703 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegListConstructorGetter>(*state, thisValue, "SVGPathSegList" ); |
24704 | } |
24705 | |
24706 | static inline bool setJSDOMWindowSVGPathSegListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24707 | { |
24708 | UNUSED_PARAM(throwScope); |
24709 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24710 | return false; |
24711 | // Shadowing a built-in constructor. |
24712 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegList" ), strlen("SVGPathSegList" )), value); |
24713 | } |
24714 | |
24715 | bool setJSDOMWindowSVGPathSegListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24716 | { |
24717 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegListConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegList" ); |
24718 | } |
24719 | |
24720 | static inline JSValue jsDOMWindowSVGPathSegMovetoAbsConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24721 | { |
24722 | UNUSED_PARAM(throwScope); |
24723 | UNUSED_PARAM(state); |
24724 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24725 | return jsUndefined(); |
24726 | return JSSVGPathSegMovetoAbs::getConstructor(state.vm(), &thisObject); |
24727 | } |
24728 | |
24729 | EncodedJSValue jsDOMWindowSVGPathSegMovetoAbsConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24730 | { |
24731 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegMovetoAbsConstructorGetter>(*state, thisValue, "SVGPathSegMovetoAbs" ); |
24732 | } |
24733 | |
24734 | static inline bool setJSDOMWindowSVGPathSegMovetoAbsConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24735 | { |
24736 | UNUSED_PARAM(throwScope); |
24737 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24738 | return false; |
24739 | // Shadowing a built-in constructor. |
24740 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegMovetoAbs" ), strlen("SVGPathSegMovetoAbs" )), value); |
24741 | } |
24742 | |
24743 | bool setJSDOMWindowSVGPathSegMovetoAbsConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24744 | { |
24745 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegMovetoAbsConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegMovetoAbs" ); |
24746 | } |
24747 | |
24748 | static inline JSValue jsDOMWindowSVGPathSegMovetoRelConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24749 | { |
24750 | UNUSED_PARAM(throwScope); |
24751 | UNUSED_PARAM(state); |
24752 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24753 | return jsUndefined(); |
24754 | return JSSVGPathSegMovetoRel::getConstructor(state.vm(), &thisObject); |
24755 | } |
24756 | |
24757 | EncodedJSValue jsDOMWindowSVGPathSegMovetoRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24758 | { |
24759 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPathSegMovetoRelConstructorGetter>(*state, thisValue, "SVGPathSegMovetoRel" ); |
24760 | } |
24761 | |
24762 | static inline bool setJSDOMWindowSVGPathSegMovetoRelConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24763 | { |
24764 | UNUSED_PARAM(throwScope); |
24765 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24766 | return false; |
24767 | // Shadowing a built-in constructor. |
24768 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPathSegMovetoRel" ), strlen("SVGPathSegMovetoRel" )), value); |
24769 | } |
24770 | |
24771 | bool setJSDOMWindowSVGPathSegMovetoRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24772 | { |
24773 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPathSegMovetoRelConstructorSetter>(*state, thisValue, encodedValue, "SVGPathSegMovetoRel" ); |
24774 | } |
24775 | |
24776 | static inline JSValue jsDOMWindowSVGPatternElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24777 | { |
24778 | UNUSED_PARAM(throwScope); |
24779 | UNUSED_PARAM(state); |
24780 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24781 | return jsUndefined(); |
24782 | return JSSVGPatternElement::getConstructor(state.vm(), &thisObject); |
24783 | } |
24784 | |
24785 | EncodedJSValue jsDOMWindowSVGPatternElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24786 | { |
24787 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPatternElementConstructorGetter>(*state, thisValue, "SVGPatternElement" ); |
24788 | } |
24789 | |
24790 | static inline bool setJSDOMWindowSVGPatternElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24791 | { |
24792 | UNUSED_PARAM(throwScope); |
24793 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24794 | return false; |
24795 | // Shadowing a built-in constructor. |
24796 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPatternElement" ), strlen("SVGPatternElement" )), value); |
24797 | } |
24798 | |
24799 | bool setJSDOMWindowSVGPatternElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24800 | { |
24801 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPatternElementConstructorSetter>(*state, thisValue, encodedValue, "SVGPatternElement" ); |
24802 | } |
24803 | |
24804 | static inline JSValue jsDOMWindowSVGPointConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24805 | { |
24806 | UNUSED_PARAM(throwScope); |
24807 | UNUSED_PARAM(state); |
24808 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24809 | return jsUndefined(); |
24810 | return JSSVGPoint::getConstructor(state.vm(), &thisObject); |
24811 | } |
24812 | |
24813 | EncodedJSValue jsDOMWindowSVGPointConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24814 | { |
24815 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPointConstructorGetter>(*state, thisValue, "SVGPoint" ); |
24816 | } |
24817 | |
24818 | static inline bool setJSDOMWindowSVGPointConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24819 | { |
24820 | UNUSED_PARAM(throwScope); |
24821 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24822 | return false; |
24823 | // Shadowing a built-in constructor. |
24824 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPoint" ), strlen("SVGPoint" )), value); |
24825 | } |
24826 | |
24827 | bool setJSDOMWindowSVGPointConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24828 | { |
24829 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPointConstructorSetter>(*state, thisValue, encodedValue, "SVGPoint" ); |
24830 | } |
24831 | |
24832 | static inline JSValue jsDOMWindowSVGPointListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24833 | { |
24834 | UNUSED_PARAM(throwScope); |
24835 | UNUSED_PARAM(state); |
24836 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24837 | return jsUndefined(); |
24838 | return JSSVGPointList::getConstructor(state.vm(), &thisObject); |
24839 | } |
24840 | |
24841 | EncodedJSValue jsDOMWindowSVGPointListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24842 | { |
24843 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPointListConstructorGetter>(*state, thisValue, "SVGPointList" ); |
24844 | } |
24845 | |
24846 | static inline bool setJSDOMWindowSVGPointListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24847 | { |
24848 | UNUSED_PARAM(throwScope); |
24849 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24850 | return false; |
24851 | // Shadowing a built-in constructor. |
24852 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPointList" ), strlen("SVGPointList" )), value); |
24853 | } |
24854 | |
24855 | bool setJSDOMWindowSVGPointListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24856 | { |
24857 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPointListConstructorSetter>(*state, thisValue, encodedValue, "SVGPointList" ); |
24858 | } |
24859 | |
24860 | static inline JSValue jsDOMWindowSVGPolygonElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24861 | { |
24862 | UNUSED_PARAM(throwScope); |
24863 | UNUSED_PARAM(state); |
24864 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24865 | return jsUndefined(); |
24866 | return JSSVGPolygonElement::getConstructor(state.vm(), &thisObject); |
24867 | } |
24868 | |
24869 | EncodedJSValue jsDOMWindowSVGPolygonElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24870 | { |
24871 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPolygonElementConstructorGetter>(*state, thisValue, "SVGPolygonElement" ); |
24872 | } |
24873 | |
24874 | static inline bool setJSDOMWindowSVGPolygonElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24875 | { |
24876 | UNUSED_PARAM(throwScope); |
24877 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24878 | return false; |
24879 | // Shadowing a built-in constructor. |
24880 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPolygonElement" ), strlen("SVGPolygonElement" )), value); |
24881 | } |
24882 | |
24883 | bool setJSDOMWindowSVGPolygonElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24884 | { |
24885 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPolygonElementConstructorSetter>(*state, thisValue, encodedValue, "SVGPolygonElement" ); |
24886 | } |
24887 | |
24888 | static inline JSValue jsDOMWindowSVGPolylineElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24889 | { |
24890 | UNUSED_PARAM(throwScope); |
24891 | UNUSED_PARAM(state); |
24892 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24893 | return jsUndefined(); |
24894 | return JSSVGPolylineElement::getConstructor(state.vm(), &thisObject); |
24895 | } |
24896 | |
24897 | EncodedJSValue jsDOMWindowSVGPolylineElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24898 | { |
24899 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPolylineElementConstructorGetter>(*state, thisValue, "SVGPolylineElement" ); |
24900 | } |
24901 | |
24902 | static inline bool setJSDOMWindowSVGPolylineElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24903 | { |
24904 | UNUSED_PARAM(throwScope); |
24905 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24906 | return false; |
24907 | // Shadowing a built-in constructor. |
24908 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPolylineElement" ), strlen("SVGPolylineElement" )), value); |
24909 | } |
24910 | |
24911 | bool setJSDOMWindowSVGPolylineElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24912 | { |
24913 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPolylineElementConstructorSetter>(*state, thisValue, encodedValue, "SVGPolylineElement" ); |
24914 | } |
24915 | |
24916 | static inline JSValue jsDOMWindowSVGPreserveAspectRatioConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24917 | { |
24918 | UNUSED_PARAM(throwScope); |
24919 | UNUSED_PARAM(state); |
24920 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24921 | return jsUndefined(); |
24922 | return JSSVGPreserveAspectRatio::getConstructor(state.vm(), &thisObject); |
24923 | } |
24924 | |
24925 | EncodedJSValue jsDOMWindowSVGPreserveAspectRatioConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24926 | { |
24927 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGPreserveAspectRatioConstructorGetter>(*state, thisValue, "SVGPreserveAspectRatio" ); |
24928 | } |
24929 | |
24930 | static inline bool setJSDOMWindowSVGPreserveAspectRatioConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24931 | { |
24932 | UNUSED_PARAM(throwScope); |
24933 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24934 | return false; |
24935 | // Shadowing a built-in constructor. |
24936 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGPreserveAspectRatio" ), strlen("SVGPreserveAspectRatio" )), value); |
24937 | } |
24938 | |
24939 | bool setJSDOMWindowSVGPreserveAspectRatioConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24940 | { |
24941 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGPreserveAspectRatioConstructorSetter>(*state, thisValue, encodedValue, "SVGPreserveAspectRatio" ); |
24942 | } |
24943 | |
24944 | static inline JSValue jsDOMWindowSVGRadialGradientElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24945 | { |
24946 | UNUSED_PARAM(throwScope); |
24947 | UNUSED_PARAM(state); |
24948 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24949 | return jsUndefined(); |
24950 | return JSSVGRadialGradientElement::getConstructor(state.vm(), &thisObject); |
24951 | } |
24952 | |
24953 | EncodedJSValue jsDOMWindowSVGRadialGradientElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24954 | { |
24955 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGRadialGradientElementConstructorGetter>(*state, thisValue, "SVGRadialGradientElement" ); |
24956 | } |
24957 | |
24958 | static inline bool setJSDOMWindowSVGRadialGradientElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24959 | { |
24960 | UNUSED_PARAM(throwScope); |
24961 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24962 | return false; |
24963 | // Shadowing a built-in constructor. |
24964 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGRadialGradientElement" ), strlen("SVGRadialGradientElement" )), value); |
24965 | } |
24966 | |
24967 | bool setJSDOMWindowSVGRadialGradientElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24968 | { |
24969 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGRadialGradientElementConstructorSetter>(*state, thisValue, encodedValue, "SVGRadialGradientElement" ); |
24970 | } |
24971 | |
24972 | static inline JSValue jsDOMWindowSVGRectConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
24973 | { |
24974 | UNUSED_PARAM(throwScope); |
24975 | UNUSED_PARAM(state); |
24976 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24977 | return jsUndefined(); |
24978 | return JSSVGRect::getConstructor(state.vm(), &thisObject); |
24979 | } |
24980 | |
24981 | EncodedJSValue jsDOMWindowSVGRectConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
24982 | { |
24983 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGRectConstructorGetter>(*state, thisValue, "SVGRect" ); |
24984 | } |
24985 | |
24986 | static inline bool setJSDOMWindowSVGRectConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
24987 | { |
24988 | UNUSED_PARAM(throwScope); |
24989 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
24990 | return false; |
24991 | // Shadowing a built-in constructor. |
24992 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGRect" ), strlen("SVGRect" )), value); |
24993 | } |
24994 | |
24995 | bool setJSDOMWindowSVGRectConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
24996 | { |
24997 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGRectConstructorSetter>(*state, thisValue, encodedValue, "SVGRect" ); |
24998 | } |
24999 | |
25000 | static inline JSValue jsDOMWindowSVGRectElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25001 | { |
25002 | UNUSED_PARAM(throwScope); |
25003 | UNUSED_PARAM(state); |
25004 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25005 | return jsUndefined(); |
25006 | return JSSVGRectElement::getConstructor(state.vm(), &thisObject); |
25007 | } |
25008 | |
25009 | EncodedJSValue jsDOMWindowSVGRectElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25010 | { |
25011 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGRectElementConstructorGetter>(*state, thisValue, "SVGRectElement" ); |
25012 | } |
25013 | |
25014 | static inline bool setJSDOMWindowSVGRectElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25015 | { |
25016 | UNUSED_PARAM(throwScope); |
25017 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25018 | return false; |
25019 | // Shadowing a built-in constructor. |
25020 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGRectElement" ), strlen("SVGRectElement" )), value); |
25021 | } |
25022 | |
25023 | bool setJSDOMWindowSVGRectElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25024 | { |
25025 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGRectElementConstructorSetter>(*state, thisValue, encodedValue, "SVGRectElement" ); |
25026 | } |
25027 | |
25028 | static inline JSValue jsDOMWindowSVGRenderingIntentConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25029 | { |
25030 | UNUSED_PARAM(throwScope); |
25031 | UNUSED_PARAM(state); |
25032 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25033 | return jsUndefined(); |
25034 | return JSSVGRenderingIntent::getConstructor(state.vm(), &thisObject); |
25035 | } |
25036 | |
25037 | EncodedJSValue jsDOMWindowSVGRenderingIntentConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25038 | { |
25039 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGRenderingIntentConstructorGetter>(*state, thisValue, "SVGRenderingIntent" ); |
25040 | } |
25041 | |
25042 | static inline bool setJSDOMWindowSVGRenderingIntentConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25043 | { |
25044 | UNUSED_PARAM(throwScope); |
25045 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25046 | return false; |
25047 | // Shadowing a built-in constructor. |
25048 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGRenderingIntent" ), strlen("SVGRenderingIntent" )), value); |
25049 | } |
25050 | |
25051 | bool setJSDOMWindowSVGRenderingIntentConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25052 | { |
25053 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGRenderingIntentConstructorSetter>(*state, thisValue, encodedValue, "SVGRenderingIntent" ); |
25054 | } |
25055 | |
25056 | static inline JSValue jsDOMWindowSVGSVGElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25057 | { |
25058 | UNUSED_PARAM(throwScope); |
25059 | UNUSED_PARAM(state); |
25060 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25061 | return jsUndefined(); |
25062 | return JSSVGSVGElement::getConstructor(state.vm(), &thisObject); |
25063 | } |
25064 | |
25065 | EncodedJSValue jsDOMWindowSVGSVGElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25066 | { |
25067 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGSVGElementConstructorGetter>(*state, thisValue, "SVGSVGElement" ); |
25068 | } |
25069 | |
25070 | static inline bool setJSDOMWindowSVGSVGElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25071 | { |
25072 | UNUSED_PARAM(throwScope); |
25073 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25074 | return false; |
25075 | // Shadowing a built-in constructor. |
25076 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGSVGElement" ), strlen("SVGSVGElement" )), value); |
25077 | } |
25078 | |
25079 | bool setJSDOMWindowSVGSVGElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25080 | { |
25081 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGSVGElementConstructorSetter>(*state, thisValue, encodedValue, "SVGSVGElement" ); |
25082 | } |
25083 | |
25084 | static inline JSValue jsDOMWindowSVGScriptElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25085 | { |
25086 | UNUSED_PARAM(throwScope); |
25087 | UNUSED_PARAM(state); |
25088 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25089 | return jsUndefined(); |
25090 | return JSSVGScriptElement::getConstructor(state.vm(), &thisObject); |
25091 | } |
25092 | |
25093 | EncodedJSValue jsDOMWindowSVGScriptElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25094 | { |
25095 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGScriptElementConstructorGetter>(*state, thisValue, "SVGScriptElement" ); |
25096 | } |
25097 | |
25098 | static inline bool setJSDOMWindowSVGScriptElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25099 | { |
25100 | UNUSED_PARAM(throwScope); |
25101 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25102 | return false; |
25103 | // Shadowing a built-in constructor. |
25104 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGScriptElement" ), strlen("SVGScriptElement" )), value); |
25105 | } |
25106 | |
25107 | bool setJSDOMWindowSVGScriptElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25108 | { |
25109 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGScriptElementConstructorSetter>(*state, thisValue, encodedValue, "SVGScriptElement" ); |
25110 | } |
25111 | |
25112 | static inline JSValue jsDOMWindowSVGSetElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25113 | { |
25114 | UNUSED_PARAM(throwScope); |
25115 | UNUSED_PARAM(state); |
25116 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25117 | return jsUndefined(); |
25118 | return JSSVGSetElement::getConstructor(state.vm(), &thisObject); |
25119 | } |
25120 | |
25121 | EncodedJSValue jsDOMWindowSVGSetElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25122 | { |
25123 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGSetElementConstructorGetter>(*state, thisValue, "SVGSetElement" ); |
25124 | } |
25125 | |
25126 | static inline bool setJSDOMWindowSVGSetElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25127 | { |
25128 | UNUSED_PARAM(throwScope); |
25129 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25130 | return false; |
25131 | // Shadowing a built-in constructor. |
25132 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGSetElement" ), strlen("SVGSetElement" )), value); |
25133 | } |
25134 | |
25135 | bool setJSDOMWindowSVGSetElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25136 | { |
25137 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGSetElementConstructorSetter>(*state, thisValue, encodedValue, "SVGSetElement" ); |
25138 | } |
25139 | |
25140 | static inline JSValue jsDOMWindowSVGStopElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25141 | { |
25142 | UNUSED_PARAM(throwScope); |
25143 | UNUSED_PARAM(state); |
25144 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25145 | return jsUndefined(); |
25146 | return JSSVGStopElement::getConstructor(state.vm(), &thisObject); |
25147 | } |
25148 | |
25149 | EncodedJSValue jsDOMWindowSVGStopElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25150 | { |
25151 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGStopElementConstructorGetter>(*state, thisValue, "SVGStopElement" ); |
25152 | } |
25153 | |
25154 | static inline bool setJSDOMWindowSVGStopElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25155 | { |
25156 | UNUSED_PARAM(throwScope); |
25157 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25158 | return false; |
25159 | // Shadowing a built-in constructor. |
25160 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGStopElement" ), strlen("SVGStopElement" )), value); |
25161 | } |
25162 | |
25163 | bool setJSDOMWindowSVGStopElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25164 | { |
25165 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGStopElementConstructorSetter>(*state, thisValue, encodedValue, "SVGStopElement" ); |
25166 | } |
25167 | |
25168 | static inline JSValue jsDOMWindowSVGStringListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25169 | { |
25170 | UNUSED_PARAM(throwScope); |
25171 | UNUSED_PARAM(state); |
25172 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25173 | return jsUndefined(); |
25174 | return JSSVGStringList::getConstructor(state.vm(), &thisObject); |
25175 | } |
25176 | |
25177 | EncodedJSValue jsDOMWindowSVGStringListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25178 | { |
25179 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGStringListConstructorGetter>(*state, thisValue, "SVGStringList" ); |
25180 | } |
25181 | |
25182 | static inline bool setJSDOMWindowSVGStringListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25183 | { |
25184 | UNUSED_PARAM(throwScope); |
25185 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25186 | return false; |
25187 | // Shadowing a built-in constructor. |
25188 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGStringList" ), strlen("SVGStringList" )), value); |
25189 | } |
25190 | |
25191 | bool setJSDOMWindowSVGStringListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25192 | { |
25193 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGStringListConstructorSetter>(*state, thisValue, encodedValue, "SVGStringList" ); |
25194 | } |
25195 | |
25196 | static inline JSValue jsDOMWindowSVGStyleElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25197 | { |
25198 | UNUSED_PARAM(throwScope); |
25199 | UNUSED_PARAM(state); |
25200 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25201 | return jsUndefined(); |
25202 | return JSSVGStyleElement::getConstructor(state.vm(), &thisObject); |
25203 | } |
25204 | |
25205 | EncodedJSValue jsDOMWindowSVGStyleElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25206 | { |
25207 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGStyleElementConstructorGetter>(*state, thisValue, "SVGStyleElement" ); |
25208 | } |
25209 | |
25210 | static inline bool setJSDOMWindowSVGStyleElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25211 | { |
25212 | UNUSED_PARAM(throwScope); |
25213 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25214 | return false; |
25215 | // Shadowing a built-in constructor. |
25216 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGStyleElement" ), strlen("SVGStyleElement" )), value); |
25217 | } |
25218 | |
25219 | bool setJSDOMWindowSVGStyleElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25220 | { |
25221 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGStyleElementConstructorSetter>(*state, thisValue, encodedValue, "SVGStyleElement" ); |
25222 | } |
25223 | |
25224 | static inline JSValue jsDOMWindowSVGSwitchElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25225 | { |
25226 | UNUSED_PARAM(throwScope); |
25227 | UNUSED_PARAM(state); |
25228 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25229 | return jsUndefined(); |
25230 | return JSSVGSwitchElement::getConstructor(state.vm(), &thisObject); |
25231 | } |
25232 | |
25233 | EncodedJSValue jsDOMWindowSVGSwitchElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25234 | { |
25235 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGSwitchElementConstructorGetter>(*state, thisValue, "SVGSwitchElement" ); |
25236 | } |
25237 | |
25238 | static inline bool setJSDOMWindowSVGSwitchElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25239 | { |
25240 | UNUSED_PARAM(throwScope); |
25241 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25242 | return false; |
25243 | // Shadowing a built-in constructor. |
25244 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGSwitchElement" ), strlen("SVGSwitchElement" )), value); |
25245 | } |
25246 | |
25247 | bool setJSDOMWindowSVGSwitchElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25248 | { |
25249 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGSwitchElementConstructorSetter>(*state, thisValue, encodedValue, "SVGSwitchElement" ); |
25250 | } |
25251 | |
25252 | static inline JSValue jsDOMWindowSVGSymbolElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25253 | { |
25254 | UNUSED_PARAM(throwScope); |
25255 | UNUSED_PARAM(state); |
25256 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25257 | return jsUndefined(); |
25258 | return JSSVGSymbolElement::getConstructor(state.vm(), &thisObject); |
25259 | } |
25260 | |
25261 | EncodedJSValue jsDOMWindowSVGSymbolElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25262 | { |
25263 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGSymbolElementConstructorGetter>(*state, thisValue, "SVGSymbolElement" ); |
25264 | } |
25265 | |
25266 | static inline bool setJSDOMWindowSVGSymbolElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25267 | { |
25268 | UNUSED_PARAM(throwScope); |
25269 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25270 | return false; |
25271 | // Shadowing a built-in constructor. |
25272 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGSymbolElement" ), strlen("SVGSymbolElement" )), value); |
25273 | } |
25274 | |
25275 | bool setJSDOMWindowSVGSymbolElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25276 | { |
25277 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGSymbolElementConstructorSetter>(*state, thisValue, encodedValue, "SVGSymbolElement" ); |
25278 | } |
25279 | |
25280 | static inline JSValue jsDOMWindowSVGTRefElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25281 | { |
25282 | UNUSED_PARAM(throwScope); |
25283 | UNUSED_PARAM(state); |
25284 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25285 | return jsUndefined(); |
25286 | return JSSVGTRefElement::getConstructor(state.vm(), &thisObject); |
25287 | } |
25288 | |
25289 | EncodedJSValue jsDOMWindowSVGTRefElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25290 | { |
25291 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTRefElementConstructorGetter>(*state, thisValue, "SVGTRefElement" ); |
25292 | } |
25293 | |
25294 | static inline bool setJSDOMWindowSVGTRefElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25295 | { |
25296 | UNUSED_PARAM(throwScope); |
25297 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25298 | return false; |
25299 | // Shadowing a built-in constructor. |
25300 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTRefElement" ), strlen("SVGTRefElement" )), value); |
25301 | } |
25302 | |
25303 | bool setJSDOMWindowSVGTRefElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25304 | { |
25305 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTRefElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTRefElement" ); |
25306 | } |
25307 | |
25308 | static inline JSValue jsDOMWindowSVGTSpanElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25309 | { |
25310 | UNUSED_PARAM(throwScope); |
25311 | UNUSED_PARAM(state); |
25312 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25313 | return jsUndefined(); |
25314 | return JSSVGTSpanElement::getConstructor(state.vm(), &thisObject); |
25315 | } |
25316 | |
25317 | EncodedJSValue jsDOMWindowSVGTSpanElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25318 | { |
25319 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTSpanElementConstructorGetter>(*state, thisValue, "SVGTSpanElement" ); |
25320 | } |
25321 | |
25322 | static inline bool setJSDOMWindowSVGTSpanElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25323 | { |
25324 | UNUSED_PARAM(throwScope); |
25325 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25326 | return false; |
25327 | // Shadowing a built-in constructor. |
25328 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTSpanElement" ), strlen("SVGTSpanElement" )), value); |
25329 | } |
25330 | |
25331 | bool setJSDOMWindowSVGTSpanElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25332 | { |
25333 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTSpanElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTSpanElement" ); |
25334 | } |
25335 | |
25336 | static inline JSValue jsDOMWindowSVGTextContentElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25337 | { |
25338 | UNUSED_PARAM(throwScope); |
25339 | UNUSED_PARAM(state); |
25340 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25341 | return jsUndefined(); |
25342 | return JSSVGTextContentElement::getConstructor(state.vm(), &thisObject); |
25343 | } |
25344 | |
25345 | EncodedJSValue jsDOMWindowSVGTextContentElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25346 | { |
25347 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTextContentElementConstructorGetter>(*state, thisValue, "SVGTextContentElement" ); |
25348 | } |
25349 | |
25350 | static inline bool setJSDOMWindowSVGTextContentElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25351 | { |
25352 | UNUSED_PARAM(throwScope); |
25353 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25354 | return false; |
25355 | // Shadowing a built-in constructor. |
25356 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTextContentElement" ), strlen("SVGTextContentElement" )), value); |
25357 | } |
25358 | |
25359 | bool setJSDOMWindowSVGTextContentElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25360 | { |
25361 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTextContentElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTextContentElement" ); |
25362 | } |
25363 | |
25364 | static inline JSValue jsDOMWindowSVGTextElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25365 | { |
25366 | UNUSED_PARAM(throwScope); |
25367 | UNUSED_PARAM(state); |
25368 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25369 | return jsUndefined(); |
25370 | return JSSVGTextElement::getConstructor(state.vm(), &thisObject); |
25371 | } |
25372 | |
25373 | EncodedJSValue jsDOMWindowSVGTextElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25374 | { |
25375 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTextElementConstructorGetter>(*state, thisValue, "SVGTextElement" ); |
25376 | } |
25377 | |
25378 | static inline bool setJSDOMWindowSVGTextElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25379 | { |
25380 | UNUSED_PARAM(throwScope); |
25381 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25382 | return false; |
25383 | // Shadowing a built-in constructor. |
25384 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTextElement" ), strlen("SVGTextElement" )), value); |
25385 | } |
25386 | |
25387 | bool setJSDOMWindowSVGTextElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25388 | { |
25389 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTextElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTextElement" ); |
25390 | } |
25391 | |
25392 | static inline JSValue jsDOMWindowSVGTextPathElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25393 | { |
25394 | UNUSED_PARAM(throwScope); |
25395 | UNUSED_PARAM(state); |
25396 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25397 | return jsUndefined(); |
25398 | return JSSVGTextPathElement::getConstructor(state.vm(), &thisObject); |
25399 | } |
25400 | |
25401 | EncodedJSValue jsDOMWindowSVGTextPathElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25402 | { |
25403 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTextPathElementConstructorGetter>(*state, thisValue, "SVGTextPathElement" ); |
25404 | } |
25405 | |
25406 | static inline bool setJSDOMWindowSVGTextPathElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25407 | { |
25408 | UNUSED_PARAM(throwScope); |
25409 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25410 | return false; |
25411 | // Shadowing a built-in constructor. |
25412 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTextPathElement" ), strlen("SVGTextPathElement" )), value); |
25413 | } |
25414 | |
25415 | bool setJSDOMWindowSVGTextPathElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25416 | { |
25417 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTextPathElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTextPathElement" ); |
25418 | } |
25419 | |
25420 | static inline JSValue jsDOMWindowSVGTextPositioningElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25421 | { |
25422 | UNUSED_PARAM(throwScope); |
25423 | UNUSED_PARAM(state); |
25424 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25425 | return jsUndefined(); |
25426 | return JSSVGTextPositioningElement::getConstructor(state.vm(), &thisObject); |
25427 | } |
25428 | |
25429 | EncodedJSValue jsDOMWindowSVGTextPositioningElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25430 | { |
25431 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTextPositioningElementConstructorGetter>(*state, thisValue, "SVGTextPositioningElement" ); |
25432 | } |
25433 | |
25434 | static inline bool setJSDOMWindowSVGTextPositioningElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25435 | { |
25436 | UNUSED_PARAM(throwScope); |
25437 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25438 | return false; |
25439 | // Shadowing a built-in constructor. |
25440 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTextPositioningElement" ), strlen("SVGTextPositioningElement" )), value); |
25441 | } |
25442 | |
25443 | bool setJSDOMWindowSVGTextPositioningElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25444 | { |
25445 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTextPositioningElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTextPositioningElement" ); |
25446 | } |
25447 | |
25448 | static inline JSValue jsDOMWindowSVGTitleElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25449 | { |
25450 | UNUSED_PARAM(throwScope); |
25451 | UNUSED_PARAM(state); |
25452 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25453 | return jsUndefined(); |
25454 | return JSSVGTitleElement::getConstructor(state.vm(), &thisObject); |
25455 | } |
25456 | |
25457 | EncodedJSValue jsDOMWindowSVGTitleElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25458 | { |
25459 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTitleElementConstructorGetter>(*state, thisValue, "SVGTitleElement" ); |
25460 | } |
25461 | |
25462 | static inline bool setJSDOMWindowSVGTitleElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25463 | { |
25464 | UNUSED_PARAM(throwScope); |
25465 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25466 | return false; |
25467 | // Shadowing a built-in constructor. |
25468 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTitleElement" ), strlen("SVGTitleElement" )), value); |
25469 | } |
25470 | |
25471 | bool setJSDOMWindowSVGTitleElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25472 | { |
25473 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTitleElementConstructorSetter>(*state, thisValue, encodedValue, "SVGTitleElement" ); |
25474 | } |
25475 | |
25476 | static inline JSValue jsDOMWindowSVGTransformConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25477 | { |
25478 | UNUSED_PARAM(throwScope); |
25479 | UNUSED_PARAM(state); |
25480 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25481 | return jsUndefined(); |
25482 | return JSSVGTransform::getConstructor(state.vm(), &thisObject); |
25483 | } |
25484 | |
25485 | EncodedJSValue jsDOMWindowSVGTransformConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25486 | { |
25487 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTransformConstructorGetter>(*state, thisValue, "SVGTransform" ); |
25488 | } |
25489 | |
25490 | static inline bool setJSDOMWindowSVGTransformConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25491 | { |
25492 | UNUSED_PARAM(throwScope); |
25493 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25494 | return false; |
25495 | // Shadowing a built-in constructor. |
25496 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTransform" ), strlen("SVGTransform" )), value); |
25497 | } |
25498 | |
25499 | bool setJSDOMWindowSVGTransformConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25500 | { |
25501 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTransformConstructorSetter>(*state, thisValue, encodedValue, "SVGTransform" ); |
25502 | } |
25503 | |
25504 | static inline JSValue jsDOMWindowSVGTransformListConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25505 | { |
25506 | UNUSED_PARAM(throwScope); |
25507 | UNUSED_PARAM(state); |
25508 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25509 | return jsUndefined(); |
25510 | return JSSVGTransformList::getConstructor(state.vm(), &thisObject); |
25511 | } |
25512 | |
25513 | EncodedJSValue jsDOMWindowSVGTransformListConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25514 | { |
25515 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGTransformListConstructorGetter>(*state, thisValue, "SVGTransformList" ); |
25516 | } |
25517 | |
25518 | static inline bool setJSDOMWindowSVGTransformListConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25519 | { |
25520 | UNUSED_PARAM(throwScope); |
25521 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25522 | return false; |
25523 | // Shadowing a built-in constructor. |
25524 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGTransformList" ), strlen("SVGTransformList" )), value); |
25525 | } |
25526 | |
25527 | bool setJSDOMWindowSVGTransformListConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25528 | { |
25529 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGTransformListConstructorSetter>(*state, thisValue, encodedValue, "SVGTransformList" ); |
25530 | } |
25531 | |
25532 | static inline JSValue jsDOMWindowSVGUnitTypesConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25533 | { |
25534 | UNUSED_PARAM(throwScope); |
25535 | UNUSED_PARAM(state); |
25536 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25537 | return jsUndefined(); |
25538 | return JSSVGUnitTypes::getConstructor(state.vm(), &thisObject); |
25539 | } |
25540 | |
25541 | EncodedJSValue jsDOMWindowSVGUnitTypesConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25542 | { |
25543 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGUnitTypesConstructorGetter>(*state, thisValue, "SVGUnitTypes" ); |
25544 | } |
25545 | |
25546 | static inline bool setJSDOMWindowSVGUnitTypesConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25547 | { |
25548 | UNUSED_PARAM(throwScope); |
25549 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25550 | return false; |
25551 | // Shadowing a built-in constructor. |
25552 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGUnitTypes" ), strlen("SVGUnitTypes" )), value); |
25553 | } |
25554 | |
25555 | bool setJSDOMWindowSVGUnitTypesConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25556 | { |
25557 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGUnitTypesConstructorSetter>(*state, thisValue, encodedValue, "SVGUnitTypes" ); |
25558 | } |
25559 | |
25560 | static inline JSValue jsDOMWindowSVGUseElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25561 | { |
25562 | UNUSED_PARAM(throwScope); |
25563 | UNUSED_PARAM(state); |
25564 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25565 | return jsUndefined(); |
25566 | return JSSVGUseElement::getConstructor(state.vm(), &thisObject); |
25567 | } |
25568 | |
25569 | EncodedJSValue jsDOMWindowSVGUseElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25570 | { |
25571 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGUseElementConstructorGetter>(*state, thisValue, "SVGUseElement" ); |
25572 | } |
25573 | |
25574 | static inline bool setJSDOMWindowSVGUseElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25575 | { |
25576 | UNUSED_PARAM(throwScope); |
25577 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25578 | return false; |
25579 | // Shadowing a built-in constructor. |
25580 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGUseElement" ), strlen("SVGUseElement" )), value); |
25581 | } |
25582 | |
25583 | bool setJSDOMWindowSVGUseElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25584 | { |
25585 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGUseElementConstructorSetter>(*state, thisValue, encodedValue, "SVGUseElement" ); |
25586 | } |
25587 | |
25588 | #if ENABLE(SVG_FONTS) |
25589 | static inline JSValue jsDOMWindowSVGVKernElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25590 | { |
25591 | UNUSED_PARAM(throwScope); |
25592 | UNUSED_PARAM(state); |
25593 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25594 | return jsUndefined(); |
25595 | return JSSVGVKernElement::getConstructor(state.vm(), &thisObject); |
25596 | } |
25597 | |
25598 | EncodedJSValue jsDOMWindowSVGVKernElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25599 | { |
25600 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGVKernElementConstructorGetter>(*state, thisValue, "SVGVKernElement" ); |
25601 | } |
25602 | |
25603 | #endif |
25604 | |
25605 | #if ENABLE(SVG_FONTS) |
25606 | static inline bool setJSDOMWindowSVGVKernElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25607 | { |
25608 | UNUSED_PARAM(throwScope); |
25609 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25610 | return false; |
25611 | // Shadowing a built-in constructor. |
25612 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGVKernElement" ), strlen("SVGVKernElement" )), value); |
25613 | } |
25614 | |
25615 | bool setJSDOMWindowSVGVKernElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25616 | { |
25617 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGVKernElementConstructorSetter>(*state, thisValue, encodedValue, "SVGVKernElement" ); |
25618 | } |
25619 | |
25620 | #endif |
25621 | |
25622 | static inline JSValue jsDOMWindowSVGViewElementConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25623 | { |
25624 | UNUSED_PARAM(throwScope); |
25625 | UNUSED_PARAM(state); |
25626 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25627 | return jsUndefined(); |
25628 | return JSSVGViewElement::getConstructor(state.vm(), &thisObject); |
25629 | } |
25630 | |
25631 | EncodedJSValue jsDOMWindowSVGViewElementConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25632 | { |
25633 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGViewElementConstructorGetter>(*state, thisValue, "SVGViewElement" ); |
25634 | } |
25635 | |
25636 | static inline bool setJSDOMWindowSVGViewElementConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25637 | { |
25638 | UNUSED_PARAM(throwScope); |
25639 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25640 | return false; |
25641 | // Shadowing a built-in constructor. |
25642 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGViewElement" ), strlen("SVGViewElement" )), value); |
25643 | } |
25644 | |
25645 | bool setJSDOMWindowSVGViewElementConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25646 | { |
25647 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGViewElementConstructorSetter>(*state, thisValue, encodedValue, "SVGViewElement" ); |
25648 | } |
25649 | |
25650 | static inline JSValue jsDOMWindowSVGViewSpecConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25651 | { |
25652 | UNUSED_PARAM(throwScope); |
25653 | UNUSED_PARAM(state); |
25654 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25655 | return jsUndefined(); |
25656 | return JSSVGViewSpec::getConstructor(state.vm(), &thisObject); |
25657 | } |
25658 | |
25659 | EncodedJSValue jsDOMWindowSVGViewSpecConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25660 | { |
25661 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGViewSpecConstructorGetter>(*state, thisValue, "SVGViewSpec" ); |
25662 | } |
25663 | |
25664 | static inline bool setJSDOMWindowSVGViewSpecConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25665 | { |
25666 | UNUSED_PARAM(throwScope); |
25667 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25668 | return false; |
25669 | // Shadowing a built-in constructor. |
25670 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGViewSpec" ), strlen("SVGViewSpec" )), value); |
25671 | } |
25672 | |
25673 | bool setJSDOMWindowSVGViewSpecConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25674 | { |
25675 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGViewSpecConstructorSetter>(*state, thisValue, encodedValue, "SVGViewSpec" ); |
25676 | } |
25677 | |
25678 | static inline JSValue jsDOMWindowSVGZoomEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25679 | { |
25680 | UNUSED_PARAM(throwScope); |
25681 | UNUSED_PARAM(state); |
25682 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25683 | return jsUndefined(); |
25684 | return JSSVGZoomEvent::getConstructor(state.vm(), &thisObject); |
25685 | } |
25686 | |
25687 | EncodedJSValue jsDOMWindowSVGZoomEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25688 | { |
25689 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSVGZoomEventConstructorGetter>(*state, thisValue, "SVGZoomEvent" ); |
25690 | } |
25691 | |
25692 | static inline bool setJSDOMWindowSVGZoomEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25693 | { |
25694 | UNUSED_PARAM(throwScope); |
25695 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25696 | return false; |
25697 | // Shadowing a built-in constructor. |
25698 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("SVGZoomEvent" ), strlen("SVGZoomEvent" )), value); |
25699 | } |
25700 | |
25701 | bool setJSDOMWindowSVGZoomEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25702 | { |
25703 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowSVGZoomEventConstructorSetter>(*state, thisValue, encodedValue, "SVGZoomEvent" ); |
25704 | } |
25705 | |
25706 | static inline JSValue jsDOMWindowWorkerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25707 | { |
25708 | UNUSED_PARAM(throwScope); |
25709 | UNUSED_PARAM(state); |
25710 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25711 | return jsUndefined(); |
25712 | return JSWorker::getConstructor(state.vm(), &thisObject); |
25713 | } |
25714 | |
25715 | EncodedJSValue jsDOMWindowWorkerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25716 | { |
25717 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWorkerConstructorGetter>(*state, thisValue, "Worker" ); |
25718 | } |
25719 | |
25720 | static inline bool setJSDOMWindowWorkerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25721 | { |
25722 | UNUSED_PARAM(throwScope); |
25723 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25724 | return false; |
25725 | // Shadowing a built-in constructor. |
25726 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Worker" ), strlen("Worker" )), value); |
25727 | } |
25728 | |
25729 | bool setJSDOMWindowWorkerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25730 | { |
25731 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWorkerConstructorSetter>(*state, thisValue, encodedValue, "Worker" ); |
25732 | } |
25733 | |
25734 | #if ENABLE(SERVICE_WORKER) |
25735 | static inline JSValue jsDOMWindowServiceWorkerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25736 | { |
25737 | UNUSED_PARAM(throwScope); |
25738 | UNUSED_PARAM(state); |
25739 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25740 | return jsUndefined(); |
25741 | return JSServiceWorker::getConstructor(state.vm(), &thisObject); |
25742 | } |
25743 | |
25744 | EncodedJSValue jsDOMWindowServiceWorkerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25745 | { |
25746 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowServiceWorkerConstructorGetter>(*state, thisValue, "ServiceWorker" ); |
25747 | } |
25748 | |
25749 | #endif |
25750 | |
25751 | #if ENABLE(SERVICE_WORKER) |
25752 | static inline bool setJSDOMWindowServiceWorkerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25753 | { |
25754 | UNUSED_PARAM(throwScope); |
25755 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25756 | return false; |
25757 | // Shadowing a built-in constructor. |
25758 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ServiceWorker" ), strlen("ServiceWorker" )), value); |
25759 | } |
25760 | |
25761 | bool setJSDOMWindowServiceWorkerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25762 | { |
25763 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowServiceWorkerConstructorSetter>(*state, thisValue, encodedValue, "ServiceWorker" ); |
25764 | } |
25765 | |
25766 | #endif |
25767 | |
25768 | #if ENABLE(SERVICE_WORKER) |
25769 | static inline JSValue jsDOMWindowServiceWorkerContainerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25770 | { |
25771 | UNUSED_PARAM(throwScope); |
25772 | UNUSED_PARAM(state); |
25773 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25774 | return jsUndefined(); |
25775 | return JSServiceWorkerContainer::getConstructor(state.vm(), &thisObject); |
25776 | } |
25777 | |
25778 | EncodedJSValue jsDOMWindowServiceWorkerContainerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25779 | { |
25780 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowServiceWorkerContainerConstructorGetter>(*state, thisValue, "ServiceWorkerContainer" ); |
25781 | } |
25782 | |
25783 | #endif |
25784 | |
25785 | #if ENABLE(SERVICE_WORKER) |
25786 | static inline bool setJSDOMWindowServiceWorkerContainerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25787 | { |
25788 | UNUSED_PARAM(throwScope); |
25789 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25790 | return false; |
25791 | // Shadowing a built-in constructor. |
25792 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ServiceWorkerContainer" ), strlen("ServiceWorkerContainer" )), value); |
25793 | } |
25794 | |
25795 | bool setJSDOMWindowServiceWorkerContainerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25796 | { |
25797 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowServiceWorkerContainerConstructorSetter>(*state, thisValue, encodedValue, "ServiceWorkerContainer" ); |
25798 | } |
25799 | |
25800 | #endif |
25801 | |
25802 | #if ENABLE(SERVICE_WORKER) |
25803 | static inline JSValue jsDOMWindowServiceWorkerRegistrationConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25804 | { |
25805 | UNUSED_PARAM(throwScope); |
25806 | UNUSED_PARAM(state); |
25807 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25808 | return jsUndefined(); |
25809 | return JSServiceWorkerRegistration::getConstructor(state.vm(), &thisObject); |
25810 | } |
25811 | |
25812 | EncodedJSValue jsDOMWindowServiceWorkerRegistrationConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25813 | { |
25814 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowServiceWorkerRegistrationConstructorGetter>(*state, thisValue, "ServiceWorkerRegistration" ); |
25815 | } |
25816 | |
25817 | #endif |
25818 | |
25819 | #if ENABLE(SERVICE_WORKER) |
25820 | static inline bool setJSDOMWindowServiceWorkerRegistrationConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25821 | { |
25822 | UNUSED_PARAM(throwScope); |
25823 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25824 | return false; |
25825 | // Shadowing a built-in constructor. |
25826 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("ServiceWorkerRegistration" ), strlen("ServiceWorkerRegistration" )), value); |
25827 | } |
25828 | |
25829 | bool setJSDOMWindowServiceWorkerRegistrationConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25830 | { |
25831 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowServiceWorkerRegistrationConstructorSetter>(*state, thisValue, encodedValue, "ServiceWorkerRegistration" ); |
25832 | } |
25833 | |
25834 | #endif |
25835 | |
25836 | #if ENABLE(CSS_PAINTING_API) |
25837 | static inline JSValue jsDOMWindowWorkletConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25838 | { |
25839 | UNUSED_PARAM(throwScope); |
25840 | UNUSED_PARAM(state); |
25841 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25842 | return jsUndefined(); |
25843 | return JSWorklet::getConstructor(state.vm(), &thisObject); |
25844 | } |
25845 | |
25846 | EncodedJSValue jsDOMWindowWorkletConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25847 | { |
25848 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWorkletConstructorGetter>(*state, thisValue, "Worklet" ); |
25849 | } |
25850 | |
25851 | #endif |
25852 | |
25853 | #if ENABLE(CSS_PAINTING_API) |
25854 | static inline bool setJSDOMWindowWorkletConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25855 | { |
25856 | UNUSED_PARAM(throwScope); |
25857 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25858 | return false; |
25859 | // Shadowing a built-in constructor. |
25860 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("Worklet" ), strlen("Worklet" )), value); |
25861 | } |
25862 | |
25863 | bool setJSDOMWindowWorkletConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25864 | { |
25865 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowWorkletConstructorSetter>(*state, thisValue, encodedValue, "Worklet" ); |
25866 | } |
25867 | |
25868 | #endif |
25869 | |
25870 | static inline JSValue jsDOMWindowDOMParserConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25871 | { |
25872 | UNUSED_PARAM(throwScope); |
25873 | UNUSED_PARAM(state); |
25874 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25875 | return jsUndefined(); |
25876 | return JSDOMParser::getConstructor(state.vm(), &thisObject); |
25877 | } |
25878 | |
25879 | EncodedJSValue jsDOMWindowDOMParserConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25880 | { |
25881 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowDOMParserConstructorGetter>(*state, thisValue, "DOMParser" ); |
25882 | } |
25883 | |
25884 | static inline bool setJSDOMWindowDOMParserConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25885 | { |
25886 | UNUSED_PARAM(throwScope); |
25887 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25888 | return false; |
25889 | // Shadowing a built-in constructor. |
25890 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("DOMParser" ), strlen("DOMParser" )), value); |
25891 | } |
25892 | |
25893 | bool setJSDOMWindowDOMParserConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25894 | { |
25895 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowDOMParserConstructorSetter>(*state, thisValue, encodedValue, "DOMParser" ); |
25896 | } |
25897 | |
25898 | static inline JSValue jsDOMWindowXMLHttpRequestConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25899 | { |
25900 | UNUSED_PARAM(throwScope); |
25901 | UNUSED_PARAM(state); |
25902 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25903 | return jsUndefined(); |
25904 | return JSXMLHttpRequest::getConstructor(state.vm(), &thisObject); |
25905 | } |
25906 | |
25907 | EncodedJSValue jsDOMWindowXMLHttpRequestConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25908 | { |
25909 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXMLHttpRequestConstructorGetter>(*state, thisValue, "XMLHttpRequest" ); |
25910 | } |
25911 | |
25912 | static inline bool setJSDOMWindowXMLHttpRequestConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25913 | { |
25914 | UNUSED_PARAM(throwScope); |
25915 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25916 | return false; |
25917 | // Shadowing a built-in constructor. |
25918 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XMLHttpRequest" ), strlen("XMLHttpRequest" )), value); |
25919 | } |
25920 | |
25921 | bool setJSDOMWindowXMLHttpRequestConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25922 | { |
25923 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXMLHttpRequestConstructorSetter>(*state, thisValue, encodedValue, "XMLHttpRequest" ); |
25924 | } |
25925 | |
25926 | static inline JSValue jsDOMWindowXMLHttpRequestEventTargetConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25927 | { |
25928 | UNUSED_PARAM(throwScope); |
25929 | UNUSED_PARAM(state); |
25930 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25931 | return jsUndefined(); |
25932 | return JSXMLHttpRequestEventTarget::getConstructor(state.vm(), &thisObject); |
25933 | } |
25934 | |
25935 | EncodedJSValue jsDOMWindowXMLHttpRequestEventTargetConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25936 | { |
25937 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXMLHttpRequestEventTargetConstructorGetter>(*state, thisValue, "XMLHttpRequestEventTarget" ); |
25938 | } |
25939 | |
25940 | static inline bool setJSDOMWindowXMLHttpRequestEventTargetConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25941 | { |
25942 | UNUSED_PARAM(throwScope); |
25943 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25944 | return false; |
25945 | // Shadowing a built-in constructor. |
25946 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XMLHttpRequestEventTarget" ), strlen("XMLHttpRequestEventTarget" )), value); |
25947 | } |
25948 | |
25949 | bool setJSDOMWindowXMLHttpRequestEventTargetConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25950 | { |
25951 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXMLHttpRequestEventTargetConstructorSetter>(*state, thisValue, encodedValue, "XMLHttpRequestEventTarget" ); |
25952 | } |
25953 | |
25954 | static inline JSValue jsDOMWindowXMLHttpRequestProgressEventConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25955 | { |
25956 | UNUSED_PARAM(throwScope); |
25957 | UNUSED_PARAM(state); |
25958 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25959 | return jsUndefined(); |
25960 | return JSXMLHttpRequestProgressEvent::getConstructor(state.vm(), &thisObject); |
25961 | } |
25962 | |
25963 | EncodedJSValue jsDOMWindowXMLHttpRequestProgressEventConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25964 | { |
25965 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXMLHttpRequestProgressEventConstructorGetter>(*state, thisValue, "XMLHttpRequestProgressEvent" ); |
25966 | } |
25967 | |
25968 | static inline bool setJSDOMWindowXMLHttpRequestProgressEventConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25969 | { |
25970 | UNUSED_PARAM(throwScope); |
25971 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25972 | return false; |
25973 | // Shadowing a built-in constructor. |
25974 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XMLHttpRequestProgressEvent" ), strlen("XMLHttpRequestProgressEvent" )), value); |
25975 | } |
25976 | |
25977 | bool setJSDOMWindowXMLHttpRequestProgressEventConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
25978 | { |
25979 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXMLHttpRequestProgressEventConstructorSetter>(*state, thisValue, encodedValue, "XMLHttpRequestProgressEvent" ); |
25980 | } |
25981 | |
25982 | static inline JSValue jsDOMWindowXMLHttpRequestUploadConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
25983 | { |
25984 | UNUSED_PARAM(throwScope); |
25985 | UNUSED_PARAM(state); |
25986 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
25987 | return jsUndefined(); |
25988 | return JSXMLHttpRequestUpload::getConstructor(state.vm(), &thisObject); |
25989 | } |
25990 | |
25991 | EncodedJSValue jsDOMWindowXMLHttpRequestUploadConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
25992 | { |
25993 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXMLHttpRequestUploadConstructorGetter>(*state, thisValue, "XMLHttpRequestUpload" ); |
25994 | } |
25995 | |
25996 | static inline bool setJSDOMWindowXMLHttpRequestUploadConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
25997 | { |
25998 | UNUSED_PARAM(throwScope); |
25999 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26000 | return false; |
26001 | // Shadowing a built-in constructor. |
26002 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XMLHttpRequestUpload" ), strlen("XMLHttpRequestUpload" )), value); |
26003 | } |
26004 | |
26005 | bool setJSDOMWindowXMLHttpRequestUploadConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26006 | { |
26007 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXMLHttpRequestUploadConstructorSetter>(*state, thisValue, encodedValue, "XMLHttpRequestUpload" ); |
26008 | } |
26009 | |
26010 | static inline JSValue jsDOMWindowXMLSerializerConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26011 | { |
26012 | UNUSED_PARAM(throwScope); |
26013 | UNUSED_PARAM(state); |
26014 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26015 | return jsUndefined(); |
26016 | return JSXMLSerializer::getConstructor(state.vm(), &thisObject); |
26017 | } |
26018 | |
26019 | EncodedJSValue jsDOMWindowXMLSerializerConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26020 | { |
26021 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXMLSerializerConstructorGetter>(*state, thisValue, "XMLSerializer" ); |
26022 | } |
26023 | |
26024 | static inline bool setJSDOMWindowXMLSerializerConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26025 | { |
26026 | UNUSED_PARAM(throwScope); |
26027 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26028 | return false; |
26029 | // Shadowing a built-in constructor. |
26030 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XMLSerializer" ), strlen("XMLSerializer" )), value); |
26031 | } |
26032 | |
26033 | bool setJSDOMWindowXMLSerializerConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26034 | { |
26035 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXMLSerializerConstructorSetter>(*state, thisValue, encodedValue, "XMLSerializer" ); |
26036 | } |
26037 | |
26038 | static inline JSValue jsDOMWindowXPathEvaluatorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26039 | { |
26040 | UNUSED_PARAM(throwScope); |
26041 | UNUSED_PARAM(state); |
26042 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26043 | return jsUndefined(); |
26044 | return JSXPathEvaluator::getConstructor(state.vm(), &thisObject); |
26045 | } |
26046 | |
26047 | EncodedJSValue jsDOMWindowXPathEvaluatorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26048 | { |
26049 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXPathEvaluatorConstructorGetter>(*state, thisValue, "XPathEvaluator" ); |
26050 | } |
26051 | |
26052 | static inline bool setJSDOMWindowXPathEvaluatorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26053 | { |
26054 | UNUSED_PARAM(throwScope); |
26055 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26056 | return false; |
26057 | // Shadowing a built-in constructor. |
26058 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XPathEvaluator" ), strlen("XPathEvaluator" )), value); |
26059 | } |
26060 | |
26061 | bool setJSDOMWindowXPathEvaluatorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26062 | { |
26063 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXPathEvaluatorConstructorSetter>(*state, thisValue, encodedValue, "XPathEvaluator" ); |
26064 | } |
26065 | |
26066 | static inline JSValue jsDOMWindowXPathExpressionConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26067 | { |
26068 | UNUSED_PARAM(throwScope); |
26069 | UNUSED_PARAM(state); |
26070 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26071 | return jsUndefined(); |
26072 | return JSXPathExpression::getConstructor(state.vm(), &thisObject); |
26073 | } |
26074 | |
26075 | EncodedJSValue jsDOMWindowXPathExpressionConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26076 | { |
26077 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXPathExpressionConstructorGetter>(*state, thisValue, "XPathExpression" ); |
26078 | } |
26079 | |
26080 | static inline bool setJSDOMWindowXPathExpressionConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26081 | { |
26082 | UNUSED_PARAM(throwScope); |
26083 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26084 | return false; |
26085 | // Shadowing a built-in constructor. |
26086 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XPathExpression" ), strlen("XPathExpression" )), value); |
26087 | } |
26088 | |
26089 | bool setJSDOMWindowXPathExpressionConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26090 | { |
26091 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXPathExpressionConstructorSetter>(*state, thisValue, encodedValue, "XPathExpression" ); |
26092 | } |
26093 | |
26094 | static inline JSValue jsDOMWindowXPathResultConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26095 | { |
26096 | UNUSED_PARAM(throwScope); |
26097 | UNUSED_PARAM(state); |
26098 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26099 | return jsUndefined(); |
26100 | return JSXPathResult::getConstructor(state.vm(), &thisObject); |
26101 | } |
26102 | |
26103 | EncodedJSValue jsDOMWindowXPathResultConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26104 | { |
26105 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXPathResultConstructorGetter>(*state, thisValue, "XPathResult" ); |
26106 | } |
26107 | |
26108 | static inline bool setJSDOMWindowXPathResultConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26109 | { |
26110 | UNUSED_PARAM(throwScope); |
26111 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26112 | return false; |
26113 | // Shadowing a built-in constructor. |
26114 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XPathResult" ), strlen("XPathResult" )), value); |
26115 | } |
26116 | |
26117 | bool setJSDOMWindowXPathResultConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26118 | { |
26119 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXPathResultConstructorSetter>(*state, thisValue, encodedValue, "XPathResult" ); |
26120 | } |
26121 | |
26122 | #if ENABLE(XSLT) |
26123 | static inline JSValue jsDOMWindowXSLTProcessorConstructorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26124 | { |
26125 | UNUSED_PARAM(throwScope); |
26126 | UNUSED_PARAM(state); |
26127 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26128 | return jsUndefined(); |
26129 | return JSXSLTProcessor::getConstructor(state.vm(), &thisObject); |
26130 | } |
26131 | |
26132 | EncodedJSValue jsDOMWindowXSLTProcessorConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26133 | { |
26134 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowXSLTProcessorConstructorGetter>(*state, thisValue, "XSLTProcessor" ); |
26135 | } |
26136 | |
26137 | #endif |
26138 | |
26139 | #if ENABLE(XSLT) |
26140 | static inline bool setJSDOMWindowXSLTProcessorConstructorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26141 | { |
26142 | UNUSED_PARAM(throwScope); |
26143 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26144 | return false; |
26145 | // Shadowing a built-in constructor. |
26146 | return thisObject.putDirect(state.vm(), Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("XSLTProcessor" ), strlen("XSLTProcessor" )), value); |
26147 | } |
26148 | |
26149 | bool setJSDOMWindowXSLTProcessorConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26150 | { |
26151 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowXSLTProcessorConstructorSetter>(*state, thisValue, encodedValue, "XSLTProcessor" ); |
26152 | } |
26153 | |
26154 | #endif |
26155 | |
26156 | static inline JSValue jsDOMWindowCachesGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26157 | { |
26158 | UNUSED_PARAM(throwScope); |
26159 | UNUSED_PARAM(state); |
26160 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26161 | return jsUndefined(); |
26162 | auto* context = jsCast<JSDOMGlobalObject*>(state.lexicalGlobalObject())->scriptExecutionContext(); |
26163 | if (UNLIKELY(!context)) |
26164 | return jsUndefined(); |
26165 | auto& impl = thisObject.wrapped(); |
26166 | JSValue result = toJS<IDLInterface<DOMCacheStorage>>(state, *thisObject.globalObject(), throwScope, WebCore::DOMWindowCaches::caches(*context, impl)); |
26167 | return result; |
26168 | } |
26169 | |
26170 | EncodedJSValue jsDOMWindowCaches(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26171 | { |
26172 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCachesGetter>(*state, thisValue, "caches" ); |
26173 | } |
26174 | |
26175 | #if ENABLE(INDEXED_DATABASE) |
26176 | static inline JSValue jsDOMWindowIndexedDBGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26177 | { |
26178 | UNUSED_PARAM(throwScope); |
26179 | UNUSED_PARAM(state); |
26180 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26181 | return jsUndefined(); |
26182 | auto& impl = thisObject.wrapped(); |
26183 | JSValue result = toJS<IDLInterface<IDBFactory>>(state, *thisObject.globalObject(), throwScope, WebCore::DOMWindowIndexedDatabase::indexedDB(impl)); |
26184 | return result; |
26185 | } |
26186 | |
26187 | EncodedJSValue jsDOMWindowIndexedDB(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26188 | { |
26189 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIndexedDBGetter>(*state, thisValue, "indexedDB" ); |
26190 | } |
26191 | |
26192 | #endif |
26193 | |
26194 | #if ENABLE(INDEXED_DATABASE) |
26195 | static inline JSValue jsDOMWindowWebkitIndexedDBGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26196 | { |
26197 | UNUSED_PARAM(throwScope); |
26198 | UNUSED_PARAM(state); |
26199 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26200 | return jsUndefined(); |
26201 | auto& impl = thisObject.wrapped(); |
26202 | JSValue result = toJS<IDLInterface<IDBFactory>>(state, *thisObject.globalObject(), throwScope, WebCore::DOMWindowIndexedDatabase::indexedDB(impl)); |
26203 | return result; |
26204 | } |
26205 | |
26206 | EncodedJSValue jsDOMWindowWebkitIndexedDB(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26207 | { |
26208 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowWebkitIndexedDBGetter>(*state, thisValue, "webkitIndexedDB" ); |
26209 | } |
26210 | |
26211 | #endif |
26212 | |
26213 | #if ENABLE(SPEECH_SYNTHESIS) |
26214 | static inline JSValue jsDOMWindowSpeechSynthesisGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26215 | { |
26216 | UNUSED_PARAM(throwScope); |
26217 | UNUSED_PARAM(state); |
26218 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26219 | return jsUndefined(); |
26220 | auto& impl = thisObject.wrapped(); |
26221 | JSValue result = toJS<IDLInterface<SpeechSynthesis>>(state, *thisObject.globalObject(), throwScope, WebCore::DOMWindowSpeechSynthesis::speechSynthesis(impl)); |
26222 | return result; |
26223 | } |
26224 | |
26225 | EncodedJSValue jsDOMWindowSpeechSynthesis(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26226 | { |
26227 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowSpeechSynthesisGetter>(*state, thisValue, "speechSynthesis" ); |
26228 | } |
26229 | |
26230 | #endif |
26231 | |
26232 | static inline JSValue jsDOMWindowOnvrdisplayconnectGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26233 | { |
26234 | UNUSED_PARAM(throwScope); |
26235 | UNUSED_PARAM(state); |
26236 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26237 | return jsUndefined(); |
26238 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplayconnectEvent, worldForDOMObject(thisObject)); |
26239 | } |
26240 | |
26241 | EncodedJSValue jsDOMWindowOnvrdisplayconnect(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26242 | { |
26243 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplayconnectGetter>(*state, thisValue, "onvrdisplayconnect" ); |
26244 | } |
26245 | |
26246 | static inline bool setJSDOMWindowOnvrdisplayconnectSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26247 | { |
26248 | UNUSED_PARAM(throwScope); |
26249 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26250 | return false; |
26251 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplayconnectEvent, value); |
26252 | return true; |
26253 | } |
26254 | |
26255 | bool setJSDOMWindowOnvrdisplayconnect(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26256 | { |
26257 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplayconnectSetter>(*state, thisValue, encodedValue, "onvrdisplayconnect" ); |
26258 | } |
26259 | |
26260 | static inline JSValue jsDOMWindowOnvrdisplaydisconnectGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26261 | { |
26262 | UNUSED_PARAM(throwScope); |
26263 | UNUSED_PARAM(state); |
26264 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26265 | return jsUndefined(); |
26266 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplaydisconnectEvent, worldForDOMObject(thisObject)); |
26267 | } |
26268 | |
26269 | EncodedJSValue jsDOMWindowOnvrdisplaydisconnect(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26270 | { |
26271 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplaydisconnectGetter>(*state, thisValue, "onvrdisplaydisconnect" ); |
26272 | } |
26273 | |
26274 | static inline bool setJSDOMWindowOnvrdisplaydisconnectSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26275 | { |
26276 | UNUSED_PARAM(throwScope); |
26277 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26278 | return false; |
26279 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplaydisconnectEvent, value); |
26280 | return true; |
26281 | } |
26282 | |
26283 | bool setJSDOMWindowOnvrdisplaydisconnect(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26284 | { |
26285 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplaydisconnectSetter>(*state, thisValue, encodedValue, "onvrdisplaydisconnect" ); |
26286 | } |
26287 | |
26288 | static inline JSValue jsDOMWindowOnvrdisplayactivateGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26289 | { |
26290 | UNUSED_PARAM(throwScope); |
26291 | UNUSED_PARAM(state); |
26292 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26293 | return jsUndefined(); |
26294 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplayactivateEvent, worldForDOMObject(thisObject)); |
26295 | } |
26296 | |
26297 | EncodedJSValue jsDOMWindowOnvrdisplayactivate(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26298 | { |
26299 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplayactivateGetter>(*state, thisValue, "onvrdisplayactivate" ); |
26300 | } |
26301 | |
26302 | static inline bool setJSDOMWindowOnvrdisplayactivateSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26303 | { |
26304 | UNUSED_PARAM(throwScope); |
26305 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26306 | return false; |
26307 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplayactivateEvent, value); |
26308 | return true; |
26309 | } |
26310 | |
26311 | bool setJSDOMWindowOnvrdisplayactivate(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26312 | { |
26313 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplayactivateSetter>(*state, thisValue, encodedValue, "onvrdisplayactivate" ); |
26314 | } |
26315 | |
26316 | static inline JSValue jsDOMWindowOnvrdisplaydeactivateGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26317 | { |
26318 | UNUSED_PARAM(throwScope); |
26319 | UNUSED_PARAM(state); |
26320 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26321 | return jsUndefined(); |
26322 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplaydeactivateEvent, worldForDOMObject(thisObject)); |
26323 | } |
26324 | |
26325 | EncodedJSValue jsDOMWindowOnvrdisplaydeactivate(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26326 | { |
26327 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplaydeactivateGetter>(*state, thisValue, "onvrdisplaydeactivate" ); |
26328 | } |
26329 | |
26330 | static inline bool setJSDOMWindowOnvrdisplaydeactivateSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26331 | { |
26332 | UNUSED_PARAM(throwScope); |
26333 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26334 | return false; |
26335 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplaydeactivateEvent, value); |
26336 | return true; |
26337 | } |
26338 | |
26339 | bool setJSDOMWindowOnvrdisplaydeactivate(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26340 | { |
26341 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplaydeactivateSetter>(*state, thisValue, encodedValue, "onvrdisplaydeactivate" ); |
26342 | } |
26343 | |
26344 | static inline JSValue jsDOMWindowOnvrdisplayblurGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26345 | { |
26346 | UNUSED_PARAM(throwScope); |
26347 | UNUSED_PARAM(state); |
26348 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26349 | return jsUndefined(); |
26350 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplayblurEvent, worldForDOMObject(thisObject)); |
26351 | } |
26352 | |
26353 | EncodedJSValue jsDOMWindowOnvrdisplayblur(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26354 | { |
26355 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplayblurGetter>(*state, thisValue, "onvrdisplayblur" ); |
26356 | } |
26357 | |
26358 | static inline bool setJSDOMWindowOnvrdisplayblurSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26359 | { |
26360 | UNUSED_PARAM(throwScope); |
26361 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26362 | return false; |
26363 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplayblurEvent, value); |
26364 | return true; |
26365 | } |
26366 | |
26367 | bool setJSDOMWindowOnvrdisplayblur(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26368 | { |
26369 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplayblurSetter>(*state, thisValue, encodedValue, "onvrdisplayblur" ); |
26370 | } |
26371 | |
26372 | static inline JSValue jsDOMWindowOnvrdisplayfocusGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26373 | { |
26374 | UNUSED_PARAM(throwScope); |
26375 | UNUSED_PARAM(state); |
26376 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26377 | return jsUndefined(); |
26378 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplayfocusEvent, worldForDOMObject(thisObject)); |
26379 | } |
26380 | |
26381 | EncodedJSValue jsDOMWindowOnvrdisplayfocus(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26382 | { |
26383 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplayfocusGetter>(*state, thisValue, "onvrdisplayfocus" ); |
26384 | } |
26385 | |
26386 | static inline bool setJSDOMWindowOnvrdisplayfocusSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26387 | { |
26388 | UNUSED_PARAM(throwScope); |
26389 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26390 | return false; |
26391 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplayfocusEvent, value); |
26392 | return true; |
26393 | } |
26394 | |
26395 | bool setJSDOMWindowOnvrdisplayfocus(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26396 | { |
26397 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplayfocusSetter>(*state, thisValue, encodedValue, "onvrdisplayfocus" ); |
26398 | } |
26399 | |
26400 | static inline JSValue jsDOMWindowOnvrdisplaypresentchangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26401 | { |
26402 | UNUSED_PARAM(throwScope); |
26403 | UNUSED_PARAM(state); |
26404 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26405 | return jsUndefined(); |
26406 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().vrdisplaypresentchangeEvent, worldForDOMObject(thisObject)); |
26407 | } |
26408 | |
26409 | EncodedJSValue jsDOMWindowOnvrdisplaypresentchange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26410 | { |
26411 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvrdisplaypresentchangeGetter>(*state, thisValue, "onvrdisplaypresentchange" ); |
26412 | } |
26413 | |
26414 | static inline bool setJSDOMWindowOnvrdisplaypresentchangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26415 | { |
26416 | UNUSED_PARAM(throwScope); |
26417 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26418 | return false; |
26419 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().vrdisplaypresentchangeEvent, value); |
26420 | return true; |
26421 | } |
26422 | |
26423 | bool setJSDOMWindowOnvrdisplaypresentchange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26424 | { |
26425 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvrdisplaypresentchangeSetter>(*state, thisValue, encodedValue, "onvrdisplaypresentchange" ); |
26426 | } |
26427 | |
26428 | static inline JSValue jsDOMWindowOnabortGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26429 | { |
26430 | UNUSED_PARAM(throwScope); |
26431 | UNUSED_PARAM(state); |
26432 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26433 | return jsUndefined(); |
26434 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().abortEvent, worldForDOMObject(thisObject)); |
26435 | } |
26436 | |
26437 | EncodedJSValue jsDOMWindowOnabort(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26438 | { |
26439 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnabortGetter>(*state, thisValue, "onabort" ); |
26440 | } |
26441 | |
26442 | static inline bool setJSDOMWindowOnabortSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26443 | { |
26444 | UNUSED_PARAM(throwScope); |
26445 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26446 | return false; |
26447 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().abortEvent, value); |
26448 | return true; |
26449 | } |
26450 | |
26451 | bool setJSDOMWindowOnabort(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26452 | { |
26453 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnabortSetter>(*state, thisValue, encodedValue, "onabort" ); |
26454 | } |
26455 | |
26456 | static inline JSValue jsDOMWindowOnblurGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26457 | { |
26458 | UNUSED_PARAM(throwScope); |
26459 | UNUSED_PARAM(state); |
26460 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26461 | return jsUndefined(); |
26462 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().blurEvent, worldForDOMObject(thisObject)); |
26463 | } |
26464 | |
26465 | EncodedJSValue jsDOMWindowOnblur(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26466 | { |
26467 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnblurGetter>(*state, thisValue, "onblur" ); |
26468 | } |
26469 | |
26470 | static inline bool setJSDOMWindowOnblurSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26471 | { |
26472 | UNUSED_PARAM(throwScope); |
26473 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26474 | return false; |
26475 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().blurEvent, value); |
26476 | return true; |
26477 | } |
26478 | |
26479 | bool setJSDOMWindowOnblur(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26480 | { |
26481 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnblurSetter>(*state, thisValue, encodedValue, "onblur" ); |
26482 | } |
26483 | |
26484 | static inline JSValue jsDOMWindowOncanplayGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26485 | { |
26486 | UNUSED_PARAM(throwScope); |
26487 | UNUSED_PARAM(state); |
26488 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26489 | return jsUndefined(); |
26490 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().canplayEvent, worldForDOMObject(thisObject)); |
26491 | } |
26492 | |
26493 | EncodedJSValue jsDOMWindowOncanplay(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26494 | { |
26495 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOncanplayGetter>(*state, thisValue, "oncanplay" ); |
26496 | } |
26497 | |
26498 | static inline bool setJSDOMWindowOncanplaySetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26499 | { |
26500 | UNUSED_PARAM(throwScope); |
26501 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26502 | return false; |
26503 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().canplayEvent, value); |
26504 | return true; |
26505 | } |
26506 | |
26507 | bool setJSDOMWindowOncanplay(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26508 | { |
26509 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOncanplaySetter>(*state, thisValue, encodedValue, "oncanplay" ); |
26510 | } |
26511 | |
26512 | static inline JSValue jsDOMWindowOncanplaythroughGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26513 | { |
26514 | UNUSED_PARAM(throwScope); |
26515 | UNUSED_PARAM(state); |
26516 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26517 | return jsUndefined(); |
26518 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().canplaythroughEvent, worldForDOMObject(thisObject)); |
26519 | } |
26520 | |
26521 | EncodedJSValue jsDOMWindowOncanplaythrough(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26522 | { |
26523 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOncanplaythroughGetter>(*state, thisValue, "oncanplaythrough" ); |
26524 | } |
26525 | |
26526 | static inline bool setJSDOMWindowOncanplaythroughSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26527 | { |
26528 | UNUSED_PARAM(throwScope); |
26529 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26530 | return false; |
26531 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().canplaythroughEvent, value); |
26532 | return true; |
26533 | } |
26534 | |
26535 | bool setJSDOMWindowOncanplaythrough(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26536 | { |
26537 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOncanplaythroughSetter>(*state, thisValue, encodedValue, "oncanplaythrough" ); |
26538 | } |
26539 | |
26540 | static inline JSValue jsDOMWindowOnchangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26541 | { |
26542 | UNUSED_PARAM(throwScope); |
26543 | UNUSED_PARAM(state); |
26544 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26545 | return jsUndefined(); |
26546 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().changeEvent, worldForDOMObject(thisObject)); |
26547 | } |
26548 | |
26549 | EncodedJSValue jsDOMWindowOnchange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26550 | { |
26551 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnchangeGetter>(*state, thisValue, "onchange" ); |
26552 | } |
26553 | |
26554 | static inline bool setJSDOMWindowOnchangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26555 | { |
26556 | UNUSED_PARAM(throwScope); |
26557 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26558 | return false; |
26559 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().changeEvent, value); |
26560 | return true; |
26561 | } |
26562 | |
26563 | bool setJSDOMWindowOnchange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26564 | { |
26565 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnchangeSetter>(*state, thisValue, encodedValue, "onchange" ); |
26566 | } |
26567 | |
26568 | static inline JSValue jsDOMWindowOnclickGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26569 | { |
26570 | UNUSED_PARAM(throwScope); |
26571 | UNUSED_PARAM(state); |
26572 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26573 | return jsUndefined(); |
26574 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().clickEvent, worldForDOMObject(thisObject)); |
26575 | } |
26576 | |
26577 | EncodedJSValue jsDOMWindowOnclick(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26578 | { |
26579 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnclickGetter>(*state, thisValue, "onclick" ); |
26580 | } |
26581 | |
26582 | static inline bool setJSDOMWindowOnclickSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26583 | { |
26584 | UNUSED_PARAM(throwScope); |
26585 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26586 | return false; |
26587 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().clickEvent, value); |
26588 | return true; |
26589 | } |
26590 | |
26591 | bool setJSDOMWindowOnclick(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26592 | { |
26593 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnclickSetter>(*state, thisValue, encodedValue, "onclick" ); |
26594 | } |
26595 | |
26596 | static inline JSValue (ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26597 | { |
26598 | UNUSED_PARAM(throwScope); |
26599 | UNUSED_PARAM(state); |
26600 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26601 | return jsUndefined(); |
26602 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().contextmenuEvent, worldForDOMObject(thisObject)); |
26603 | } |
26604 | |
26605 | EncodedJSValue (ExecState* state, EncodedJSValue thisValue, PropertyName) |
26606 | { |
26607 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOncontextmenuGetter>(*state, thisValue, "oncontextmenu" ); |
26608 | } |
26609 | |
26610 | static inline bool (ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26611 | { |
26612 | UNUSED_PARAM(throwScope); |
26613 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26614 | return false; |
26615 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().contextmenuEvent, value); |
26616 | return true; |
26617 | } |
26618 | |
26619 | bool (ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26620 | { |
26621 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOncontextmenuSetter>(*state, thisValue, encodedValue, "oncontextmenu" ); |
26622 | } |
26623 | |
26624 | static inline JSValue jsDOMWindowOncuechangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26625 | { |
26626 | UNUSED_PARAM(throwScope); |
26627 | UNUSED_PARAM(state); |
26628 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26629 | return jsUndefined(); |
26630 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().cuechangeEvent, worldForDOMObject(thisObject)); |
26631 | } |
26632 | |
26633 | EncodedJSValue jsDOMWindowOncuechange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26634 | { |
26635 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOncuechangeGetter>(*state, thisValue, "oncuechange" ); |
26636 | } |
26637 | |
26638 | static inline bool setJSDOMWindowOncuechangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26639 | { |
26640 | UNUSED_PARAM(throwScope); |
26641 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26642 | return false; |
26643 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().cuechangeEvent, value); |
26644 | return true; |
26645 | } |
26646 | |
26647 | bool setJSDOMWindowOncuechange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26648 | { |
26649 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOncuechangeSetter>(*state, thisValue, encodedValue, "oncuechange" ); |
26650 | } |
26651 | |
26652 | static inline JSValue jsDOMWindowOndblclickGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26653 | { |
26654 | UNUSED_PARAM(throwScope); |
26655 | UNUSED_PARAM(state); |
26656 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26657 | return jsUndefined(); |
26658 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dblclickEvent, worldForDOMObject(thisObject)); |
26659 | } |
26660 | |
26661 | EncodedJSValue jsDOMWindowOndblclick(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26662 | { |
26663 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndblclickGetter>(*state, thisValue, "ondblclick" ); |
26664 | } |
26665 | |
26666 | static inline bool setJSDOMWindowOndblclickSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26667 | { |
26668 | UNUSED_PARAM(throwScope); |
26669 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26670 | return false; |
26671 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dblclickEvent, value); |
26672 | return true; |
26673 | } |
26674 | |
26675 | bool setJSDOMWindowOndblclick(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26676 | { |
26677 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndblclickSetter>(*state, thisValue, encodedValue, "ondblclick" ); |
26678 | } |
26679 | |
26680 | static inline JSValue jsDOMWindowOndragGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26681 | { |
26682 | UNUSED_PARAM(throwScope); |
26683 | UNUSED_PARAM(state); |
26684 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26685 | return jsUndefined(); |
26686 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dragEvent, worldForDOMObject(thisObject)); |
26687 | } |
26688 | |
26689 | EncodedJSValue jsDOMWindowOndrag(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26690 | { |
26691 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndragGetter>(*state, thisValue, "ondrag" ); |
26692 | } |
26693 | |
26694 | static inline bool setJSDOMWindowOndragSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26695 | { |
26696 | UNUSED_PARAM(throwScope); |
26697 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26698 | return false; |
26699 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dragEvent, value); |
26700 | return true; |
26701 | } |
26702 | |
26703 | bool setJSDOMWindowOndrag(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26704 | { |
26705 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndragSetter>(*state, thisValue, encodedValue, "ondrag" ); |
26706 | } |
26707 | |
26708 | static inline JSValue jsDOMWindowOndragendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26709 | { |
26710 | UNUSED_PARAM(throwScope); |
26711 | UNUSED_PARAM(state); |
26712 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26713 | return jsUndefined(); |
26714 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dragendEvent, worldForDOMObject(thisObject)); |
26715 | } |
26716 | |
26717 | EncodedJSValue jsDOMWindowOndragend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26718 | { |
26719 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndragendGetter>(*state, thisValue, "ondragend" ); |
26720 | } |
26721 | |
26722 | static inline bool setJSDOMWindowOndragendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26723 | { |
26724 | UNUSED_PARAM(throwScope); |
26725 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26726 | return false; |
26727 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dragendEvent, value); |
26728 | return true; |
26729 | } |
26730 | |
26731 | bool setJSDOMWindowOndragend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26732 | { |
26733 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndragendSetter>(*state, thisValue, encodedValue, "ondragend" ); |
26734 | } |
26735 | |
26736 | static inline JSValue jsDOMWindowOndragenterGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26737 | { |
26738 | UNUSED_PARAM(throwScope); |
26739 | UNUSED_PARAM(state); |
26740 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26741 | return jsUndefined(); |
26742 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dragenterEvent, worldForDOMObject(thisObject)); |
26743 | } |
26744 | |
26745 | EncodedJSValue jsDOMWindowOndragenter(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26746 | { |
26747 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndragenterGetter>(*state, thisValue, "ondragenter" ); |
26748 | } |
26749 | |
26750 | static inline bool setJSDOMWindowOndragenterSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26751 | { |
26752 | UNUSED_PARAM(throwScope); |
26753 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26754 | return false; |
26755 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dragenterEvent, value); |
26756 | return true; |
26757 | } |
26758 | |
26759 | bool setJSDOMWindowOndragenter(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26760 | { |
26761 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndragenterSetter>(*state, thisValue, encodedValue, "ondragenter" ); |
26762 | } |
26763 | |
26764 | static inline JSValue jsDOMWindowOndragleaveGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26765 | { |
26766 | UNUSED_PARAM(throwScope); |
26767 | UNUSED_PARAM(state); |
26768 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26769 | return jsUndefined(); |
26770 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dragleaveEvent, worldForDOMObject(thisObject)); |
26771 | } |
26772 | |
26773 | EncodedJSValue jsDOMWindowOndragleave(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26774 | { |
26775 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndragleaveGetter>(*state, thisValue, "ondragleave" ); |
26776 | } |
26777 | |
26778 | static inline bool setJSDOMWindowOndragleaveSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26779 | { |
26780 | UNUSED_PARAM(throwScope); |
26781 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26782 | return false; |
26783 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dragleaveEvent, value); |
26784 | return true; |
26785 | } |
26786 | |
26787 | bool setJSDOMWindowOndragleave(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26788 | { |
26789 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndragleaveSetter>(*state, thisValue, encodedValue, "ondragleave" ); |
26790 | } |
26791 | |
26792 | static inline JSValue jsDOMWindowOndragoverGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26793 | { |
26794 | UNUSED_PARAM(throwScope); |
26795 | UNUSED_PARAM(state); |
26796 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26797 | return jsUndefined(); |
26798 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dragoverEvent, worldForDOMObject(thisObject)); |
26799 | } |
26800 | |
26801 | EncodedJSValue jsDOMWindowOndragover(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26802 | { |
26803 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndragoverGetter>(*state, thisValue, "ondragover" ); |
26804 | } |
26805 | |
26806 | static inline bool setJSDOMWindowOndragoverSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26807 | { |
26808 | UNUSED_PARAM(throwScope); |
26809 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26810 | return false; |
26811 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dragoverEvent, value); |
26812 | return true; |
26813 | } |
26814 | |
26815 | bool setJSDOMWindowOndragover(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26816 | { |
26817 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndragoverSetter>(*state, thisValue, encodedValue, "ondragover" ); |
26818 | } |
26819 | |
26820 | static inline JSValue jsDOMWindowOndragstartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26821 | { |
26822 | UNUSED_PARAM(throwScope); |
26823 | UNUSED_PARAM(state); |
26824 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26825 | return jsUndefined(); |
26826 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dragstartEvent, worldForDOMObject(thisObject)); |
26827 | } |
26828 | |
26829 | EncodedJSValue jsDOMWindowOndragstart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26830 | { |
26831 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndragstartGetter>(*state, thisValue, "ondragstart" ); |
26832 | } |
26833 | |
26834 | static inline bool setJSDOMWindowOndragstartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26835 | { |
26836 | UNUSED_PARAM(throwScope); |
26837 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26838 | return false; |
26839 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dragstartEvent, value); |
26840 | return true; |
26841 | } |
26842 | |
26843 | bool setJSDOMWindowOndragstart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26844 | { |
26845 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndragstartSetter>(*state, thisValue, encodedValue, "ondragstart" ); |
26846 | } |
26847 | |
26848 | static inline JSValue jsDOMWindowOndropGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26849 | { |
26850 | UNUSED_PARAM(throwScope); |
26851 | UNUSED_PARAM(state); |
26852 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26853 | return jsUndefined(); |
26854 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().dropEvent, worldForDOMObject(thisObject)); |
26855 | } |
26856 | |
26857 | EncodedJSValue jsDOMWindowOndrop(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26858 | { |
26859 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndropGetter>(*state, thisValue, "ondrop" ); |
26860 | } |
26861 | |
26862 | static inline bool setJSDOMWindowOndropSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26863 | { |
26864 | UNUSED_PARAM(throwScope); |
26865 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26866 | return false; |
26867 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().dropEvent, value); |
26868 | return true; |
26869 | } |
26870 | |
26871 | bool setJSDOMWindowOndrop(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26872 | { |
26873 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndropSetter>(*state, thisValue, encodedValue, "ondrop" ); |
26874 | } |
26875 | |
26876 | static inline JSValue jsDOMWindowOndurationchangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26877 | { |
26878 | UNUSED_PARAM(throwScope); |
26879 | UNUSED_PARAM(state); |
26880 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26881 | return jsUndefined(); |
26882 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().durationchangeEvent, worldForDOMObject(thisObject)); |
26883 | } |
26884 | |
26885 | EncodedJSValue jsDOMWindowOndurationchange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26886 | { |
26887 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOndurationchangeGetter>(*state, thisValue, "ondurationchange" ); |
26888 | } |
26889 | |
26890 | static inline bool setJSDOMWindowOndurationchangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26891 | { |
26892 | UNUSED_PARAM(throwScope); |
26893 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26894 | return false; |
26895 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().durationchangeEvent, value); |
26896 | return true; |
26897 | } |
26898 | |
26899 | bool setJSDOMWindowOndurationchange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26900 | { |
26901 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOndurationchangeSetter>(*state, thisValue, encodedValue, "ondurationchange" ); |
26902 | } |
26903 | |
26904 | static inline JSValue jsDOMWindowOnemptiedGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26905 | { |
26906 | UNUSED_PARAM(throwScope); |
26907 | UNUSED_PARAM(state); |
26908 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26909 | return jsUndefined(); |
26910 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().emptiedEvent, worldForDOMObject(thisObject)); |
26911 | } |
26912 | |
26913 | EncodedJSValue jsDOMWindowOnemptied(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26914 | { |
26915 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnemptiedGetter>(*state, thisValue, "onemptied" ); |
26916 | } |
26917 | |
26918 | static inline bool setJSDOMWindowOnemptiedSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26919 | { |
26920 | UNUSED_PARAM(throwScope); |
26921 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26922 | return false; |
26923 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().emptiedEvent, value); |
26924 | return true; |
26925 | } |
26926 | |
26927 | bool setJSDOMWindowOnemptied(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26928 | { |
26929 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnemptiedSetter>(*state, thisValue, encodedValue, "onemptied" ); |
26930 | } |
26931 | |
26932 | static inline JSValue jsDOMWindowOnendedGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26933 | { |
26934 | UNUSED_PARAM(throwScope); |
26935 | UNUSED_PARAM(state); |
26936 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26937 | return jsUndefined(); |
26938 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().endedEvent, worldForDOMObject(thisObject)); |
26939 | } |
26940 | |
26941 | EncodedJSValue jsDOMWindowOnended(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26942 | { |
26943 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnendedGetter>(*state, thisValue, "onended" ); |
26944 | } |
26945 | |
26946 | static inline bool setJSDOMWindowOnendedSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26947 | { |
26948 | UNUSED_PARAM(throwScope); |
26949 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26950 | return false; |
26951 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().endedEvent, value); |
26952 | return true; |
26953 | } |
26954 | |
26955 | bool setJSDOMWindowOnended(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26956 | { |
26957 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnendedSetter>(*state, thisValue, encodedValue, "onended" ); |
26958 | } |
26959 | |
26960 | static inline JSValue jsDOMWindowOnerrorGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26961 | { |
26962 | UNUSED_PARAM(throwScope); |
26963 | UNUSED_PARAM(state); |
26964 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26965 | return jsUndefined(); |
26966 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().errorEvent, worldForDOMObject(thisObject)); |
26967 | } |
26968 | |
26969 | EncodedJSValue jsDOMWindowOnerror(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26970 | { |
26971 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnerrorGetter>(*state, thisValue, "onerror" ); |
26972 | } |
26973 | |
26974 | static inline bool setJSDOMWindowOnerrorSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
26975 | { |
26976 | UNUSED_PARAM(throwScope); |
26977 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26978 | return false; |
26979 | thisObject.wrapped().setAttributeEventListener(eventNames().errorEvent, createJSErrorHandler(state, value, thisObject), worldForDOMObject(thisObject)); |
26980 | return true; |
26981 | } |
26982 | |
26983 | bool setJSDOMWindowOnerror(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
26984 | { |
26985 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnerrorSetter>(*state, thisValue, encodedValue, "onerror" ); |
26986 | } |
26987 | |
26988 | static inline JSValue jsDOMWindowOnfocusGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
26989 | { |
26990 | UNUSED_PARAM(throwScope); |
26991 | UNUSED_PARAM(state); |
26992 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
26993 | return jsUndefined(); |
26994 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().focusEvent, worldForDOMObject(thisObject)); |
26995 | } |
26996 | |
26997 | EncodedJSValue jsDOMWindowOnfocus(ExecState* state, EncodedJSValue thisValue, PropertyName) |
26998 | { |
26999 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnfocusGetter>(*state, thisValue, "onfocus" ); |
27000 | } |
27001 | |
27002 | static inline bool setJSDOMWindowOnfocusSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27003 | { |
27004 | UNUSED_PARAM(throwScope); |
27005 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27006 | return false; |
27007 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().focusEvent, value); |
27008 | return true; |
27009 | } |
27010 | |
27011 | bool setJSDOMWindowOnfocus(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27012 | { |
27013 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnfocusSetter>(*state, thisValue, encodedValue, "onfocus" ); |
27014 | } |
27015 | |
27016 | static inline JSValue jsDOMWindowOninputGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27017 | { |
27018 | UNUSED_PARAM(throwScope); |
27019 | UNUSED_PARAM(state); |
27020 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27021 | return jsUndefined(); |
27022 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().inputEvent, worldForDOMObject(thisObject)); |
27023 | } |
27024 | |
27025 | EncodedJSValue jsDOMWindowOninput(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27026 | { |
27027 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOninputGetter>(*state, thisValue, "oninput" ); |
27028 | } |
27029 | |
27030 | static inline bool setJSDOMWindowOninputSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27031 | { |
27032 | UNUSED_PARAM(throwScope); |
27033 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27034 | return false; |
27035 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().inputEvent, value); |
27036 | return true; |
27037 | } |
27038 | |
27039 | bool setJSDOMWindowOninput(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27040 | { |
27041 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOninputSetter>(*state, thisValue, encodedValue, "oninput" ); |
27042 | } |
27043 | |
27044 | static inline JSValue jsDOMWindowOninvalidGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27045 | { |
27046 | UNUSED_PARAM(throwScope); |
27047 | UNUSED_PARAM(state); |
27048 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27049 | return jsUndefined(); |
27050 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().invalidEvent, worldForDOMObject(thisObject)); |
27051 | } |
27052 | |
27053 | EncodedJSValue jsDOMWindowOninvalid(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27054 | { |
27055 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOninvalidGetter>(*state, thisValue, "oninvalid" ); |
27056 | } |
27057 | |
27058 | static inline bool setJSDOMWindowOninvalidSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27059 | { |
27060 | UNUSED_PARAM(throwScope); |
27061 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27062 | return false; |
27063 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().invalidEvent, value); |
27064 | return true; |
27065 | } |
27066 | |
27067 | bool setJSDOMWindowOninvalid(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27068 | { |
27069 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOninvalidSetter>(*state, thisValue, encodedValue, "oninvalid" ); |
27070 | } |
27071 | |
27072 | static inline JSValue jsDOMWindowOnkeydownGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27073 | { |
27074 | UNUSED_PARAM(throwScope); |
27075 | UNUSED_PARAM(state); |
27076 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27077 | return jsUndefined(); |
27078 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().keydownEvent, worldForDOMObject(thisObject)); |
27079 | } |
27080 | |
27081 | EncodedJSValue jsDOMWindowOnkeydown(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27082 | { |
27083 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnkeydownGetter>(*state, thisValue, "onkeydown" ); |
27084 | } |
27085 | |
27086 | static inline bool setJSDOMWindowOnkeydownSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27087 | { |
27088 | UNUSED_PARAM(throwScope); |
27089 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27090 | return false; |
27091 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().keydownEvent, value); |
27092 | return true; |
27093 | } |
27094 | |
27095 | bool setJSDOMWindowOnkeydown(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27096 | { |
27097 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnkeydownSetter>(*state, thisValue, encodedValue, "onkeydown" ); |
27098 | } |
27099 | |
27100 | static inline JSValue jsDOMWindowOnkeypressGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27101 | { |
27102 | UNUSED_PARAM(throwScope); |
27103 | UNUSED_PARAM(state); |
27104 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27105 | return jsUndefined(); |
27106 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().keypressEvent, worldForDOMObject(thisObject)); |
27107 | } |
27108 | |
27109 | EncodedJSValue jsDOMWindowOnkeypress(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27110 | { |
27111 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnkeypressGetter>(*state, thisValue, "onkeypress" ); |
27112 | } |
27113 | |
27114 | static inline bool setJSDOMWindowOnkeypressSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27115 | { |
27116 | UNUSED_PARAM(throwScope); |
27117 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27118 | return false; |
27119 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().keypressEvent, value); |
27120 | return true; |
27121 | } |
27122 | |
27123 | bool setJSDOMWindowOnkeypress(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27124 | { |
27125 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnkeypressSetter>(*state, thisValue, encodedValue, "onkeypress" ); |
27126 | } |
27127 | |
27128 | static inline JSValue jsDOMWindowOnkeyupGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27129 | { |
27130 | UNUSED_PARAM(throwScope); |
27131 | UNUSED_PARAM(state); |
27132 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27133 | return jsUndefined(); |
27134 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().keyupEvent, worldForDOMObject(thisObject)); |
27135 | } |
27136 | |
27137 | EncodedJSValue jsDOMWindowOnkeyup(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27138 | { |
27139 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnkeyupGetter>(*state, thisValue, "onkeyup" ); |
27140 | } |
27141 | |
27142 | static inline bool setJSDOMWindowOnkeyupSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27143 | { |
27144 | UNUSED_PARAM(throwScope); |
27145 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27146 | return false; |
27147 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().keyupEvent, value); |
27148 | return true; |
27149 | } |
27150 | |
27151 | bool setJSDOMWindowOnkeyup(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27152 | { |
27153 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnkeyupSetter>(*state, thisValue, encodedValue, "onkeyup" ); |
27154 | } |
27155 | |
27156 | static inline JSValue jsDOMWindowOnloadGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27157 | { |
27158 | UNUSED_PARAM(throwScope); |
27159 | UNUSED_PARAM(state); |
27160 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27161 | return jsUndefined(); |
27162 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().loadEvent, worldForDOMObject(thisObject)); |
27163 | } |
27164 | |
27165 | EncodedJSValue jsDOMWindowOnload(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27166 | { |
27167 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnloadGetter>(*state, thisValue, "onload" ); |
27168 | } |
27169 | |
27170 | static inline bool setJSDOMWindowOnloadSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27171 | { |
27172 | UNUSED_PARAM(throwScope); |
27173 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27174 | return false; |
27175 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().loadEvent, value); |
27176 | return true; |
27177 | } |
27178 | |
27179 | bool setJSDOMWindowOnload(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27180 | { |
27181 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnloadSetter>(*state, thisValue, encodedValue, "onload" ); |
27182 | } |
27183 | |
27184 | static inline JSValue jsDOMWindowOnloadeddataGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27185 | { |
27186 | UNUSED_PARAM(throwScope); |
27187 | UNUSED_PARAM(state); |
27188 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27189 | return jsUndefined(); |
27190 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().loadeddataEvent, worldForDOMObject(thisObject)); |
27191 | } |
27192 | |
27193 | EncodedJSValue jsDOMWindowOnloadeddata(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27194 | { |
27195 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnloadeddataGetter>(*state, thisValue, "onloadeddata" ); |
27196 | } |
27197 | |
27198 | static inline bool setJSDOMWindowOnloadeddataSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27199 | { |
27200 | UNUSED_PARAM(throwScope); |
27201 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27202 | return false; |
27203 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().loadeddataEvent, value); |
27204 | return true; |
27205 | } |
27206 | |
27207 | bool setJSDOMWindowOnloadeddata(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27208 | { |
27209 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnloadeddataSetter>(*state, thisValue, encodedValue, "onloadeddata" ); |
27210 | } |
27211 | |
27212 | static inline JSValue jsDOMWindowOnloadedmetadataGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27213 | { |
27214 | UNUSED_PARAM(throwScope); |
27215 | UNUSED_PARAM(state); |
27216 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27217 | return jsUndefined(); |
27218 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().loadedmetadataEvent, worldForDOMObject(thisObject)); |
27219 | } |
27220 | |
27221 | EncodedJSValue jsDOMWindowOnloadedmetadata(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27222 | { |
27223 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnloadedmetadataGetter>(*state, thisValue, "onloadedmetadata" ); |
27224 | } |
27225 | |
27226 | static inline bool setJSDOMWindowOnloadedmetadataSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27227 | { |
27228 | UNUSED_PARAM(throwScope); |
27229 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27230 | return false; |
27231 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().loadedmetadataEvent, value); |
27232 | return true; |
27233 | } |
27234 | |
27235 | bool setJSDOMWindowOnloadedmetadata(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27236 | { |
27237 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnloadedmetadataSetter>(*state, thisValue, encodedValue, "onloadedmetadata" ); |
27238 | } |
27239 | |
27240 | static inline JSValue jsDOMWindowOnloadstartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27241 | { |
27242 | UNUSED_PARAM(throwScope); |
27243 | UNUSED_PARAM(state); |
27244 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27245 | return jsUndefined(); |
27246 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().loadstartEvent, worldForDOMObject(thisObject)); |
27247 | } |
27248 | |
27249 | EncodedJSValue jsDOMWindowOnloadstart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27250 | { |
27251 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnloadstartGetter>(*state, thisValue, "onloadstart" ); |
27252 | } |
27253 | |
27254 | static inline bool setJSDOMWindowOnloadstartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27255 | { |
27256 | UNUSED_PARAM(throwScope); |
27257 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27258 | return false; |
27259 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().loadstartEvent, value); |
27260 | return true; |
27261 | } |
27262 | |
27263 | bool setJSDOMWindowOnloadstart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27264 | { |
27265 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnloadstartSetter>(*state, thisValue, encodedValue, "onloadstart" ); |
27266 | } |
27267 | |
27268 | static inline JSValue jsDOMWindowOnmousedownGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27269 | { |
27270 | UNUSED_PARAM(throwScope); |
27271 | UNUSED_PARAM(state); |
27272 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27273 | return jsUndefined(); |
27274 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mousedownEvent, worldForDOMObject(thisObject)); |
27275 | } |
27276 | |
27277 | EncodedJSValue jsDOMWindowOnmousedown(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27278 | { |
27279 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmousedownGetter>(*state, thisValue, "onmousedown" ); |
27280 | } |
27281 | |
27282 | static inline bool setJSDOMWindowOnmousedownSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27283 | { |
27284 | UNUSED_PARAM(throwScope); |
27285 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27286 | return false; |
27287 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mousedownEvent, value); |
27288 | return true; |
27289 | } |
27290 | |
27291 | bool setJSDOMWindowOnmousedown(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27292 | { |
27293 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmousedownSetter>(*state, thisValue, encodedValue, "onmousedown" ); |
27294 | } |
27295 | |
27296 | static inline JSValue jsDOMWindowOnmouseenterGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27297 | { |
27298 | UNUSED_PARAM(throwScope); |
27299 | UNUSED_PARAM(state); |
27300 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27301 | return jsUndefined(); |
27302 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mouseenterEvent, worldForDOMObject(thisObject)); |
27303 | } |
27304 | |
27305 | EncodedJSValue jsDOMWindowOnmouseenter(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27306 | { |
27307 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmouseenterGetter, CastedThisErrorBehavior::ReturnEarly>(*state, thisValue, "onmouseenter" ); |
27308 | } |
27309 | |
27310 | static inline bool setJSDOMWindowOnmouseenterSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27311 | { |
27312 | UNUSED_PARAM(throwScope); |
27313 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27314 | return false; |
27315 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mouseenterEvent, value); |
27316 | return true; |
27317 | } |
27318 | |
27319 | bool setJSDOMWindowOnmouseenter(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27320 | { |
27321 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmouseenterSetter, CastedThisErrorBehavior::ReturnEarly>(*state, thisValue, encodedValue, "onmouseenter" ); |
27322 | } |
27323 | |
27324 | static inline JSValue jsDOMWindowOnmouseleaveGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27325 | { |
27326 | UNUSED_PARAM(throwScope); |
27327 | UNUSED_PARAM(state); |
27328 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27329 | return jsUndefined(); |
27330 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mouseleaveEvent, worldForDOMObject(thisObject)); |
27331 | } |
27332 | |
27333 | EncodedJSValue jsDOMWindowOnmouseleave(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27334 | { |
27335 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmouseleaveGetter, CastedThisErrorBehavior::ReturnEarly>(*state, thisValue, "onmouseleave" ); |
27336 | } |
27337 | |
27338 | static inline bool setJSDOMWindowOnmouseleaveSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27339 | { |
27340 | UNUSED_PARAM(throwScope); |
27341 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27342 | return false; |
27343 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mouseleaveEvent, value); |
27344 | return true; |
27345 | } |
27346 | |
27347 | bool setJSDOMWindowOnmouseleave(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27348 | { |
27349 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmouseleaveSetter, CastedThisErrorBehavior::ReturnEarly>(*state, thisValue, encodedValue, "onmouseleave" ); |
27350 | } |
27351 | |
27352 | static inline JSValue jsDOMWindowOnmousemoveGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27353 | { |
27354 | UNUSED_PARAM(throwScope); |
27355 | UNUSED_PARAM(state); |
27356 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27357 | return jsUndefined(); |
27358 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mousemoveEvent, worldForDOMObject(thisObject)); |
27359 | } |
27360 | |
27361 | EncodedJSValue jsDOMWindowOnmousemove(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27362 | { |
27363 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmousemoveGetter>(*state, thisValue, "onmousemove" ); |
27364 | } |
27365 | |
27366 | static inline bool setJSDOMWindowOnmousemoveSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27367 | { |
27368 | UNUSED_PARAM(throwScope); |
27369 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27370 | return false; |
27371 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mousemoveEvent, value); |
27372 | return true; |
27373 | } |
27374 | |
27375 | bool setJSDOMWindowOnmousemove(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27376 | { |
27377 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmousemoveSetter>(*state, thisValue, encodedValue, "onmousemove" ); |
27378 | } |
27379 | |
27380 | static inline JSValue jsDOMWindowOnmouseoutGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27381 | { |
27382 | UNUSED_PARAM(throwScope); |
27383 | UNUSED_PARAM(state); |
27384 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27385 | return jsUndefined(); |
27386 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mouseoutEvent, worldForDOMObject(thisObject)); |
27387 | } |
27388 | |
27389 | EncodedJSValue jsDOMWindowOnmouseout(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27390 | { |
27391 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmouseoutGetter>(*state, thisValue, "onmouseout" ); |
27392 | } |
27393 | |
27394 | static inline bool setJSDOMWindowOnmouseoutSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27395 | { |
27396 | UNUSED_PARAM(throwScope); |
27397 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27398 | return false; |
27399 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mouseoutEvent, value); |
27400 | return true; |
27401 | } |
27402 | |
27403 | bool setJSDOMWindowOnmouseout(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27404 | { |
27405 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmouseoutSetter>(*state, thisValue, encodedValue, "onmouseout" ); |
27406 | } |
27407 | |
27408 | static inline JSValue jsDOMWindowOnmouseoverGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27409 | { |
27410 | UNUSED_PARAM(throwScope); |
27411 | UNUSED_PARAM(state); |
27412 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27413 | return jsUndefined(); |
27414 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mouseoverEvent, worldForDOMObject(thisObject)); |
27415 | } |
27416 | |
27417 | EncodedJSValue jsDOMWindowOnmouseover(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27418 | { |
27419 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmouseoverGetter>(*state, thisValue, "onmouseover" ); |
27420 | } |
27421 | |
27422 | static inline bool setJSDOMWindowOnmouseoverSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27423 | { |
27424 | UNUSED_PARAM(throwScope); |
27425 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27426 | return false; |
27427 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mouseoverEvent, value); |
27428 | return true; |
27429 | } |
27430 | |
27431 | bool setJSDOMWindowOnmouseover(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27432 | { |
27433 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmouseoverSetter>(*state, thisValue, encodedValue, "onmouseover" ); |
27434 | } |
27435 | |
27436 | static inline JSValue jsDOMWindowOnmouseupGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27437 | { |
27438 | UNUSED_PARAM(throwScope); |
27439 | UNUSED_PARAM(state); |
27440 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27441 | return jsUndefined(); |
27442 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mouseupEvent, worldForDOMObject(thisObject)); |
27443 | } |
27444 | |
27445 | EncodedJSValue jsDOMWindowOnmouseup(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27446 | { |
27447 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmouseupGetter>(*state, thisValue, "onmouseup" ); |
27448 | } |
27449 | |
27450 | static inline bool setJSDOMWindowOnmouseupSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27451 | { |
27452 | UNUSED_PARAM(throwScope); |
27453 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27454 | return false; |
27455 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mouseupEvent, value); |
27456 | return true; |
27457 | } |
27458 | |
27459 | bool setJSDOMWindowOnmouseup(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27460 | { |
27461 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmouseupSetter>(*state, thisValue, encodedValue, "onmouseup" ); |
27462 | } |
27463 | |
27464 | static inline JSValue jsDOMWindowOnmousewheelGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27465 | { |
27466 | UNUSED_PARAM(throwScope); |
27467 | UNUSED_PARAM(state); |
27468 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27469 | return jsUndefined(); |
27470 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().mousewheelEvent, worldForDOMObject(thisObject)); |
27471 | } |
27472 | |
27473 | EncodedJSValue jsDOMWindowOnmousewheel(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27474 | { |
27475 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmousewheelGetter>(*state, thisValue, "onmousewheel" ); |
27476 | } |
27477 | |
27478 | static inline bool setJSDOMWindowOnmousewheelSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27479 | { |
27480 | UNUSED_PARAM(throwScope); |
27481 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27482 | return false; |
27483 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().mousewheelEvent, value); |
27484 | return true; |
27485 | } |
27486 | |
27487 | bool setJSDOMWindowOnmousewheel(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27488 | { |
27489 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmousewheelSetter>(*state, thisValue, encodedValue, "onmousewheel" ); |
27490 | } |
27491 | |
27492 | static inline JSValue jsDOMWindowOnpauseGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27493 | { |
27494 | UNUSED_PARAM(throwScope); |
27495 | UNUSED_PARAM(state); |
27496 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27497 | return jsUndefined(); |
27498 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pauseEvent, worldForDOMObject(thisObject)); |
27499 | } |
27500 | |
27501 | EncodedJSValue jsDOMWindowOnpause(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27502 | { |
27503 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpauseGetter>(*state, thisValue, "onpause" ); |
27504 | } |
27505 | |
27506 | static inline bool setJSDOMWindowOnpauseSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27507 | { |
27508 | UNUSED_PARAM(throwScope); |
27509 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27510 | return false; |
27511 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pauseEvent, value); |
27512 | return true; |
27513 | } |
27514 | |
27515 | bool setJSDOMWindowOnpause(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27516 | { |
27517 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpauseSetter>(*state, thisValue, encodedValue, "onpause" ); |
27518 | } |
27519 | |
27520 | static inline JSValue jsDOMWindowOnplayGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27521 | { |
27522 | UNUSED_PARAM(throwScope); |
27523 | UNUSED_PARAM(state); |
27524 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27525 | return jsUndefined(); |
27526 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().playEvent, worldForDOMObject(thisObject)); |
27527 | } |
27528 | |
27529 | EncodedJSValue jsDOMWindowOnplay(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27530 | { |
27531 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnplayGetter>(*state, thisValue, "onplay" ); |
27532 | } |
27533 | |
27534 | static inline bool setJSDOMWindowOnplaySetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27535 | { |
27536 | UNUSED_PARAM(throwScope); |
27537 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27538 | return false; |
27539 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().playEvent, value); |
27540 | return true; |
27541 | } |
27542 | |
27543 | bool setJSDOMWindowOnplay(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27544 | { |
27545 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnplaySetter>(*state, thisValue, encodedValue, "onplay" ); |
27546 | } |
27547 | |
27548 | static inline JSValue jsDOMWindowOnplayingGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27549 | { |
27550 | UNUSED_PARAM(throwScope); |
27551 | UNUSED_PARAM(state); |
27552 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27553 | return jsUndefined(); |
27554 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().playingEvent, worldForDOMObject(thisObject)); |
27555 | } |
27556 | |
27557 | EncodedJSValue jsDOMWindowOnplaying(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27558 | { |
27559 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnplayingGetter>(*state, thisValue, "onplaying" ); |
27560 | } |
27561 | |
27562 | static inline bool setJSDOMWindowOnplayingSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27563 | { |
27564 | UNUSED_PARAM(throwScope); |
27565 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27566 | return false; |
27567 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().playingEvent, value); |
27568 | return true; |
27569 | } |
27570 | |
27571 | bool setJSDOMWindowOnplaying(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27572 | { |
27573 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnplayingSetter>(*state, thisValue, encodedValue, "onplaying" ); |
27574 | } |
27575 | |
27576 | static inline JSValue jsDOMWindowOnprogressGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27577 | { |
27578 | UNUSED_PARAM(throwScope); |
27579 | UNUSED_PARAM(state); |
27580 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27581 | return jsUndefined(); |
27582 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().progressEvent, worldForDOMObject(thisObject)); |
27583 | } |
27584 | |
27585 | EncodedJSValue jsDOMWindowOnprogress(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27586 | { |
27587 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnprogressGetter>(*state, thisValue, "onprogress" ); |
27588 | } |
27589 | |
27590 | static inline bool setJSDOMWindowOnprogressSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27591 | { |
27592 | UNUSED_PARAM(throwScope); |
27593 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27594 | return false; |
27595 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().progressEvent, value); |
27596 | return true; |
27597 | } |
27598 | |
27599 | bool setJSDOMWindowOnprogress(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27600 | { |
27601 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnprogressSetter>(*state, thisValue, encodedValue, "onprogress" ); |
27602 | } |
27603 | |
27604 | static inline JSValue jsDOMWindowOnratechangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27605 | { |
27606 | UNUSED_PARAM(throwScope); |
27607 | UNUSED_PARAM(state); |
27608 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27609 | return jsUndefined(); |
27610 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().ratechangeEvent, worldForDOMObject(thisObject)); |
27611 | } |
27612 | |
27613 | EncodedJSValue jsDOMWindowOnratechange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27614 | { |
27615 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnratechangeGetter>(*state, thisValue, "onratechange" ); |
27616 | } |
27617 | |
27618 | static inline bool setJSDOMWindowOnratechangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27619 | { |
27620 | UNUSED_PARAM(throwScope); |
27621 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27622 | return false; |
27623 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().ratechangeEvent, value); |
27624 | return true; |
27625 | } |
27626 | |
27627 | bool setJSDOMWindowOnratechange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27628 | { |
27629 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnratechangeSetter>(*state, thisValue, encodedValue, "onratechange" ); |
27630 | } |
27631 | |
27632 | static inline JSValue jsDOMWindowOnrejectionhandledGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27633 | { |
27634 | UNUSED_PARAM(throwScope); |
27635 | UNUSED_PARAM(state); |
27636 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27637 | return jsUndefined(); |
27638 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().rejectionhandledEvent, worldForDOMObject(thisObject)); |
27639 | } |
27640 | |
27641 | EncodedJSValue jsDOMWindowOnrejectionhandled(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27642 | { |
27643 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnrejectionhandledGetter>(*state, thisValue, "onrejectionhandled" ); |
27644 | } |
27645 | |
27646 | static inline bool setJSDOMWindowOnrejectionhandledSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27647 | { |
27648 | UNUSED_PARAM(throwScope); |
27649 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27650 | return false; |
27651 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().rejectionhandledEvent, value); |
27652 | return true; |
27653 | } |
27654 | |
27655 | bool setJSDOMWindowOnrejectionhandled(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27656 | { |
27657 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnrejectionhandledSetter>(*state, thisValue, encodedValue, "onrejectionhandled" ); |
27658 | } |
27659 | |
27660 | static inline JSValue jsDOMWindowOnresetGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27661 | { |
27662 | UNUSED_PARAM(throwScope); |
27663 | UNUSED_PARAM(state); |
27664 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27665 | return jsUndefined(); |
27666 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().resetEvent, worldForDOMObject(thisObject)); |
27667 | } |
27668 | |
27669 | EncodedJSValue jsDOMWindowOnreset(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27670 | { |
27671 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnresetGetter>(*state, thisValue, "onreset" ); |
27672 | } |
27673 | |
27674 | static inline bool setJSDOMWindowOnresetSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27675 | { |
27676 | UNUSED_PARAM(throwScope); |
27677 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27678 | return false; |
27679 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().resetEvent, value); |
27680 | return true; |
27681 | } |
27682 | |
27683 | bool setJSDOMWindowOnreset(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27684 | { |
27685 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnresetSetter>(*state, thisValue, encodedValue, "onreset" ); |
27686 | } |
27687 | |
27688 | static inline JSValue jsDOMWindowOnresizeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27689 | { |
27690 | UNUSED_PARAM(throwScope); |
27691 | UNUSED_PARAM(state); |
27692 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27693 | return jsUndefined(); |
27694 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().resizeEvent, worldForDOMObject(thisObject)); |
27695 | } |
27696 | |
27697 | EncodedJSValue jsDOMWindowOnresize(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27698 | { |
27699 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnresizeGetter>(*state, thisValue, "onresize" ); |
27700 | } |
27701 | |
27702 | static inline bool setJSDOMWindowOnresizeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27703 | { |
27704 | UNUSED_PARAM(throwScope); |
27705 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27706 | return false; |
27707 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().resizeEvent, value); |
27708 | return true; |
27709 | } |
27710 | |
27711 | bool setJSDOMWindowOnresize(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27712 | { |
27713 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnresizeSetter>(*state, thisValue, encodedValue, "onresize" ); |
27714 | } |
27715 | |
27716 | static inline JSValue jsDOMWindowOnscrollGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27717 | { |
27718 | UNUSED_PARAM(throwScope); |
27719 | UNUSED_PARAM(state); |
27720 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27721 | return jsUndefined(); |
27722 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().scrollEvent, worldForDOMObject(thisObject)); |
27723 | } |
27724 | |
27725 | EncodedJSValue jsDOMWindowOnscroll(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27726 | { |
27727 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnscrollGetter>(*state, thisValue, "onscroll" ); |
27728 | } |
27729 | |
27730 | static inline bool setJSDOMWindowOnscrollSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27731 | { |
27732 | UNUSED_PARAM(throwScope); |
27733 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27734 | return false; |
27735 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().scrollEvent, value); |
27736 | return true; |
27737 | } |
27738 | |
27739 | bool setJSDOMWindowOnscroll(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27740 | { |
27741 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnscrollSetter>(*state, thisValue, encodedValue, "onscroll" ); |
27742 | } |
27743 | |
27744 | static inline JSValue jsDOMWindowOnseekedGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27745 | { |
27746 | UNUSED_PARAM(throwScope); |
27747 | UNUSED_PARAM(state); |
27748 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27749 | return jsUndefined(); |
27750 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().seekedEvent, worldForDOMObject(thisObject)); |
27751 | } |
27752 | |
27753 | EncodedJSValue jsDOMWindowOnseeked(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27754 | { |
27755 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnseekedGetter>(*state, thisValue, "onseeked" ); |
27756 | } |
27757 | |
27758 | static inline bool setJSDOMWindowOnseekedSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27759 | { |
27760 | UNUSED_PARAM(throwScope); |
27761 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27762 | return false; |
27763 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().seekedEvent, value); |
27764 | return true; |
27765 | } |
27766 | |
27767 | bool setJSDOMWindowOnseeked(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27768 | { |
27769 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnseekedSetter>(*state, thisValue, encodedValue, "onseeked" ); |
27770 | } |
27771 | |
27772 | static inline JSValue jsDOMWindowOnseekingGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27773 | { |
27774 | UNUSED_PARAM(throwScope); |
27775 | UNUSED_PARAM(state); |
27776 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27777 | return jsUndefined(); |
27778 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().seekingEvent, worldForDOMObject(thisObject)); |
27779 | } |
27780 | |
27781 | EncodedJSValue jsDOMWindowOnseeking(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27782 | { |
27783 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnseekingGetter>(*state, thisValue, "onseeking" ); |
27784 | } |
27785 | |
27786 | static inline bool setJSDOMWindowOnseekingSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27787 | { |
27788 | UNUSED_PARAM(throwScope); |
27789 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27790 | return false; |
27791 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().seekingEvent, value); |
27792 | return true; |
27793 | } |
27794 | |
27795 | bool setJSDOMWindowOnseeking(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27796 | { |
27797 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnseekingSetter>(*state, thisValue, encodedValue, "onseeking" ); |
27798 | } |
27799 | |
27800 | static inline JSValue jsDOMWindowOnselectGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27801 | { |
27802 | UNUSED_PARAM(throwScope); |
27803 | UNUSED_PARAM(state); |
27804 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27805 | return jsUndefined(); |
27806 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().selectEvent, worldForDOMObject(thisObject)); |
27807 | } |
27808 | |
27809 | EncodedJSValue jsDOMWindowOnselect(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27810 | { |
27811 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnselectGetter>(*state, thisValue, "onselect" ); |
27812 | } |
27813 | |
27814 | static inline bool setJSDOMWindowOnselectSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27815 | { |
27816 | UNUSED_PARAM(throwScope); |
27817 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27818 | return false; |
27819 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().selectEvent, value); |
27820 | return true; |
27821 | } |
27822 | |
27823 | bool setJSDOMWindowOnselect(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27824 | { |
27825 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnselectSetter>(*state, thisValue, encodedValue, "onselect" ); |
27826 | } |
27827 | |
27828 | static inline JSValue jsDOMWindowOnstalledGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27829 | { |
27830 | UNUSED_PARAM(throwScope); |
27831 | UNUSED_PARAM(state); |
27832 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27833 | return jsUndefined(); |
27834 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().stalledEvent, worldForDOMObject(thisObject)); |
27835 | } |
27836 | |
27837 | EncodedJSValue jsDOMWindowOnstalled(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27838 | { |
27839 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnstalledGetter>(*state, thisValue, "onstalled" ); |
27840 | } |
27841 | |
27842 | static inline bool setJSDOMWindowOnstalledSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27843 | { |
27844 | UNUSED_PARAM(throwScope); |
27845 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27846 | return false; |
27847 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().stalledEvent, value); |
27848 | return true; |
27849 | } |
27850 | |
27851 | bool setJSDOMWindowOnstalled(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27852 | { |
27853 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnstalledSetter>(*state, thisValue, encodedValue, "onstalled" ); |
27854 | } |
27855 | |
27856 | static inline JSValue jsDOMWindowOnsubmitGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27857 | { |
27858 | UNUSED_PARAM(throwScope); |
27859 | UNUSED_PARAM(state); |
27860 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27861 | return jsUndefined(); |
27862 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().submitEvent, worldForDOMObject(thisObject)); |
27863 | } |
27864 | |
27865 | EncodedJSValue jsDOMWindowOnsubmit(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27866 | { |
27867 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnsubmitGetter>(*state, thisValue, "onsubmit" ); |
27868 | } |
27869 | |
27870 | static inline bool setJSDOMWindowOnsubmitSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27871 | { |
27872 | UNUSED_PARAM(throwScope); |
27873 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27874 | return false; |
27875 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().submitEvent, value); |
27876 | return true; |
27877 | } |
27878 | |
27879 | bool setJSDOMWindowOnsubmit(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27880 | { |
27881 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnsubmitSetter>(*state, thisValue, encodedValue, "onsubmit" ); |
27882 | } |
27883 | |
27884 | static inline JSValue jsDOMWindowOnsuspendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27885 | { |
27886 | UNUSED_PARAM(throwScope); |
27887 | UNUSED_PARAM(state); |
27888 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27889 | return jsUndefined(); |
27890 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().suspendEvent, worldForDOMObject(thisObject)); |
27891 | } |
27892 | |
27893 | EncodedJSValue jsDOMWindowOnsuspend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27894 | { |
27895 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnsuspendGetter>(*state, thisValue, "onsuspend" ); |
27896 | } |
27897 | |
27898 | static inline bool setJSDOMWindowOnsuspendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27899 | { |
27900 | UNUSED_PARAM(throwScope); |
27901 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27902 | return false; |
27903 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().suspendEvent, value); |
27904 | return true; |
27905 | } |
27906 | |
27907 | bool setJSDOMWindowOnsuspend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27908 | { |
27909 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnsuspendSetter>(*state, thisValue, encodedValue, "onsuspend" ); |
27910 | } |
27911 | |
27912 | static inline JSValue jsDOMWindowOntimeupdateGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27913 | { |
27914 | UNUSED_PARAM(throwScope); |
27915 | UNUSED_PARAM(state); |
27916 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27917 | return jsUndefined(); |
27918 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().timeupdateEvent, worldForDOMObject(thisObject)); |
27919 | } |
27920 | |
27921 | EncodedJSValue jsDOMWindowOntimeupdate(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27922 | { |
27923 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntimeupdateGetter>(*state, thisValue, "ontimeupdate" ); |
27924 | } |
27925 | |
27926 | static inline bool setJSDOMWindowOntimeupdateSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27927 | { |
27928 | UNUSED_PARAM(throwScope); |
27929 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27930 | return false; |
27931 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().timeupdateEvent, value); |
27932 | return true; |
27933 | } |
27934 | |
27935 | bool setJSDOMWindowOntimeupdate(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27936 | { |
27937 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntimeupdateSetter>(*state, thisValue, encodedValue, "ontimeupdate" ); |
27938 | } |
27939 | |
27940 | static inline JSValue jsDOMWindowOntoggleGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27941 | { |
27942 | UNUSED_PARAM(throwScope); |
27943 | UNUSED_PARAM(state); |
27944 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27945 | return jsUndefined(); |
27946 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().toggleEvent, worldForDOMObject(thisObject)); |
27947 | } |
27948 | |
27949 | EncodedJSValue jsDOMWindowOntoggle(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27950 | { |
27951 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntoggleGetter>(*state, thisValue, "ontoggle" ); |
27952 | } |
27953 | |
27954 | static inline bool setJSDOMWindowOntoggleSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27955 | { |
27956 | UNUSED_PARAM(throwScope); |
27957 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27958 | return false; |
27959 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().toggleEvent, value); |
27960 | return true; |
27961 | } |
27962 | |
27963 | bool setJSDOMWindowOntoggle(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27964 | { |
27965 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntoggleSetter>(*state, thisValue, encodedValue, "ontoggle" ); |
27966 | } |
27967 | |
27968 | static inline JSValue jsDOMWindowOnunhandledrejectionGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27969 | { |
27970 | UNUSED_PARAM(throwScope); |
27971 | UNUSED_PARAM(state); |
27972 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27973 | return jsUndefined(); |
27974 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().unhandledrejectionEvent, worldForDOMObject(thisObject)); |
27975 | } |
27976 | |
27977 | EncodedJSValue jsDOMWindowOnunhandledrejection(ExecState* state, EncodedJSValue thisValue, PropertyName) |
27978 | { |
27979 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnunhandledrejectionGetter>(*state, thisValue, "onunhandledrejection" ); |
27980 | } |
27981 | |
27982 | static inline bool setJSDOMWindowOnunhandledrejectionSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
27983 | { |
27984 | UNUSED_PARAM(throwScope); |
27985 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
27986 | return false; |
27987 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().unhandledrejectionEvent, value); |
27988 | return true; |
27989 | } |
27990 | |
27991 | bool setJSDOMWindowOnunhandledrejection(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
27992 | { |
27993 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnunhandledrejectionSetter>(*state, thisValue, encodedValue, "onunhandledrejection" ); |
27994 | } |
27995 | |
27996 | static inline JSValue jsDOMWindowOnvolumechangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
27997 | { |
27998 | UNUSED_PARAM(throwScope); |
27999 | UNUSED_PARAM(state); |
28000 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28001 | return jsUndefined(); |
28002 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().volumechangeEvent, worldForDOMObject(thisObject)); |
28003 | } |
28004 | |
28005 | EncodedJSValue jsDOMWindowOnvolumechange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28006 | { |
28007 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnvolumechangeGetter>(*state, thisValue, "onvolumechange" ); |
28008 | } |
28009 | |
28010 | static inline bool setJSDOMWindowOnvolumechangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28011 | { |
28012 | UNUSED_PARAM(throwScope); |
28013 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28014 | return false; |
28015 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().volumechangeEvent, value); |
28016 | return true; |
28017 | } |
28018 | |
28019 | bool setJSDOMWindowOnvolumechange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28020 | { |
28021 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnvolumechangeSetter>(*state, thisValue, encodedValue, "onvolumechange" ); |
28022 | } |
28023 | |
28024 | static inline JSValue jsDOMWindowOnwaitingGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28025 | { |
28026 | UNUSED_PARAM(throwScope); |
28027 | UNUSED_PARAM(state); |
28028 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28029 | return jsUndefined(); |
28030 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().waitingEvent, worldForDOMObject(thisObject)); |
28031 | } |
28032 | |
28033 | EncodedJSValue jsDOMWindowOnwaiting(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28034 | { |
28035 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwaitingGetter>(*state, thisValue, "onwaiting" ); |
28036 | } |
28037 | |
28038 | static inline bool setJSDOMWindowOnwaitingSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28039 | { |
28040 | UNUSED_PARAM(throwScope); |
28041 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28042 | return false; |
28043 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().waitingEvent, value); |
28044 | return true; |
28045 | } |
28046 | |
28047 | bool setJSDOMWindowOnwaiting(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28048 | { |
28049 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwaitingSetter>(*state, thisValue, encodedValue, "onwaiting" ); |
28050 | } |
28051 | |
28052 | static inline JSValue jsDOMWindowOntransitionendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28053 | { |
28054 | UNUSED_PARAM(throwScope); |
28055 | UNUSED_PARAM(state); |
28056 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28057 | return jsUndefined(); |
28058 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().transitionendEvent, worldForDOMObject(thisObject)); |
28059 | } |
28060 | |
28061 | EncodedJSValue jsDOMWindowOntransitionend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28062 | { |
28063 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntransitionendGetter>(*state, thisValue, "ontransitionend" ); |
28064 | } |
28065 | |
28066 | static inline bool setJSDOMWindowOntransitionendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28067 | { |
28068 | UNUSED_PARAM(throwScope); |
28069 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28070 | return false; |
28071 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().transitionendEvent, value); |
28072 | return true; |
28073 | } |
28074 | |
28075 | bool setJSDOMWindowOntransitionend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28076 | { |
28077 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntransitionendSetter>(*state, thisValue, encodedValue, "ontransitionend" ); |
28078 | } |
28079 | |
28080 | static inline JSValue jsDOMWindowOntransitionrunGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28081 | { |
28082 | UNUSED_PARAM(throwScope); |
28083 | UNUSED_PARAM(state); |
28084 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28085 | return jsUndefined(); |
28086 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().transitionrunEvent, worldForDOMObject(thisObject)); |
28087 | } |
28088 | |
28089 | EncodedJSValue jsDOMWindowOntransitionrun(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28090 | { |
28091 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntransitionrunGetter>(*state, thisValue, "ontransitionrun" ); |
28092 | } |
28093 | |
28094 | static inline bool setJSDOMWindowOntransitionrunSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28095 | { |
28096 | UNUSED_PARAM(throwScope); |
28097 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28098 | return false; |
28099 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().transitionrunEvent, value); |
28100 | return true; |
28101 | } |
28102 | |
28103 | bool setJSDOMWindowOntransitionrun(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28104 | { |
28105 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntransitionrunSetter>(*state, thisValue, encodedValue, "ontransitionrun" ); |
28106 | } |
28107 | |
28108 | static inline JSValue jsDOMWindowOntransitionstartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28109 | { |
28110 | UNUSED_PARAM(throwScope); |
28111 | UNUSED_PARAM(state); |
28112 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28113 | return jsUndefined(); |
28114 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().transitionstartEvent, worldForDOMObject(thisObject)); |
28115 | } |
28116 | |
28117 | EncodedJSValue jsDOMWindowOntransitionstart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28118 | { |
28119 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntransitionstartGetter>(*state, thisValue, "ontransitionstart" ); |
28120 | } |
28121 | |
28122 | static inline bool setJSDOMWindowOntransitionstartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28123 | { |
28124 | UNUSED_PARAM(throwScope); |
28125 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28126 | return false; |
28127 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().transitionstartEvent, value); |
28128 | return true; |
28129 | } |
28130 | |
28131 | bool setJSDOMWindowOntransitionstart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28132 | { |
28133 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntransitionstartSetter>(*state, thisValue, encodedValue, "ontransitionstart" ); |
28134 | } |
28135 | |
28136 | static inline JSValue jsDOMWindowOntransitioncancelGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28137 | { |
28138 | UNUSED_PARAM(throwScope); |
28139 | UNUSED_PARAM(state); |
28140 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28141 | return jsUndefined(); |
28142 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().transitioncancelEvent, worldForDOMObject(thisObject)); |
28143 | } |
28144 | |
28145 | EncodedJSValue jsDOMWindowOntransitioncancel(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28146 | { |
28147 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntransitioncancelGetter>(*state, thisValue, "ontransitioncancel" ); |
28148 | } |
28149 | |
28150 | static inline bool setJSDOMWindowOntransitioncancelSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28151 | { |
28152 | UNUSED_PARAM(throwScope); |
28153 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28154 | return false; |
28155 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().transitioncancelEvent, value); |
28156 | return true; |
28157 | } |
28158 | |
28159 | bool setJSDOMWindowOntransitioncancel(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28160 | { |
28161 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntransitioncancelSetter>(*state, thisValue, encodedValue, "ontransitioncancel" ); |
28162 | } |
28163 | |
28164 | static inline JSValue jsDOMWindowOnanimationendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28165 | { |
28166 | UNUSED_PARAM(throwScope); |
28167 | UNUSED_PARAM(state); |
28168 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28169 | return jsUndefined(); |
28170 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().animationendEvent, worldForDOMObject(thisObject)); |
28171 | } |
28172 | |
28173 | EncodedJSValue jsDOMWindowOnanimationend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28174 | { |
28175 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnanimationendGetter>(*state, thisValue, "onanimationend" ); |
28176 | } |
28177 | |
28178 | static inline bool setJSDOMWindowOnanimationendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28179 | { |
28180 | UNUSED_PARAM(throwScope); |
28181 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28182 | return false; |
28183 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().animationendEvent, value); |
28184 | return true; |
28185 | } |
28186 | |
28187 | bool setJSDOMWindowOnanimationend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28188 | { |
28189 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnanimationendSetter>(*state, thisValue, encodedValue, "onanimationend" ); |
28190 | } |
28191 | |
28192 | static inline JSValue jsDOMWindowOnanimationiterationGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28193 | { |
28194 | UNUSED_PARAM(throwScope); |
28195 | UNUSED_PARAM(state); |
28196 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28197 | return jsUndefined(); |
28198 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().animationiterationEvent, worldForDOMObject(thisObject)); |
28199 | } |
28200 | |
28201 | EncodedJSValue jsDOMWindowOnanimationiteration(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28202 | { |
28203 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnanimationiterationGetter>(*state, thisValue, "onanimationiteration" ); |
28204 | } |
28205 | |
28206 | static inline bool setJSDOMWindowOnanimationiterationSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28207 | { |
28208 | UNUSED_PARAM(throwScope); |
28209 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28210 | return false; |
28211 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().animationiterationEvent, value); |
28212 | return true; |
28213 | } |
28214 | |
28215 | bool setJSDOMWindowOnanimationiteration(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28216 | { |
28217 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnanimationiterationSetter>(*state, thisValue, encodedValue, "onanimationiteration" ); |
28218 | } |
28219 | |
28220 | static inline JSValue jsDOMWindowOnanimationstartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28221 | { |
28222 | UNUSED_PARAM(throwScope); |
28223 | UNUSED_PARAM(state); |
28224 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28225 | return jsUndefined(); |
28226 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().animationstartEvent, worldForDOMObject(thisObject)); |
28227 | } |
28228 | |
28229 | EncodedJSValue jsDOMWindowOnanimationstart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28230 | { |
28231 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnanimationstartGetter>(*state, thisValue, "onanimationstart" ); |
28232 | } |
28233 | |
28234 | static inline bool setJSDOMWindowOnanimationstartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28235 | { |
28236 | UNUSED_PARAM(throwScope); |
28237 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28238 | return false; |
28239 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().animationstartEvent, value); |
28240 | return true; |
28241 | } |
28242 | |
28243 | bool setJSDOMWindowOnanimationstart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28244 | { |
28245 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnanimationstartSetter>(*state, thisValue, encodedValue, "onanimationstart" ); |
28246 | } |
28247 | |
28248 | static inline JSValue jsDOMWindowOnanimationcancelGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28249 | { |
28250 | UNUSED_PARAM(throwScope); |
28251 | UNUSED_PARAM(state); |
28252 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28253 | return jsUndefined(); |
28254 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().animationcancelEvent, worldForDOMObject(thisObject)); |
28255 | } |
28256 | |
28257 | EncodedJSValue jsDOMWindowOnanimationcancel(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28258 | { |
28259 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnanimationcancelGetter>(*state, thisValue, "onanimationcancel" ); |
28260 | } |
28261 | |
28262 | static inline bool setJSDOMWindowOnanimationcancelSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28263 | { |
28264 | UNUSED_PARAM(throwScope); |
28265 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28266 | return false; |
28267 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().animationcancelEvent, value); |
28268 | return true; |
28269 | } |
28270 | |
28271 | bool setJSDOMWindowOnanimationcancel(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28272 | { |
28273 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnanimationcancelSetter>(*state, thisValue, encodedValue, "onanimationcancel" ); |
28274 | } |
28275 | |
28276 | static inline JSValue jsDOMWindowOngotpointercaptureGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28277 | { |
28278 | UNUSED_PARAM(throwScope); |
28279 | UNUSED_PARAM(state); |
28280 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28281 | return jsUndefined(); |
28282 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().gotpointercaptureEvent, worldForDOMObject(thisObject)); |
28283 | } |
28284 | |
28285 | EncodedJSValue jsDOMWindowOngotpointercapture(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28286 | { |
28287 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOngotpointercaptureGetter>(*state, thisValue, "ongotpointercapture" ); |
28288 | } |
28289 | |
28290 | static inline bool setJSDOMWindowOngotpointercaptureSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28291 | { |
28292 | UNUSED_PARAM(throwScope); |
28293 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28294 | return false; |
28295 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().gotpointercaptureEvent, value); |
28296 | return true; |
28297 | } |
28298 | |
28299 | bool setJSDOMWindowOngotpointercapture(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28300 | { |
28301 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOngotpointercaptureSetter>(*state, thisValue, encodedValue, "ongotpointercapture" ); |
28302 | } |
28303 | |
28304 | static inline JSValue jsDOMWindowOnlostpointercaptureGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28305 | { |
28306 | UNUSED_PARAM(throwScope); |
28307 | UNUSED_PARAM(state); |
28308 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28309 | return jsUndefined(); |
28310 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().lostpointercaptureEvent, worldForDOMObject(thisObject)); |
28311 | } |
28312 | |
28313 | EncodedJSValue jsDOMWindowOnlostpointercapture(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28314 | { |
28315 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnlostpointercaptureGetter>(*state, thisValue, "onlostpointercapture" ); |
28316 | } |
28317 | |
28318 | static inline bool setJSDOMWindowOnlostpointercaptureSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28319 | { |
28320 | UNUSED_PARAM(throwScope); |
28321 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28322 | return false; |
28323 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().lostpointercaptureEvent, value); |
28324 | return true; |
28325 | } |
28326 | |
28327 | bool setJSDOMWindowOnlostpointercapture(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28328 | { |
28329 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnlostpointercaptureSetter>(*state, thisValue, encodedValue, "onlostpointercapture" ); |
28330 | } |
28331 | |
28332 | static inline JSValue jsDOMWindowOnpointerdownGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28333 | { |
28334 | UNUSED_PARAM(throwScope); |
28335 | UNUSED_PARAM(state); |
28336 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28337 | return jsUndefined(); |
28338 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointerdownEvent, worldForDOMObject(thisObject)); |
28339 | } |
28340 | |
28341 | EncodedJSValue jsDOMWindowOnpointerdown(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28342 | { |
28343 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointerdownGetter>(*state, thisValue, "onpointerdown" ); |
28344 | } |
28345 | |
28346 | static inline bool setJSDOMWindowOnpointerdownSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28347 | { |
28348 | UNUSED_PARAM(throwScope); |
28349 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28350 | return false; |
28351 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointerdownEvent, value); |
28352 | return true; |
28353 | } |
28354 | |
28355 | bool setJSDOMWindowOnpointerdown(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28356 | { |
28357 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointerdownSetter>(*state, thisValue, encodedValue, "onpointerdown" ); |
28358 | } |
28359 | |
28360 | static inline JSValue jsDOMWindowOnpointermoveGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28361 | { |
28362 | UNUSED_PARAM(throwScope); |
28363 | UNUSED_PARAM(state); |
28364 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28365 | return jsUndefined(); |
28366 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointermoveEvent, worldForDOMObject(thisObject)); |
28367 | } |
28368 | |
28369 | EncodedJSValue jsDOMWindowOnpointermove(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28370 | { |
28371 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointermoveGetter>(*state, thisValue, "onpointermove" ); |
28372 | } |
28373 | |
28374 | static inline bool setJSDOMWindowOnpointermoveSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28375 | { |
28376 | UNUSED_PARAM(throwScope); |
28377 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28378 | return false; |
28379 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointermoveEvent, value); |
28380 | return true; |
28381 | } |
28382 | |
28383 | bool setJSDOMWindowOnpointermove(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28384 | { |
28385 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointermoveSetter>(*state, thisValue, encodedValue, "onpointermove" ); |
28386 | } |
28387 | |
28388 | static inline JSValue jsDOMWindowOnpointerupGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28389 | { |
28390 | UNUSED_PARAM(throwScope); |
28391 | UNUSED_PARAM(state); |
28392 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28393 | return jsUndefined(); |
28394 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointerupEvent, worldForDOMObject(thisObject)); |
28395 | } |
28396 | |
28397 | EncodedJSValue jsDOMWindowOnpointerup(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28398 | { |
28399 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointerupGetter>(*state, thisValue, "onpointerup" ); |
28400 | } |
28401 | |
28402 | static inline bool setJSDOMWindowOnpointerupSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28403 | { |
28404 | UNUSED_PARAM(throwScope); |
28405 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28406 | return false; |
28407 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointerupEvent, value); |
28408 | return true; |
28409 | } |
28410 | |
28411 | bool setJSDOMWindowOnpointerup(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28412 | { |
28413 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointerupSetter>(*state, thisValue, encodedValue, "onpointerup" ); |
28414 | } |
28415 | |
28416 | static inline JSValue jsDOMWindowOnpointercancelGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28417 | { |
28418 | UNUSED_PARAM(throwScope); |
28419 | UNUSED_PARAM(state); |
28420 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28421 | return jsUndefined(); |
28422 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointercancelEvent, worldForDOMObject(thisObject)); |
28423 | } |
28424 | |
28425 | EncodedJSValue jsDOMWindowOnpointercancel(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28426 | { |
28427 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointercancelGetter>(*state, thisValue, "onpointercancel" ); |
28428 | } |
28429 | |
28430 | static inline bool setJSDOMWindowOnpointercancelSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28431 | { |
28432 | UNUSED_PARAM(throwScope); |
28433 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28434 | return false; |
28435 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointercancelEvent, value); |
28436 | return true; |
28437 | } |
28438 | |
28439 | bool setJSDOMWindowOnpointercancel(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28440 | { |
28441 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointercancelSetter>(*state, thisValue, encodedValue, "onpointercancel" ); |
28442 | } |
28443 | |
28444 | static inline JSValue jsDOMWindowOnpointeroverGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28445 | { |
28446 | UNUSED_PARAM(throwScope); |
28447 | UNUSED_PARAM(state); |
28448 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28449 | return jsUndefined(); |
28450 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointeroverEvent, worldForDOMObject(thisObject)); |
28451 | } |
28452 | |
28453 | EncodedJSValue jsDOMWindowOnpointerover(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28454 | { |
28455 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointeroverGetter>(*state, thisValue, "onpointerover" ); |
28456 | } |
28457 | |
28458 | static inline bool setJSDOMWindowOnpointeroverSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28459 | { |
28460 | UNUSED_PARAM(throwScope); |
28461 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28462 | return false; |
28463 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointeroverEvent, value); |
28464 | return true; |
28465 | } |
28466 | |
28467 | bool setJSDOMWindowOnpointerover(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28468 | { |
28469 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointeroverSetter>(*state, thisValue, encodedValue, "onpointerover" ); |
28470 | } |
28471 | |
28472 | static inline JSValue jsDOMWindowOnpointeroutGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28473 | { |
28474 | UNUSED_PARAM(throwScope); |
28475 | UNUSED_PARAM(state); |
28476 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28477 | return jsUndefined(); |
28478 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointeroutEvent, worldForDOMObject(thisObject)); |
28479 | } |
28480 | |
28481 | EncodedJSValue jsDOMWindowOnpointerout(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28482 | { |
28483 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointeroutGetter>(*state, thisValue, "onpointerout" ); |
28484 | } |
28485 | |
28486 | static inline bool setJSDOMWindowOnpointeroutSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28487 | { |
28488 | UNUSED_PARAM(throwScope); |
28489 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28490 | return false; |
28491 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointeroutEvent, value); |
28492 | return true; |
28493 | } |
28494 | |
28495 | bool setJSDOMWindowOnpointerout(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28496 | { |
28497 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointeroutSetter>(*state, thisValue, encodedValue, "onpointerout" ); |
28498 | } |
28499 | |
28500 | static inline JSValue jsDOMWindowOnpointerenterGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28501 | { |
28502 | UNUSED_PARAM(throwScope); |
28503 | UNUSED_PARAM(state); |
28504 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28505 | return jsUndefined(); |
28506 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointerenterEvent, worldForDOMObject(thisObject)); |
28507 | } |
28508 | |
28509 | EncodedJSValue jsDOMWindowOnpointerenter(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28510 | { |
28511 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointerenterGetter>(*state, thisValue, "onpointerenter" ); |
28512 | } |
28513 | |
28514 | static inline bool setJSDOMWindowOnpointerenterSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28515 | { |
28516 | UNUSED_PARAM(throwScope); |
28517 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28518 | return false; |
28519 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointerenterEvent, value); |
28520 | return true; |
28521 | } |
28522 | |
28523 | bool setJSDOMWindowOnpointerenter(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28524 | { |
28525 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointerenterSetter>(*state, thisValue, encodedValue, "onpointerenter" ); |
28526 | } |
28527 | |
28528 | static inline JSValue jsDOMWindowOnpointerleaveGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28529 | { |
28530 | UNUSED_PARAM(throwScope); |
28531 | UNUSED_PARAM(state); |
28532 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28533 | return jsUndefined(); |
28534 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().pointerleaveEvent, worldForDOMObject(thisObject)); |
28535 | } |
28536 | |
28537 | EncodedJSValue jsDOMWindowOnpointerleave(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28538 | { |
28539 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpointerleaveGetter>(*state, thisValue, "onpointerleave" ); |
28540 | } |
28541 | |
28542 | static inline bool setJSDOMWindowOnpointerleaveSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28543 | { |
28544 | UNUSED_PARAM(throwScope); |
28545 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28546 | return false; |
28547 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pointerleaveEvent, value); |
28548 | return true; |
28549 | } |
28550 | |
28551 | bool setJSDOMWindowOnpointerleave(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28552 | { |
28553 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpointerleaveSetter>(*state, thisValue, encodedValue, "onpointerleave" ); |
28554 | } |
28555 | |
28556 | static inline JSValue jsDOMWindowOnsearchGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28557 | { |
28558 | UNUSED_PARAM(throwScope); |
28559 | UNUSED_PARAM(state); |
28560 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28561 | return jsUndefined(); |
28562 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().searchEvent, worldForDOMObject(thisObject)); |
28563 | } |
28564 | |
28565 | EncodedJSValue jsDOMWindowOnsearch(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28566 | { |
28567 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnsearchGetter>(*state, thisValue, "onsearch" ); |
28568 | } |
28569 | |
28570 | static inline bool setJSDOMWindowOnsearchSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28571 | { |
28572 | UNUSED_PARAM(throwScope); |
28573 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28574 | return false; |
28575 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().searchEvent, value); |
28576 | return true; |
28577 | } |
28578 | |
28579 | bool setJSDOMWindowOnsearch(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28580 | { |
28581 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnsearchSetter>(*state, thisValue, encodedValue, "onsearch" ); |
28582 | } |
28583 | |
28584 | static inline JSValue jsDOMWindowOnwheelGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28585 | { |
28586 | UNUSED_PARAM(throwScope); |
28587 | UNUSED_PARAM(state); |
28588 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28589 | return jsUndefined(); |
28590 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().wheelEvent, worldForDOMObject(thisObject)); |
28591 | } |
28592 | |
28593 | EncodedJSValue jsDOMWindowOnwheel(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28594 | { |
28595 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwheelGetter>(*state, thisValue, "onwheel" ); |
28596 | } |
28597 | |
28598 | static inline bool setJSDOMWindowOnwheelSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28599 | { |
28600 | UNUSED_PARAM(throwScope); |
28601 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28602 | return false; |
28603 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().wheelEvent, value); |
28604 | return true; |
28605 | } |
28606 | |
28607 | bool setJSDOMWindowOnwheel(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28608 | { |
28609 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwheelSetter>(*state, thisValue, encodedValue, "onwheel" ); |
28610 | } |
28611 | |
28612 | #if ENABLE(TOUCH_EVENTS) |
28613 | static inline JSValue jsDOMWindowOntouchcancelGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28614 | { |
28615 | UNUSED_PARAM(throwScope); |
28616 | UNUSED_PARAM(state); |
28617 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28618 | return jsUndefined(); |
28619 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().touchcancelEvent, worldForDOMObject(thisObject)); |
28620 | } |
28621 | |
28622 | EncodedJSValue jsDOMWindowOntouchcancel(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28623 | { |
28624 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntouchcancelGetter>(*state, thisValue, "ontouchcancel" ); |
28625 | } |
28626 | |
28627 | #endif |
28628 | |
28629 | #if ENABLE(TOUCH_EVENTS) |
28630 | static inline bool setJSDOMWindowOntouchcancelSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28631 | { |
28632 | UNUSED_PARAM(throwScope); |
28633 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28634 | return false; |
28635 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().touchcancelEvent, value); |
28636 | return true; |
28637 | } |
28638 | |
28639 | bool setJSDOMWindowOntouchcancel(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28640 | { |
28641 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntouchcancelSetter>(*state, thisValue, encodedValue, "ontouchcancel" ); |
28642 | } |
28643 | |
28644 | #endif |
28645 | |
28646 | #if ENABLE(TOUCH_EVENTS) |
28647 | static inline JSValue jsDOMWindowOntouchendGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28648 | { |
28649 | UNUSED_PARAM(throwScope); |
28650 | UNUSED_PARAM(state); |
28651 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28652 | return jsUndefined(); |
28653 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().touchendEvent, worldForDOMObject(thisObject)); |
28654 | } |
28655 | |
28656 | EncodedJSValue jsDOMWindowOntouchend(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28657 | { |
28658 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntouchendGetter>(*state, thisValue, "ontouchend" ); |
28659 | } |
28660 | |
28661 | #endif |
28662 | |
28663 | #if ENABLE(TOUCH_EVENTS) |
28664 | static inline bool setJSDOMWindowOntouchendSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28665 | { |
28666 | UNUSED_PARAM(throwScope); |
28667 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28668 | return false; |
28669 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().touchendEvent, value); |
28670 | return true; |
28671 | } |
28672 | |
28673 | bool setJSDOMWindowOntouchend(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28674 | { |
28675 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntouchendSetter>(*state, thisValue, encodedValue, "ontouchend" ); |
28676 | } |
28677 | |
28678 | #endif |
28679 | |
28680 | #if ENABLE(TOUCH_EVENTS) |
28681 | static inline JSValue jsDOMWindowOntouchmoveGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28682 | { |
28683 | UNUSED_PARAM(throwScope); |
28684 | UNUSED_PARAM(state); |
28685 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28686 | return jsUndefined(); |
28687 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().touchmoveEvent, worldForDOMObject(thisObject)); |
28688 | } |
28689 | |
28690 | EncodedJSValue jsDOMWindowOntouchmove(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28691 | { |
28692 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntouchmoveGetter>(*state, thisValue, "ontouchmove" ); |
28693 | } |
28694 | |
28695 | #endif |
28696 | |
28697 | #if ENABLE(TOUCH_EVENTS) |
28698 | static inline bool setJSDOMWindowOntouchmoveSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28699 | { |
28700 | UNUSED_PARAM(throwScope); |
28701 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28702 | return false; |
28703 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().touchmoveEvent, value); |
28704 | return true; |
28705 | } |
28706 | |
28707 | bool setJSDOMWindowOntouchmove(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28708 | { |
28709 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntouchmoveSetter>(*state, thisValue, encodedValue, "ontouchmove" ); |
28710 | } |
28711 | |
28712 | #endif |
28713 | |
28714 | #if ENABLE(TOUCH_EVENTS) |
28715 | static inline JSValue jsDOMWindowOntouchstartGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28716 | { |
28717 | UNUSED_PARAM(throwScope); |
28718 | UNUSED_PARAM(state); |
28719 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28720 | return jsUndefined(); |
28721 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().touchstartEvent, worldForDOMObject(thisObject)); |
28722 | } |
28723 | |
28724 | EncodedJSValue jsDOMWindowOntouchstart(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28725 | { |
28726 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntouchstartGetter>(*state, thisValue, "ontouchstart" ); |
28727 | } |
28728 | |
28729 | #endif |
28730 | |
28731 | #if ENABLE(TOUCH_EVENTS) |
28732 | static inline bool setJSDOMWindowOntouchstartSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28733 | { |
28734 | UNUSED_PARAM(throwScope); |
28735 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28736 | return false; |
28737 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().touchstartEvent, value); |
28738 | return true; |
28739 | } |
28740 | |
28741 | bool setJSDOMWindowOntouchstart(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28742 | { |
28743 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntouchstartSetter>(*state, thisValue, encodedValue, "ontouchstart" ); |
28744 | } |
28745 | |
28746 | #endif |
28747 | |
28748 | #if ENABLE(TOUCH_EVENTS) |
28749 | static inline JSValue jsDOMWindowOntouchforcechangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28750 | { |
28751 | UNUSED_PARAM(throwScope); |
28752 | UNUSED_PARAM(state); |
28753 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28754 | return jsUndefined(); |
28755 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().touchforcechangeEvent, worldForDOMObject(thisObject)); |
28756 | } |
28757 | |
28758 | EncodedJSValue jsDOMWindowOntouchforcechange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28759 | { |
28760 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOntouchforcechangeGetter>(*state, thisValue, "ontouchforcechange" ); |
28761 | } |
28762 | |
28763 | #endif |
28764 | |
28765 | #if ENABLE(TOUCH_EVENTS) |
28766 | static inline bool setJSDOMWindowOntouchforcechangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28767 | { |
28768 | UNUSED_PARAM(throwScope); |
28769 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28770 | return false; |
28771 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().touchforcechangeEvent, value); |
28772 | return true; |
28773 | } |
28774 | |
28775 | bool setJSDOMWindowOntouchforcechange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28776 | { |
28777 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOntouchforcechangeSetter>(*state, thisValue, encodedValue, "ontouchforcechange" ); |
28778 | } |
28779 | |
28780 | #endif |
28781 | |
28782 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28783 | static inline JSValue jsDOMWindowOnwebkitmouseforcechangedGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28784 | { |
28785 | UNUSED_PARAM(throwScope); |
28786 | UNUSED_PARAM(state); |
28787 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28788 | return jsUndefined(); |
28789 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitmouseforcechangedEvent, worldForDOMObject(thisObject)); |
28790 | } |
28791 | |
28792 | EncodedJSValue jsDOMWindowOnwebkitmouseforcechanged(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28793 | { |
28794 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitmouseforcechangedGetter>(*state, thisValue, "onwebkitmouseforcechanged" ); |
28795 | } |
28796 | |
28797 | #endif |
28798 | |
28799 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28800 | static inline bool setJSDOMWindowOnwebkitmouseforcechangedSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28801 | { |
28802 | UNUSED_PARAM(throwScope); |
28803 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28804 | return false; |
28805 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitmouseforcechangedEvent, value); |
28806 | return true; |
28807 | } |
28808 | |
28809 | bool setJSDOMWindowOnwebkitmouseforcechanged(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28810 | { |
28811 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitmouseforcechangedSetter>(*state, thisValue, encodedValue, "onwebkitmouseforcechanged" ); |
28812 | } |
28813 | |
28814 | #endif |
28815 | |
28816 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28817 | static inline JSValue jsDOMWindowOnwebkitmouseforcedownGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28818 | { |
28819 | UNUSED_PARAM(throwScope); |
28820 | UNUSED_PARAM(state); |
28821 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28822 | return jsUndefined(); |
28823 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitmouseforcedownEvent, worldForDOMObject(thisObject)); |
28824 | } |
28825 | |
28826 | EncodedJSValue jsDOMWindowOnwebkitmouseforcedown(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28827 | { |
28828 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitmouseforcedownGetter>(*state, thisValue, "onwebkitmouseforcedown" ); |
28829 | } |
28830 | |
28831 | #endif |
28832 | |
28833 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28834 | static inline bool setJSDOMWindowOnwebkitmouseforcedownSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28835 | { |
28836 | UNUSED_PARAM(throwScope); |
28837 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28838 | return false; |
28839 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitmouseforcedownEvent, value); |
28840 | return true; |
28841 | } |
28842 | |
28843 | bool setJSDOMWindowOnwebkitmouseforcedown(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28844 | { |
28845 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitmouseforcedownSetter>(*state, thisValue, encodedValue, "onwebkitmouseforcedown" ); |
28846 | } |
28847 | |
28848 | #endif |
28849 | |
28850 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28851 | static inline JSValue jsDOMWindowOnwebkitmouseforcewillbeginGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28852 | { |
28853 | UNUSED_PARAM(throwScope); |
28854 | UNUSED_PARAM(state); |
28855 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28856 | return jsUndefined(); |
28857 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitmouseforcewillbeginEvent, worldForDOMObject(thisObject)); |
28858 | } |
28859 | |
28860 | EncodedJSValue jsDOMWindowOnwebkitmouseforcewillbegin(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28861 | { |
28862 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitmouseforcewillbeginGetter>(*state, thisValue, "onwebkitmouseforcewillbegin" ); |
28863 | } |
28864 | |
28865 | #endif |
28866 | |
28867 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28868 | static inline bool setJSDOMWindowOnwebkitmouseforcewillbeginSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28869 | { |
28870 | UNUSED_PARAM(throwScope); |
28871 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28872 | return false; |
28873 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitmouseforcewillbeginEvent, value); |
28874 | return true; |
28875 | } |
28876 | |
28877 | bool setJSDOMWindowOnwebkitmouseforcewillbegin(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28878 | { |
28879 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitmouseforcewillbeginSetter>(*state, thisValue, encodedValue, "onwebkitmouseforcewillbegin" ); |
28880 | } |
28881 | |
28882 | #endif |
28883 | |
28884 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28885 | static inline JSValue jsDOMWindowOnwebkitmouseforceupGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28886 | { |
28887 | UNUSED_PARAM(throwScope); |
28888 | UNUSED_PARAM(state); |
28889 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28890 | return jsUndefined(); |
28891 | return eventHandlerAttribute(thisObject.wrapped(), eventNames().webkitmouseforceupEvent, worldForDOMObject(thisObject)); |
28892 | } |
28893 | |
28894 | EncodedJSValue jsDOMWindowOnwebkitmouseforceup(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28895 | { |
28896 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnwebkitmouseforceupGetter>(*state, thisValue, "onwebkitmouseforceup" ); |
28897 | } |
28898 | |
28899 | #endif |
28900 | |
28901 | #if ENABLE(MOUSE_FORCE_EVENTS) |
28902 | static inline bool setJSDOMWindowOnwebkitmouseforceupSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28903 | { |
28904 | UNUSED_PARAM(throwScope); |
28905 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28906 | return false; |
28907 | setEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().webkitmouseforceupEvent, value); |
28908 | return true; |
28909 | } |
28910 | |
28911 | bool setJSDOMWindowOnwebkitmouseforceup(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28912 | { |
28913 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnwebkitmouseforceupSetter>(*state, thisValue, encodedValue, "onwebkitmouseforceup" ); |
28914 | } |
28915 | |
28916 | #endif |
28917 | |
28918 | static inline JSValue jsDOMWindowCryptoGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28919 | { |
28920 | UNUSED_PARAM(throwScope); |
28921 | UNUSED_PARAM(state); |
28922 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28923 | return jsUndefined(); |
28924 | auto& impl = thisObject.wrapped(); |
28925 | JSValue result = toJS<IDLInterface<Crypto>>(state, *thisObject.globalObject(), throwScope, impl.crypto()); |
28926 | return result; |
28927 | } |
28928 | |
28929 | EncodedJSValue jsDOMWindowCrypto(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28930 | { |
28931 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowCryptoGetter>(*state, thisValue, "crypto" ); |
28932 | } |
28933 | |
28934 | static inline JSValue jsDOMWindowPerformanceGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28935 | { |
28936 | UNUSED_PARAM(throwScope); |
28937 | UNUSED_PARAM(state); |
28938 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28939 | return jsUndefined(); |
28940 | auto& impl = thisObject.wrapped(); |
28941 | JSValue result = toJS<IDLInterface<Performance>>(state, *thisObject.globalObject(), throwScope, impl.performance()); |
28942 | return result; |
28943 | } |
28944 | |
28945 | EncodedJSValue jsDOMWindowPerformance(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28946 | { |
28947 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowPerformanceGetter>(*state, thisValue, "performance" ); |
28948 | } |
28949 | |
28950 | static inline bool setJSDOMWindowPerformanceSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28951 | { |
28952 | UNUSED_PARAM(throwScope); |
28953 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28954 | return false; |
28955 | // Shadowing a built-in property. |
28956 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("performance" ), strlen("performance" )), value); |
28957 | } |
28958 | |
28959 | bool setJSDOMWindowPerformance(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28960 | { |
28961 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowPerformanceSetter>(*state, thisValue, encodedValue, "performance" ); |
28962 | } |
28963 | |
28964 | static inline JSValue jsDOMWindowOnafterprintGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28965 | { |
28966 | UNUSED_PARAM(throwScope); |
28967 | UNUSED_PARAM(state); |
28968 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28969 | return jsUndefined(); |
28970 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().afterprintEvent, worldForDOMObject(thisObject)); |
28971 | } |
28972 | |
28973 | EncodedJSValue jsDOMWindowOnafterprint(ExecState* state, EncodedJSValue thisValue, PropertyName) |
28974 | { |
28975 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnafterprintGetter>(*state, thisValue, "onafterprint" ); |
28976 | } |
28977 | |
28978 | static inline bool setJSDOMWindowOnafterprintSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
28979 | { |
28980 | UNUSED_PARAM(throwScope); |
28981 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28982 | return false; |
28983 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().afterprintEvent, value); |
28984 | return true; |
28985 | } |
28986 | |
28987 | bool setJSDOMWindowOnafterprint(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
28988 | { |
28989 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnafterprintSetter>(*state, thisValue, encodedValue, "onafterprint" ); |
28990 | } |
28991 | |
28992 | static inline JSValue jsDOMWindowOnbeforeprintGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
28993 | { |
28994 | UNUSED_PARAM(throwScope); |
28995 | UNUSED_PARAM(state); |
28996 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
28997 | return jsUndefined(); |
28998 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().beforeprintEvent, worldForDOMObject(thisObject)); |
28999 | } |
29000 | |
29001 | EncodedJSValue jsDOMWindowOnbeforeprint(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29002 | { |
29003 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnbeforeprintGetter>(*state, thisValue, "onbeforeprint" ); |
29004 | } |
29005 | |
29006 | static inline bool setJSDOMWindowOnbeforeprintSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29007 | { |
29008 | UNUSED_PARAM(throwScope); |
29009 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29010 | return false; |
29011 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().beforeprintEvent, value); |
29012 | return true; |
29013 | } |
29014 | |
29015 | bool setJSDOMWindowOnbeforeprint(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29016 | { |
29017 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnbeforeprintSetter>(*state, thisValue, encodedValue, "onbeforeprint" ); |
29018 | } |
29019 | |
29020 | static inline JSValue jsDOMWindowOnbeforeunloadGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29021 | { |
29022 | UNUSED_PARAM(throwScope); |
29023 | UNUSED_PARAM(state); |
29024 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29025 | return jsUndefined(); |
29026 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().beforeunloadEvent, worldForDOMObject(thisObject)); |
29027 | } |
29028 | |
29029 | EncodedJSValue jsDOMWindowOnbeforeunload(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29030 | { |
29031 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnbeforeunloadGetter>(*state, thisValue, "onbeforeunload" ); |
29032 | } |
29033 | |
29034 | static inline bool setJSDOMWindowOnbeforeunloadSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29035 | { |
29036 | UNUSED_PARAM(throwScope); |
29037 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29038 | return false; |
29039 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().beforeunloadEvent, value); |
29040 | return true; |
29041 | } |
29042 | |
29043 | bool setJSDOMWindowOnbeforeunload(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29044 | { |
29045 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnbeforeunloadSetter>(*state, thisValue, encodedValue, "onbeforeunload" ); |
29046 | } |
29047 | |
29048 | static inline JSValue jsDOMWindowOnhashchangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29049 | { |
29050 | UNUSED_PARAM(throwScope); |
29051 | UNUSED_PARAM(state); |
29052 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29053 | return jsUndefined(); |
29054 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().hashchangeEvent, worldForDOMObject(thisObject)); |
29055 | } |
29056 | |
29057 | EncodedJSValue jsDOMWindowOnhashchange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29058 | { |
29059 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnhashchangeGetter>(*state, thisValue, "onhashchange" ); |
29060 | } |
29061 | |
29062 | static inline bool setJSDOMWindowOnhashchangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29063 | { |
29064 | UNUSED_PARAM(throwScope); |
29065 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29066 | return false; |
29067 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().hashchangeEvent, value); |
29068 | return true; |
29069 | } |
29070 | |
29071 | bool setJSDOMWindowOnhashchange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29072 | { |
29073 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnhashchangeSetter>(*state, thisValue, encodedValue, "onhashchange" ); |
29074 | } |
29075 | |
29076 | static inline JSValue jsDOMWindowOnlanguagechangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29077 | { |
29078 | UNUSED_PARAM(throwScope); |
29079 | UNUSED_PARAM(state); |
29080 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29081 | return jsUndefined(); |
29082 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().languagechangeEvent, worldForDOMObject(thisObject)); |
29083 | } |
29084 | |
29085 | EncodedJSValue jsDOMWindowOnlanguagechange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29086 | { |
29087 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnlanguagechangeGetter>(*state, thisValue, "onlanguagechange" ); |
29088 | } |
29089 | |
29090 | static inline bool setJSDOMWindowOnlanguagechangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29091 | { |
29092 | UNUSED_PARAM(throwScope); |
29093 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29094 | return false; |
29095 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().languagechangeEvent, value); |
29096 | return true; |
29097 | } |
29098 | |
29099 | bool setJSDOMWindowOnlanguagechange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29100 | { |
29101 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnlanguagechangeSetter>(*state, thisValue, encodedValue, "onlanguagechange" ); |
29102 | } |
29103 | |
29104 | static inline JSValue jsDOMWindowOnmessageGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29105 | { |
29106 | UNUSED_PARAM(throwScope); |
29107 | UNUSED_PARAM(state); |
29108 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29109 | return jsUndefined(); |
29110 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().messageEvent, worldForDOMObject(thisObject)); |
29111 | } |
29112 | |
29113 | EncodedJSValue jsDOMWindowOnmessage(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29114 | { |
29115 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnmessageGetter>(*state, thisValue, "onmessage" ); |
29116 | } |
29117 | |
29118 | static inline bool setJSDOMWindowOnmessageSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29119 | { |
29120 | UNUSED_PARAM(throwScope); |
29121 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29122 | return false; |
29123 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().messageEvent, value); |
29124 | return true; |
29125 | } |
29126 | |
29127 | bool setJSDOMWindowOnmessage(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29128 | { |
29129 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnmessageSetter>(*state, thisValue, encodedValue, "onmessage" ); |
29130 | } |
29131 | |
29132 | static inline JSValue jsDOMWindowOnofflineGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29133 | { |
29134 | UNUSED_PARAM(throwScope); |
29135 | UNUSED_PARAM(state); |
29136 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29137 | return jsUndefined(); |
29138 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().offlineEvent, worldForDOMObject(thisObject)); |
29139 | } |
29140 | |
29141 | EncodedJSValue jsDOMWindowOnoffline(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29142 | { |
29143 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnofflineGetter>(*state, thisValue, "onoffline" ); |
29144 | } |
29145 | |
29146 | static inline bool setJSDOMWindowOnofflineSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29147 | { |
29148 | UNUSED_PARAM(throwScope); |
29149 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29150 | return false; |
29151 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().offlineEvent, value); |
29152 | return true; |
29153 | } |
29154 | |
29155 | bool setJSDOMWindowOnoffline(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29156 | { |
29157 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnofflineSetter>(*state, thisValue, encodedValue, "onoffline" ); |
29158 | } |
29159 | |
29160 | static inline JSValue jsDOMWindowOnonlineGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29161 | { |
29162 | UNUSED_PARAM(throwScope); |
29163 | UNUSED_PARAM(state); |
29164 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29165 | return jsUndefined(); |
29166 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().onlineEvent, worldForDOMObject(thisObject)); |
29167 | } |
29168 | |
29169 | EncodedJSValue jsDOMWindowOnonline(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29170 | { |
29171 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnonlineGetter>(*state, thisValue, "ononline" ); |
29172 | } |
29173 | |
29174 | static inline bool setJSDOMWindowOnonlineSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29175 | { |
29176 | UNUSED_PARAM(throwScope); |
29177 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29178 | return false; |
29179 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().onlineEvent, value); |
29180 | return true; |
29181 | } |
29182 | |
29183 | bool setJSDOMWindowOnonline(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29184 | { |
29185 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnonlineSetter>(*state, thisValue, encodedValue, "ononline" ); |
29186 | } |
29187 | |
29188 | static inline JSValue jsDOMWindowOnpagehideGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29189 | { |
29190 | UNUSED_PARAM(throwScope); |
29191 | UNUSED_PARAM(state); |
29192 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29193 | return jsUndefined(); |
29194 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().pagehideEvent, worldForDOMObject(thisObject)); |
29195 | } |
29196 | |
29197 | EncodedJSValue jsDOMWindowOnpagehide(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29198 | { |
29199 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpagehideGetter>(*state, thisValue, "onpagehide" ); |
29200 | } |
29201 | |
29202 | static inline bool setJSDOMWindowOnpagehideSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29203 | { |
29204 | UNUSED_PARAM(throwScope); |
29205 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29206 | return false; |
29207 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pagehideEvent, value); |
29208 | return true; |
29209 | } |
29210 | |
29211 | bool setJSDOMWindowOnpagehide(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29212 | { |
29213 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpagehideSetter>(*state, thisValue, encodedValue, "onpagehide" ); |
29214 | } |
29215 | |
29216 | static inline JSValue jsDOMWindowOnpageshowGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29217 | { |
29218 | UNUSED_PARAM(throwScope); |
29219 | UNUSED_PARAM(state); |
29220 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29221 | return jsUndefined(); |
29222 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().pageshowEvent, worldForDOMObject(thisObject)); |
29223 | } |
29224 | |
29225 | EncodedJSValue jsDOMWindowOnpageshow(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29226 | { |
29227 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpageshowGetter>(*state, thisValue, "onpageshow" ); |
29228 | } |
29229 | |
29230 | static inline bool setJSDOMWindowOnpageshowSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29231 | { |
29232 | UNUSED_PARAM(throwScope); |
29233 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29234 | return false; |
29235 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().pageshowEvent, value); |
29236 | return true; |
29237 | } |
29238 | |
29239 | bool setJSDOMWindowOnpageshow(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29240 | { |
29241 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpageshowSetter>(*state, thisValue, encodedValue, "onpageshow" ); |
29242 | } |
29243 | |
29244 | static inline JSValue jsDOMWindowOnpopstateGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29245 | { |
29246 | UNUSED_PARAM(throwScope); |
29247 | UNUSED_PARAM(state); |
29248 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29249 | return jsUndefined(); |
29250 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().popstateEvent, worldForDOMObject(thisObject)); |
29251 | } |
29252 | |
29253 | EncodedJSValue jsDOMWindowOnpopstate(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29254 | { |
29255 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnpopstateGetter>(*state, thisValue, "onpopstate" ); |
29256 | } |
29257 | |
29258 | static inline bool setJSDOMWindowOnpopstateSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29259 | { |
29260 | UNUSED_PARAM(throwScope); |
29261 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29262 | return false; |
29263 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().popstateEvent, value); |
29264 | return true; |
29265 | } |
29266 | |
29267 | bool setJSDOMWindowOnpopstate(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29268 | { |
29269 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnpopstateSetter>(*state, thisValue, encodedValue, "onpopstate" ); |
29270 | } |
29271 | |
29272 | static inline JSValue jsDOMWindowOnstorageGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29273 | { |
29274 | UNUSED_PARAM(throwScope); |
29275 | UNUSED_PARAM(state); |
29276 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29277 | return jsUndefined(); |
29278 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().storageEvent, worldForDOMObject(thisObject)); |
29279 | } |
29280 | |
29281 | EncodedJSValue jsDOMWindowOnstorage(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29282 | { |
29283 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnstorageGetter>(*state, thisValue, "onstorage" ); |
29284 | } |
29285 | |
29286 | static inline bool setJSDOMWindowOnstorageSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29287 | { |
29288 | UNUSED_PARAM(throwScope); |
29289 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29290 | return false; |
29291 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().storageEvent, value); |
29292 | return true; |
29293 | } |
29294 | |
29295 | bool setJSDOMWindowOnstorage(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29296 | { |
29297 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnstorageSetter>(*state, thisValue, encodedValue, "onstorage" ); |
29298 | } |
29299 | |
29300 | static inline JSValue jsDOMWindowOnunloadGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29301 | { |
29302 | UNUSED_PARAM(throwScope); |
29303 | UNUSED_PARAM(state); |
29304 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29305 | return jsUndefined(); |
29306 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().unloadEvent, worldForDOMObject(thisObject)); |
29307 | } |
29308 | |
29309 | EncodedJSValue jsDOMWindowOnunload(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29310 | { |
29311 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnunloadGetter>(*state, thisValue, "onunload" ); |
29312 | } |
29313 | |
29314 | static inline bool setJSDOMWindowOnunloadSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29315 | { |
29316 | UNUSED_PARAM(throwScope); |
29317 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29318 | return false; |
29319 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().unloadEvent, value); |
29320 | return true; |
29321 | } |
29322 | |
29323 | bool setJSDOMWindowOnunload(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29324 | { |
29325 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnunloadSetter>(*state, thisValue, encodedValue, "onunload" ); |
29326 | } |
29327 | |
29328 | #if ENABLE(ORIENTATION_EVENTS) |
29329 | static inline JSValue jsDOMWindowOnorientationchangeGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29330 | { |
29331 | UNUSED_PARAM(throwScope); |
29332 | UNUSED_PARAM(state); |
29333 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29334 | return jsUndefined(); |
29335 | return windowEventHandlerAttribute(thisObject.wrapped(), eventNames().orientationchangeEvent, worldForDOMObject(thisObject)); |
29336 | } |
29337 | |
29338 | EncodedJSValue jsDOMWindowOnorientationchange(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29339 | { |
29340 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOnorientationchangeGetter>(*state, thisValue, "onorientationchange" ); |
29341 | } |
29342 | |
29343 | #endif |
29344 | |
29345 | #if ENABLE(ORIENTATION_EVENTS) |
29346 | static inline bool setJSDOMWindowOnorientationchangeSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29347 | { |
29348 | UNUSED_PARAM(throwScope); |
29349 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29350 | return false; |
29351 | setWindowEventHandlerAttribute(state, thisObject, thisObject.wrapped(), eventNames().orientationchangeEvent, value); |
29352 | return true; |
29353 | } |
29354 | |
29355 | bool setJSDOMWindowOnorientationchange(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29356 | { |
29357 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOnorientationchangeSetter>(*state, thisValue, encodedValue, "onorientationchange" ); |
29358 | } |
29359 | |
29360 | #endif |
29361 | |
29362 | static inline JSValue jsDOMWindowOriginGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29363 | { |
29364 | UNUSED_PARAM(throwScope); |
29365 | UNUSED_PARAM(state); |
29366 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29367 | return jsUndefined(); |
29368 | auto& impl = thisObject.wrapped(); |
29369 | JSValue result = toJS<IDLUSVString>(state, throwScope, impl.origin()); |
29370 | return result; |
29371 | } |
29372 | |
29373 | EncodedJSValue jsDOMWindowOrigin(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29374 | { |
29375 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowOriginGetter>(*state, thisValue, "origin" ); |
29376 | } |
29377 | |
29378 | static inline bool setJSDOMWindowOriginSetter(ExecState& state, JSDOMWindow& thisObject, JSValue value, ThrowScope& throwScope) |
29379 | { |
29380 | UNUSED_PARAM(throwScope); |
29381 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29382 | return false; |
29383 | // Shadowing a built-in property. |
29384 | return replaceStaticPropertySlot(state.vm(), &thisObject, Identifier::fromString(&state.vm(), reinterpret_cast<const LChar*>("origin" ), strlen("origin" )), value); |
29385 | } |
29386 | |
29387 | bool setJSDOMWindowOrigin(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue) |
29388 | { |
29389 | return IDLAttribute<JSDOMWindow>::set<setJSDOMWindowOriginSetter>(*state, thisValue, encodedValue, "origin" ); |
29390 | } |
29391 | |
29392 | static inline JSValue jsDOMWindowIsSecureContextGetter(ExecState& state, JSDOMWindow& thisObject, ThrowScope& throwScope) |
29393 | { |
29394 | UNUSED_PARAM(throwScope); |
29395 | UNUSED_PARAM(state); |
29396 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(&state, thisObject.wrapped(), ThrowSecurityError)) |
29397 | return jsUndefined(); |
29398 | auto& impl = thisObject.wrapped(); |
29399 | JSValue result = toJS<IDLBoolean>(state, throwScope, impl.isSecureContext()); |
29400 | return result; |
29401 | } |
29402 | |
29403 | EncodedJSValue jsDOMWindowIsSecureContext(ExecState* state, EncodedJSValue thisValue, PropertyName) |
29404 | { |
29405 | return IDLAttribute<JSDOMWindow>::get<jsDOMWindowIsSecureContextGetter>(*state, thisValue, "isSecureContext" ); |
29406 | } |
29407 | |
29408 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCloseBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29409 | { |
29410 | UNUSED_PARAM(state); |
29411 | UNUSED_PARAM(throwScope); |
29412 | auto& impl = castedThis->wrapped(); |
29413 | auto* incumbentDocument = incumbentDOMWindow(*state).document(); |
29414 | if (!incumbentDocument) |
29415 | return JSValue::encode(jsUndefined()); |
29416 | impl.close(*incumbentDocument); |
29417 | return JSValue::encode(jsUndefined()); |
29418 | } |
29419 | |
29420 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionClose(ExecState* state) |
29421 | { |
29422 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionCloseBody>(*state, "close" ); |
29423 | } |
29424 | |
29425 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionStopBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29426 | { |
29427 | UNUSED_PARAM(state); |
29428 | UNUSED_PARAM(throwScope); |
29429 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29430 | return JSValue::encode(jsUndefined()); |
29431 | auto& impl = castedThis->wrapped(); |
29432 | impl.stop(); |
29433 | return JSValue::encode(jsUndefined()); |
29434 | } |
29435 | |
29436 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionStop(ExecState* state) |
29437 | { |
29438 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionStopBody>(*state, "stop" ); |
29439 | } |
29440 | |
29441 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionFocusBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29442 | { |
29443 | UNUSED_PARAM(state); |
29444 | UNUSED_PARAM(throwScope); |
29445 | auto& impl = castedThis->wrapped(); |
29446 | impl.focus(incumbentDOMWindow(*state)); |
29447 | return JSValue::encode(jsUndefined()); |
29448 | } |
29449 | |
29450 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionFocus(ExecState* state) |
29451 | { |
29452 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionFocusBody>(*state, "focus" ); |
29453 | } |
29454 | |
29455 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionBlurBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29456 | { |
29457 | UNUSED_PARAM(state); |
29458 | UNUSED_PARAM(throwScope); |
29459 | auto& impl = castedThis->wrapped(); |
29460 | impl.blur(); |
29461 | return JSValue::encode(jsUndefined()); |
29462 | } |
29463 | |
29464 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionBlur(ExecState* state) |
29465 | { |
29466 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionBlurBody>(*state, "blur" ); |
29467 | } |
29468 | |
29469 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionOpenBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29470 | { |
29471 | UNUSED_PARAM(state); |
29472 | UNUSED_PARAM(throwScope); |
29473 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29474 | return JSValue::encode(jsUndefined()); |
29475 | auto& impl = castedThis->wrapped(); |
29476 | auto url = state->argument(0).isUndefined() ? "about:blank"_s : convert<IDLUSVString>(*state, state->uncheckedArgument(0)); |
29477 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29478 | auto target = state->argument(1).isUndefined() ? "_blank"_s : convert<IDLDOMString>(*state, state->uncheckedArgument(1)); |
29479 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29480 | auto features = state->argument(2).isUndefined() ? emptyString() : convert<IDLTreatNullAsEmptyAdaptor<IDLDOMString>>(*state, state->uncheckedArgument(2)); |
29481 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29482 | return JSValue::encode(toJS<IDLNullable<IDLInterface<WindowProxy>>>(*state, *castedThis->globalObject(), throwScope, impl.open(activeDOMWindow(*state), firstDOMWindow(*state), WTFMove(url), WTFMove(target), WTFMove(features)))); |
29483 | } |
29484 | |
29485 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionOpen(ExecState* state) |
29486 | { |
29487 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionOpenBody>(*state, "open" ); |
29488 | } |
29489 | |
29490 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionAlert1Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29491 | { |
29492 | UNUSED_PARAM(state); |
29493 | UNUSED_PARAM(throwScope); |
29494 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29495 | return JSValue::encode(jsUndefined()); |
29496 | auto& impl = castedThis->wrapped(); |
29497 | impl.alert(); |
29498 | return JSValue::encode(jsUndefined()); |
29499 | } |
29500 | |
29501 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionAlert2Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29502 | { |
29503 | UNUSED_PARAM(state); |
29504 | UNUSED_PARAM(throwScope); |
29505 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29506 | return JSValue::encode(jsUndefined()); |
29507 | auto& impl = castedThis->wrapped(); |
29508 | auto message = convert<IDLDOMString>(*state, state->uncheckedArgument(0)); |
29509 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29510 | impl.alert(WTFMove(message)); |
29511 | return JSValue::encode(jsUndefined()); |
29512 | } |
29513 | |
29514 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionAlertOverloadDispatcher(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29515 | { |
29516 | UNUSED_PARAM(state); |
29517 | UNUSED_PARAM(throwScope); |
29518 | VM& vm = state->vm(); |
29519 | UNUSED_PARAM(vm); |
29520 | size_t argsCount = std::min<size_t>(1, state->argumentCount()); |
29521 | if (argsCount == 0) { |
29522 | return jsDOMWindowInstanceFunctionAlert1Body(state, castedThis, throwScope); |
29523 | } |
29524 | if (argsCount == 1) { |
29525 | return jsDOMWindowInstanceFunctionAlert2Body(state, castedThis, throwScope); |
29526 | } |
29527 | return throwVMTypeError(state, throwScope); |
29528 | } |
29529 | |
29530 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionAlert(ExecState* state) |
29531 | { |
29532 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionAlertOverloadDispatcher>(*state, "alert" ); |
29533 | } |
29534 | |
29535 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionConfirmBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29536 | { |
29537 | UNUSED_PARAM(state); |
29538 | UNUSED_PARAM(throwScope); |
29539 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29540 | return JSValue::encode(jsUndefined()); |
29541 | auto& impl = castedThis->wrapped(); |
29542 | auto message = state->argument(0).isUndefined() ? emptyString() : convert<IDLDOMString>(*state, state->uncheckedArgument(0)); |
29543 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29544 | return JSValue::encode(toJS<IDLBoolean>(impl.confirm(WTFMove(message)))); |
29545 | } |
29546 | |
29547 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionConfirm(ExecState* state) |
29548 | { |
29549 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionConfirmBody>(*state, "confirm" ); |
29550 | } |
29551 | |
29552 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionPromptBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29553 | { |
29554 | UNUSED_PARAM(state); |
29555 | UNUSED_PARAM(throwScope); |
29556 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29557 | return JSValue::encode(jsUndefined()); |
29558 | auto& impl = castedThis->wrapped(); |
29559 | auto message = state->argument(0).isUndefined() ? emptyString() : convert<IDLDOMString>(*state, state->uncheckedArgument(0)); |
29560 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29561 | auto defaultValue = state->argument(1).isUndefined() ? emptyString() : convert<IDLDOMString>(*state, state->uncheckedArgument(1)); |
29562 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29563 | return JSValue::encode(toJS<IDLNullable<IDLDOMString>>(*state, impl.prompt(WTFMove(message), WTFMove(defaultValue)))); |
29564 | } |
29565 | |
29566 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionPrompt(ExecState* state) |
29567 | { |
29568 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionPromptBody>(*state, "prompt" ); |
29569 | } |
29570 | |
29571 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionPrintBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29572 | { |
29573 | UNUSED_PARAM(state); |
29574 | UNUSED_PARAM(throwScope); |
29575 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29576 | return JSValue::encode(jsUndefined()); |
29577 | auto& impl = castedThis->wrapped(); |
29578 | impl.print(); |
29579 | return JSValue::encode(jsUndefined()); |
29580 | } |
29581 | |
29582 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionPrint(ExecState* state) |
29583 | { |
29584 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionPrintBody>(*state, "print" ); |
29585 | } |
29586 | |
29587 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionRequestAnimationFrameBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29588 | { |
29589 | UNUSED_PARAM(state); |
29590 | UNUSED_PARAM(throwScope); |
29591 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29592 | return JSValue::encode(jsUndefined()); |
29593 | auto& impl = castedThis->wrapped(); |
29594 | if (UNLIKELY(state->argumentCount() < 1)) |
29595 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
29596 | auto callback = convert<IDLCallbackFunction<JSRequestAnimationFrameCallback>>(*state, state->uncheckedArgument(0), *castedThis->globalObject(), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentMustBeFunctionError(state, scope, 0, "callback" , "Window" , "requestAnimationFrame" ); }); |
29597 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29598 | return JSValue::encode(toJS<IDLLong>(impl.requestAnimationFrame(callback.releaseNonNull()))); |
29599 | } |
29600 | |
29601 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionRequestAnimationFrame(ExecState* state) |
29602 | { |
29603 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionRequestAnimationFrameBody>(*state, "requestAnimationFrame" ); |
29604 | } |
29605 | |
29606 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCancelAnimationFrameBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29607 | { |
29608 | UNUSED_PARAM(state); |
29609 | UNUSED_PARAM(throwScope); |
29610 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29611 | return JSValue::encode(jsUndefined()); |
29612 | auto& impl = castedThis->wrapped(); |
29613 | if (UNLIKELY(state->argumentCount() < 1)) |
29614 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
29615 | auto handle = convert<IDLLong>(*state, state->uncheckedArgument(0)); |
29616 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29617 | impl.cancelAnimationFrame(WTFMove(handle)); |
29618 | return JSValue::encode(jsUndefined()); |
29619 | } |
29620 | |
29621 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCancelAnimationFrame(ExecState* state) |
29622 | { |
29623 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionCancelAnimationFrameBody>(*state, "cancelAnimationFrame" ); |
29624 | } |
29625 | |
29626 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionPostMessageBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29627 | { |
29628 | UNUSED_PARAM(state); |
29629 | UNUSED_PARAM(throwScope); |
29630 | auto& impl = castedThis->wrapped(); |
29631 | if (UNLIKELY(state->argumentCount() < 2)) |
29632 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
29633 | auto message = convert<IDLAny>(*state, state->uncheckedArgument(0)); |
29634 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29635 | auto targetOrigin = convert<IDLUSVString>(*state, state->uncheckedArgument(1)); |
29636 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29637 | auto transfer = state->argument(2).isUndefined() ? Converter<IDLSequence<IDLObject>>::ReturnType{ } : convert<IDLSequence<IDLObject>>(*state, state->uncheckedArgument(2)); |
29638 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29639 | propagateException(*state, throwScope, impl.postMessage(*state, incumbentDOMWindow(*state), WTFMove(message), WTFMove(targetOrigin), WTFMove(transfer))); |
29640 | return JSValue::encode(jsUndefined()); |
29641 | } |
29642 | |
29643 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionPostMessage(ExecState* state) |
29644 | { |
29645 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionPostMessageBody>(*state, "postMessage" ); |
29646 | } |
29647 | |
29648 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCaptureEventsBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29649 | { |
29650 | UNUSED_PARAM(state); |
29651 | UNUSED_PARAM(throwScope); |
29652 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29653 | return JSValue::encode(jsUndefined()); |
29654 | auto& impl = castedThis->wrapped(); |
29655 | impl.captureEvents(); |
29656 | return JSValue::encode(jsUndefined()); |
29657 | } |
29658 | |
29659 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCaptureEvents(ExecState* state) |
29660 | { |
29661 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionCaptureEventsBody>(*state, "captureEvents" ); |
29662 | } |
29663 | |
29664 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionReleaseEventsBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29665 | { |
29666 | UNUSED_PARAM(state); |
29667 | UNUSED_PARAM(throwScope); |
29668 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29669 | return JSValue::encode(jsUndefined()); |
29670 | auto& impl = castedThis->wrapped(); |
29671 | impl.releaseEvents(); |
29672 | return JSValue::encode(jsUndefined()); |
29673 | } |
29674 | |
29675 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionReleaseEvents(ExecState* state) |
29676 | { |
29677 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionReleaseEventsBody>(*state, "releaseEvents" ); |
29678 | } |
29679 | |
29680 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionGetComputedStyleBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29681 | { |
29682 | UNUSED_PARAM(state); |
29683 | UNUSED_PARAM(throwScope); |
29684 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29685 | return JSValue::encode(jsUndefined()); |
29686 | auto& impl = castedThis->wrapped(); |
29687 | if (UNLIKELY(state->argumentCount() < 1)) |
29688 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
29689 | auto element = convert<IDLInterface<Element>>(*state, state->uncheckedArgument(0), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 0, "element" , "Window" , "getComputedStyle" , "Element" ); }); |
29690 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29691 | auto pseudoElement = state->argument(1).isUndefined() ? String() : convert<IDLNullable<IDLUSVString>>(*state, state->uncheckedArgument(1)); |
29692 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29693 | return JSValue::encode(toJSNewlyCreated<IDLInterface<CSSStyleDeclaration>>(*state, *castedThis->globalObject(), impl.getComputedStyle(*element, WTFMove(pseudoElement)))); |
29694 | } |
29695 | |
29696 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionGetComputedStyle(ExecState* state) |
29697 | { |
29698 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionGetComputedStyleBody>(*state, "getComputedStyle" ); |
29699 | } |
29700 | |
29701 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionMatchMediaBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29702 | { |
29703 | UNUSED_PARAM(state); |
29704 | UNUSED_PARAM(throwScope); |
29705 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29706 | return JSValue::encode(jsUndefined()); |
29707 | auto& impl = castedThis->wrapped(); |
29708 | if (UNLIKELY(state->argumentCount() < 1)) |
29709 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
29710 | auto query = convert<IDLUSVString>(*state, state->uncheckedArgument(0)); |
29711 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29712 | return JSValue::encode(toJSNewlyCreated<IDLInterface<MediaQueryList>>(*state, *castedThis->globalObject(), impl.matchMedia(WTFMove(query)))); |
29713 | } |
29714 | |
29715 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMatchMedia(ExecState* state) |
29716 | { |
29717 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionMatchMediaBody>(*state, "matchMedia" ); |
29718 | } |
29719 | |
29720 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionMoveToBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29721 | { |
29722 | UNUSED_PARAM(state); |
29723 | UNUSED_PARAM(throwScope); |
29724 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29725 | return JSValue::encode(jsUndefined()); |
29726 | auto& impl = castedThis->wrapped(); |
29727 | auto x = convert<IDLUnrestrictedFloat>(*state, state->argument(0)); |
29728 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29729 | auto y = convert<IDLUnrestrictedFloat>(*state, state->argument(1)); |
29730 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29731 | impl.moveTo(WTFMove(x), WTFMove(y)); |
29732 | return JSValue::encode(jsUndefined()); |
29733 | } |
29734 | |
29735 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMoveTo(ExecState* state) |
29736 | { |
29737 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionMoveToBody>(*state, "moveTo" ); |
29738 | } |
29739 | |
29740 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionMoveByBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29741 | { |
29742 | UNUSED_PARAM(state); |
29743 | UNUSED_PARAM(throwScope); |
29744 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29745 | return JSValue::encode(jsUndefined()); |
29746 | auto& impl = castedThis->wrapped(); |
29747 | auto x = convert<IDLUnrestrictedFloat>(*state, state->argument(0)); |
29748 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29749 | auto y = convert<IDLUnrestrictedFloat>(*state, state->argument(1)); |
29750 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29751 | impl.moveBy(WTFMove(x), WTFMove(y)); |
29752 | return JSValue::encode(jsUndefined()); |
29753 | } |
29754 | |
29755 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMoveBy(ExecState* state) |
29756 | { |
29757 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionMoveByBody>(*state, "moveBy" ); |
29758 | } |
29759 | |
29760 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionResizeToBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29761 | { |
29762 | UNUSED_PARAM(state); |
29763 | UNUSED_PARAM(throwScope); |
29764 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29765 | return JSValue::encode(jsUndefined()); |
29766 | auto& impl = castedThis->wrapped(); |
29767 | auto width = convert<IDLUnrestrictedFloat>(*state, state->argument(0)); |
29768 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29769 | auto height = convert<IDLUnrestrictedFloat>(*state, state->argument(1)); |
29770 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29771 | impl.resizeTo(WTFMove(width), WTFMove(height)); |
29772 | return JSValue::encode(jsUndefined()); |
29773 | } |
29774 | |
29775 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionResizeTo(ExecState* state) |
29776 | { |
29777 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionResizeToBody>(*state, "resizeTo" ); |
29778 | } |
29779 | |
29780 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionResizeByBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29781 | { |
29782 | UNUSED_PARAM(state); |
29783 | UNUSED_PARAM(throwScope); |
29784 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29785 | return JSValue::encode(jsUndefined()); |
29786 | auto& impl = castedThis->wrapped(); |
29787 | auto x = convert<IDLUnrestrictedFloat>(*state, state->argument(0)); |
29788 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29789 | auto y = convert<IDLUnrestrictedFloat>(*state, state->argument(1)); |
29790 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29791 | impl.resizeBy(WTFMove(x), WTFMove(y)); |
29792 | return JSValue::encode(jsUndefined()); |
29793 | } |
29794 | |
29795 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionResizeBy(ExecState* state) |
29796 | { |
29797 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionResizeByBody>(*state, "resizeBy" ); |
29798 | } |
29799 | |
29800 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScroll1Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29801 | { |
29802 | UNUSED_PARAM(state); |
29803 | UNUSED_PARAM(throwScope); |
29804 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29805 | return JSValue::encode(jsUndefined()); |
29806 | auto& impl = castedThis->wrapped(); |
29807 | auto options = convert<IDLDictionary<ScrollToOptions>>(*state, state->argument(0)); |
29808 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29809 | impl.scrollTo(WTFMove(options)); |
29810 | return JSValue::encode(jsUndefined()); |
29811 | } |
29812 | |
29813 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScroll2Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29814 | { |
29815 | UNUSED_PARAM(state); |
29816 | UNUSED_PARAM(throwScope); |
29817 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29818 | return JSValue::encode(jsUndefined()); |
29819 | auto& impl = castedThis->wrapped(); |
29820 | auto x = convert<IDLUnrestrictedDouble>(*state, state->uncheckedArgument(0)); |
29821 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29822 | auto y = convert<IDLUnrestrictedDouble>(*state, state->uncheckedArgument(1)); |
29823 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29824 | impl.scrollTo(WTFMove(x), WTFMove(y)); |
29825 | return JSValue::encode(jsUndefined()); |
29826 | } |
29827 | |
29828 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollOverloadDispatcher(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29829 | { |
29830 | UNUSED_PARAM(state); |
29831 | UNUSED_PARAM(throwScope); |
29832 | VM& vm = state->vm(); |
29833 | UNUSED_PARAM(vm); |
29834 | size_t argsCount = std::min<size_t>(2, state->argumentCount()); |
29835 | if (argsCount == 0) { |
29836 | return jsDOMWindowInstanceFunctionScroll1Body(state, castedThis, throwScope); |
29837 | } |
29838 | if (argsCount == 1) { |
29839 | return jsDOMWindowInstanceFunctionScroll1Body(state, castedThis, throwScope); |
29840 | } |
29841 | if (argsCount == 2) { |
29842 | return jsDOMWindowInstanceFunctionScroll2Body(state, castedThis, throwScope); |
29843 | } |
29844 | return throwVMTypeError(state, throwScope); |
29845 | } |
29846 | |
29847 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionScroll(ExecState* state) |
29848 | { |
29849 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionScrollOverloadDispatcher>(*state, "scroll" ); |
29850 | } |
29851 | |
29852 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollTo1Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29853 | { |
29854 | UNUSED_PARAM(state); |
29855 | UNUSED_PARAM(throwScope); |
29856 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29857 | return JSValue::encode(jsUndefined()); |
29858 | auto& impl = castedThis->wrapped(); |
29859 | auto options = convert<IDLDictionary<ScrollToOptions>>(*state, state->argument(0)); |
29860 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29861 | impl.scrollTo(WTFMove(options)); |
29862 | return JSValue::encode(jsUndefined()); |
29863 | } |
29864 | |
29865 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollTo2Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29866 | { |
29867 | UNUSED_PARAM(state); |
29868 | UNUSED_PARAM(throwScope); |
29869 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29870 | return JSValue::encode(jsUndefined()); |
29871 | auto& impl = castedThis->wrapped(); |
29872 | auto x = convert<IDLUnrestrictedDouble>(*state, state->uncheckedArgument(0)); |
29873 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29874 | auto y = convert<IDLUnrestrictedDouble>(*state, state->uncheckedArgument(1)); |
29875 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29876 | impl.scrollTo(WTFMove(x), WTFMove(y)); |
29877 | return JSValue::encode(jsUndefined()); |
29878 | } |
29879 | |
29880 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollToOverloadDispatcher(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29881 | { |
29882 | UNUSED_PARAM(state); |
29883 | UNUSED_PARAM(throwScope); |
29884 | VM& vm = state->vm(); |
29885 | UNUSED_PARAM(vm); |
29886 | size_t argsCount = std::min<size_t>(2, state->argumentCount()); |
29887 | if (argsCount == 0) { |
29888 | return jsDOMWindowInstanceFunctionScrollTo1Body(state, castedThis, throwScope); |
29889 | } |
29890 | if (argsCount == 1) { |
29891 | return jsDOMWindowInstanceFunctionScrollTo1Body(state, castedThis, throwScope); |
29892 | } |
29893 | if (argsCount == 2) { |
29894 | return jsDOMWindowInstanceFunctionScrollTo2Body(state, castedThis, throwScope); |
29895 | } |
29896 | return throwVMTypeError(state, throwScope); |
29897 | } |
29898 | |
29899 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionScrollTo(ExecState* state) |
29900 | { |
29901 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionScrollToOverloadDispatcher>(*state, "scrollTo" ); |
29902 | } |
29903 | |
29904 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollBy1Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29905 | { |
29906 | UNUSED_PARAM(state); |
29907 | UNUSED_PARAM(throwScope); |
29908 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29909 | return JSValue::encode(jsUndefined()); |
29910 | auto& impl = castedThis->wrapped(); |
29911 | auto option = convert<IDLDictionary<ScrollToOptions>>(*state, state->argument(0)); |
29912 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29913 | impl.scrollBy(WTFMove(option)); |
29914 | return JSValue::encode(jsUndefined()); |
29915 | } |
29916 | |
29917 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollBy2Body(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29918 | { |
29919 | UNUSED_PARAM(state); |
29920 | UNUSED_PARAM(throwScope); |
29921 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29922 | return JSValue::encode(jsUndefined()); |
29923 | auto& impl = castedThis->wrapped(); |
29924 | auto x = convert<IDLUnrestrictedDouble>(*state, state->uncheckedArgument(0)); |
29925 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29926 | auto y = convert<IDLUnrestrictedDouble>(*state, state->uncheckedArgument(1)); |
29927 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29928 | impl.scrollBy(WTFMove(x), WTFMove(y)); |
29929 | return JSValue::encode(jsUndefined()); |
29930 | } |
29931 | |
29932 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionScrollByOverloadDispatcher(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29933 | { |
29934 | UNUSED_PARAM(state); |
29935 | UNUSED_PARAM(throwScope); |
29936 | VM& vm = state->vm(); |
29937 | UNUSED_PARAM(vm); |
29938 | size_t argsCount = std::min<size_t>(2, state->argumentCount()); |
29939 | if (argsCount == 0) { |
29940 | return jsDOMWindowInstanceFunctionScrollBy1Body(state, castedThis, throwScope); |
29941 | } |
29942 | if (argsCount == 1) { |
29943 | return jsDOMWindowInstanceFunctionScrollBy1Body(state, castedThis, throwScope); |
29944 | } |
29945 | if (argsCount == 2) { |
29946 | return jsDOMWindowInstanceFunctionScrollBy2Body(state, castedThis, throwScope); |
29947 | } |
29948 | return throwVMTypeError(state, throwScope); |
29949 | } |
29950 | |
29951 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionScrollBy(ExecState* state) |
29952 | { |
29953 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionScrollByOverloadDispatcher>(*state, "scrollBy" ); |
29954 | } |
29955 | |
29956 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionGetSelectionBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29957 | { |
29958 | UNUSED_PARAM(state); |
29959 | UNUSED_PARAM(throwScope); |
29960 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29961 | return JSValue::encode(jsUndefined()); |
29962 | auto& impl = castedThis->wrapped(); |
29963 | return JSValue::encode(toJS<IDLNullable<IDLInterface<DOMSelection>>>(*state, *castedThis->globalObject(), impl.getSelection())); |
29964 | } |
29965 | |
29966 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionGetSelection(ExecState* state) |
29967 | { |
29968 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionGetSelectionBody>(*state, "getSelection" ); |
29969 | } |
29970 | |
29971 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionFindBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
29972 | { |
29973 | UNUSED_PARAM(state); |
29974 | UNUSED_PARAM(throwScope); |
29975 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
29976 | return JSValue::encode(jsUndefined()); |
29977 | auto& impl = castedThis->wrapped(); |
29978 | auto string = convert<IDLDOMString>(*state, state->argument(0)); |
29979 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29980 | auto caseSensitive = convert<IDLBoolean>(*state, state->argument(1)); |
29981 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29982 | auto backwards = convert<IDLBoolean>(*state, state->argument(2)); |
29983 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29984 | auto wrap = convert<IDLBoolean>(*state, state->argument(3)); |
29985 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29986 | auto wholeWord = convert<IDLBoolean>(*state, state->argument(4)); |
29987 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29988 | auto searchInFrames = convert<IDLBoolean>(*state, state->argument(5)); |
29989 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29990 | auto showDialog = convert<IDLBoolean>(*state, state->argument(6)); |
29991 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
29992 | return JSValue::encode(toJS<IDLBoolean>(impl.find(WTFMove(string), WTFMove(caseSensitive), WTFMove(backwards), WTFMove(wrap), WTFMove(wholeWord), WTFMove(searchInFrames), WTFMove(showDialog)))); |
29993 | } |
29994 | |
29995 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionFind(ExecState* state) |
29996 | { |
29997 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionFindBody>(*state, "find" ); |
29998 | } |
29999 | |
30000 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionWebkitRequestAnimationFrameBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30001 | { |
30002 | UNUSED_PARAM(state); |
30003 | UNUSED_PARAM(throwScope); |
30004 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30005 | return JSValue::encode(jsUndefined()); |
30006 | auto& impl = castedThis->wrapped(); |
30007 | if (UNLIKELY(state->argumentCount() < 1)) |
30008 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30009 | auto callback = convert<IDLCallbackFunction<JSRequestAnimationFrameCallback>>(*state, state->uncheckedArgument(0), *castedThis->globalObject(), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentMustBeFunctionError(state, scope, 0, "callback" , "Window" , "webkitRequestAnimationFrame" ); }); |
30010 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30011 | return JSValue::encode(toJS<IDLLong>(impl.webkitRequestAnimationFrame(callback.releaseNonNull()))); |
30012 | } |
30013 | |
30014 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitRequestAnimationFrame(ExecState* state) |
30015 | { |
30016 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionWebkitRequestAnimationFrameBody>(*state, "webkitRequestAnimationFrame" ); |
30017 | } |
30018 | |
30019 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionWebkitCancelAnimationFrameBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30020 | { |
30021 | UNUSED_PARAM(state); |
30022 | UNUSED_PARAM(throwScope); |
30023 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30024 | return JSValue::encode(jsUndefined()); |
30025 | auto& impl = castedThis->wrapped(); |
30026 | if (UNLIKELY(state->argumentCount() < 1)) |
30027 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30028 | auto id = convert<IDLLong>(*state, state->uncheckedArgument(0)); |
30029 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30030 | impl.cancelAnimationFrame(WTFMove(id)); |
30031 | return JSValue::encode(jsUndefined()); |
30032 | } |
30033 | |
30034 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitCancelAnimationFrame(ExecState* state) |
30035 | { |
30036 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionWebkitCancelAnimationFrameBody>(*state, "webkitCancelAnimationFrame" ); |
30037 | } |
30038 | |
30039 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionWebkitCancelRequestAnimationFrameBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30040 | { |
30041 | UNUSED_PARAM(state); |
30042 | UNUSED_PARAM(throwScope); |
30043 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30044 | return JSValue::encode(jsUndefined()); |
30045 | auto& impl = castedThis->wrapped(); |
30046 | if (UNLIKELY(state->argumentCount() < 1)) |
30047 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30048 | auto id = convert<IDLLong>(*state, state->uncheckedArgument(0)); |
30049 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30050 | impl.cancelAnimationFrame(WTFMove(id)); |
30051 | return JSValue::encode(jsUndefined()); |
30052 | } |
30053 | |
30054 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitCancelRequestAnimationFrame(ExecState* state) |
30055 | { |
30056 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionWebkitCancelRequestAnimationFrameBody>(*state, "webkitCancelRequestAnimationFrame" ); |
30057 | } |
30058 | |
30059 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionGetMatchedCSSRulesBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30060 | { |
30061 | UNUSED_PARAM(state); |
30062 | UNUSED_PARAM(throwScope); |
30063 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30064 | return JSValue::encode(jsUndefined()); |
30065 | auto& impl = castedThis->wrapped(); |
30066 | auto element = convert<IDLNullable<IDLInterface<Element>>>(*state, state->argument(0), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 0, "element" , "Window" , "getMatchedCSSRules" , "Element" ); }); |
30067 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30068 | auto pseudoElement = state->argument(1).isUndefined() ? String() : convert<IDLNullable<IDLDOMString>>(*state, state->uncheckedArgument(1)); |
30069 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30070 | return JSValue::encode(toJS<IDLInterface<CSSRuleList>>(*state, *castedThis->globalObject(), impl.getMatchedCSSRules(WTFMove(element), WTFMove(pseudoElement)))); |
30071 | } |
30072 | |
30073 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionGetMatchedCSSRules(ExecState* state) |
30074 | { |
30075 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionGetMatchedCSSRulesBody>(*state, "getMatchedCSSRules" ); |
30076 | } |
30077 | |
30078 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionShowModalDialogBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30079 | { |
30080 | UNUSED_PARAM(state); |
30081 | UNUSED_PARAM(throwScope); |
30082 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30083 | return JSValue::encode(jsUndefined()); |
30084 | return JSValue::encode(castedThis->showModalDialog(*state)); |
30085 | } |
30086 | |
30087 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionShowModalDialog(ExecState* state) |
30088 | { |
30089 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionShowModalDialogBody>(*state, "showModalDialog" ); |
30090 | } |
30091 | |
30092 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionWebkitConvertPointFromPageToNodeBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30093 | { |
30094 | UNUSED_PARAM(state); |
30095 | UNUSED_PARAM(throwScope); |
30096 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30097 | return JSValue::encode(jsUndefined()); |
30098 | auto& impl = castedThis->wrapped(); |
30099 | auto node = convert<IDLNullable<IDLInterface<Node>>>(*state, state->argument(0), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 0, "node" , "Window" , "webkitConvertPointFromPageToNode" , "Node" ); }); |
30100 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30101 | auto p = convert<IDLNullable<IDLInterface<WebKitPoint>>>(*state, state->argument(1), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 1, "p" , "Window" , "webkitConvertPointFromPageToNode" , "WebKitPoint" ); }); |
30102 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30103 | return JSValue::encode(toJS<IDLInterface<WebKitPoint>>(*state, *castedThis->globalObject(), impl.webkitConvertPointFromPageToNode(WTFMove(node), WTFMove(p)))); |
30104 | } |
30105 | |
30106 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitConvertPointFromPageToNode(ExecState* state) |
30107 | { |
30108 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionWebkitConvertPointFromPageToNodeBody>(*state, "webkitConvertPointFromPageToNode" ); |
30109 | } |
30110 | |
30111 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionWebkitConvertPointFromNodeToPageBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30112 | { |
30113 | UNUSED_PARAM(state); |
30114 | UNUSED_PARAM(throwScope); |
30115 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30116 | return JSValue::encode(jsUndefined()); |
30117 | auto& impl = castedThis->wrapped(); |
30118 | auto node = convert<IDLNullable<IDLInterface<Node>>>(*state, state->argument(0), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 0, "node" , "Window" , "webkitConvertPointFromNodeToPage" , "Node" ); }); |
30119 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30120 | auto p = convert<IDLNullable<IDLInterface<WebKitPoint>>>(*state, state->argument(1), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 1, "p" , "Window" , "webkitConvertPointFromNodeToPage" , "WebKitPoint" ); }); |
30121 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30122 | return JSValue::encode(toJS<IDLInterface<WebKitPoint>>(*state, *castedThis->globalObject(), impl.webkitConvertPointFromNodeToPage(WTFMove(node), WTFMove(p)))); |
30123 | } |
30124 | |
30125 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionWebkitConvertPointFromNodeToPage(ExecState* state) |
30126 | { |
30127 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionWebkitConvertPointFromNodeToPageBody>(*state, "webkitConvertPointFromNodeToPage" ); |
30128 | } |
30129 | |
30130 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCollectMatchingElementsInFlatTreeBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30131 | { |
30132 | UNUSED_PARAM(state); |
30133 | UNUSED_PARAM(throwScope); |
30134 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30135 | return JSValue::encode(jsUndefined()); |
30136 | auto& impl = castedThis->wrapped(); |
30137 | if (UNLIKELY(state->argumentCount() < 2)) |
30138 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30139 | auto scope = convert<IDLInterface<Node>>(*state, state->uncheckedArgument(0), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 0, "scope" , "Window" , "collectMatchingElementsInFlatTree" , "Node" ); }); |
30140 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30141 | auto selectors = convert<IDLDOMString>(*state, state->uncheckedArgument(1)); |
30142 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30143 | return JSValue::encode(toJS<IDLInterface<NodeList>>(*state, *castedThis->globalObject(), throwScope, impl.collectMatchingElementsInFlatTree(*scope, WTFMove(selectors)))); |
30144 | } |
30145 | |
30146 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCollectMatchingElementsInFlatTree(ExecState* state) |
30147 | { |
30148 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionCollectMatchingElementsInFlatTreeBody>(*state, "collectMatchingElementsInFlatTree" ); |
30149 | } |
30150 | |
30151 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionMatchingElementInFlatTreeBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30152 | { |
30153 | UNUSED_PARAM(state); |
30154 | UNUSED_PARAM(throwScope); |
30155 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30156 | return JSValue::encode(jsUndefined()); |
30157 | auto& impl = castedThis->wrapped(); |
30158 | if (UNLIKELY(state->argumentCount() < 2)) |
30159 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30160 | auto scope = convert<IDLInterface<Node>>(*state, state->uncheckedArgument(0), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentTypeError(state, scope, 0, "scope" , "Window" , "matchingElementInFlatTree" , "Node" ); }); |
30161 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30162 | auto selectors = convert<IDLDOMString>(*state, state->uncheckedArgument(1)); |
30163 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30164 | return JSValue::encode(toJS<IDLNullable<IDLInterface<Element>>>(*state, *castedThis->globalObject(), throwScope, impl.matchingElementInFlatTree(*scope, WTFMove(selectors)))); |
30165 | } |
30166 | |
30167 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionMatchingElementInFlatTree(ExecState* state) |
30168 | { |
30169 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionMatchingElementInFlatTreeBody>(*state, "matchingElementInFlatTree" ); |
30170 | } |
30171 | |
30172 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionFetchBody(JSC::ExecState* state, typename IDLOperationReturningPromise<JSDOMWindow>::ClassParameter castedThis, Ref<DeferredPromise>&& promise, JSC::ThrowScope& throwScope) |
30173 | { |
30174 | UNUSED_PARAM(state); |
30175 | UNUSED_PARAM(throwScope); |
30176 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30177 | return JSValue::encode(jsUndefined()); |
30178 | auto& impl = castedThis->wrapped(); |
30179 | if (UNLIKELY(state->argumentCount() < 1)) |
30180 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30181 | auto input = convert<IDLUnion<IDLInterface<FetchRequest>, IDLUSVString>>(*state, state->uncheckedArgument(0)); |
30182 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30183 | auto init = convert<IDLDictionary<FetchRequestInit>>(*state, state->argument(1)); |
30184 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30185 | WebCore::DOMWindowFetch::fetch(impl, WTFMove(input), WTFMove(init), WTFMove(promise)); |
30186 | return JSValue::encode(jsUndefined()); |
30187 | } |
30188 | |
30189 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionFetch(ExecState* state) |
30190 | { |
30191 | return IDLOperationReturningPromise<JSDOMWindow>::call<jsDOMWindowInstanceFunctionFetchBody, PromiseExecutionScope::WindowOnly>(*state, "fetch" ); |
30192 | } |
30193 | |
30194 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionOpenDatabaseBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30195 | { |
30196 | UNUSED_PARAM(state); |
30197 | UNUSED_PARAM(throwScope); |
30198 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30199 | return JSValue::encode(jsUndefined()); |
30200 | auto& impl = castedThis->wrapped(); |
30201 | if (UNLIKELY(state->argumentCount() < 4)) |
30202 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30203 | auto name = convert<IDLDOMString>(*state, state->uncheckedArgument(0)); |
30204 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30205 | auto version = convert<IDLDOMString>(*state, state->uncheckedArgument(1)); |
30206 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30207 | auto displayName = convert<IDLDOMString>(*state, state->uncheckedArgument(2)); |
30208 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30209 | auto estimatedSize = convert<IDLUnsignedLong>(*state, state->uncheckedArgument(3)); |
30210 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30211 | auto creationCallback = convert<IDLNullable<IDLCallbackFunction<JSDatabaseCallback>>>(*state, state->argument(4), *castedThis->globalObject(), [](JSC::ExecState& state, JSC::ThrowScope& scope) { throwArgumentMustBeFunctionError(state, scope, 4, "creationCallback" , "Window" , "openDatabase" ); }); |
30212 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30213 | return JSValue::encode(toJS<IDLNullable<IDLInterface<Database>>>(*state, *castedThis->globalObject(), throwScope, WebCore::DOMWindowWebDatabase::openDatabase(impl, WTFMove(name), WTFMove(version), WTFMove(displayName), WTFMove(estimatedSize), WTFMove(creationCallback)))); |
30214 | } |
30215 | |
30216 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionOpenDatabase(ExecState* state) |
30217 | { |
30218 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionOpenDatabaseBody>(*state, "openDatabase" ); |
30219 | } |
30220 | |
30221 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionSetTimeoutBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30222 | { |
30223 | UNUSED_PARAM(state); |
30224 | UNUSED_PARAM(throwScope); |
30225 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30226 | return JSValue::encode(jsUndefined()); |
30227 | auto& impl = castedThis->wrapped(); |
30228 | if (UNLIKELY(state->argumentCount() < 1)) |
30229 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30230 | auto handler = convert<IDLScheduledAction>(*state, state->uncheckedArgument(0), *castedThis->globalObject()); |
30231 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30232 | auto timeout = convert<IDLLong>(*state, state->argument(1)); |
30233 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30234 | auto arguments = convertVariadicArguments<IDLAny>(*state, 2); |
30235 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30236 | return JSValue::encode(toJS<IDLLong>(*state, throwScope, impl.setTimeout(*state, WTFMove(handler), WTFMove(timeout), WTFMove(arguments)))); |
30237 | } |
30238 | |
30239 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionSetTimeout(ExecState* state) |
30240 | { |
30241 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionSetTimeoutBody>(*state, "setTimeout" ); |
30242 | } |
30243 | |
30244 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionClearTimeoutBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30245 | { |
30246 | UNUSED_PARAM(state); |
30247 | UNUSED_PARAM(throwScope); |
30248 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30249 | return JSValue::encode(jsUndefined()); |
30250 | auto& impl = castedThis->wrapped(); |
30251 | auto handle = convert<IDLLong>(*state, state->argument(0)); |
30252 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30253 | impl.clearTimeout(WTFMove(handle)); |
30254 | return JSValue::encode(jsUndefined()); |
30255 | } |
30256 | |
30257 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionClearTimeout(ExecState* state) |
30258 | { |
30259 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionClearTimeoutBody>(*state, "clearTimeout" ); |
30260 | } |
30261 | |
30262 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionSetIntervalBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30263 | { |
30264 | UNUSED_PARAM(state); |
30265 | UNUSED_PARAM(throwScope); |
30266 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30267 | return JSValue::encode(jsUndefined()); |
30268 | auto& impl = castedThis->wrapped(); |
30269 | if (UNLIKELY(state->argumentCount() < 1)) |
30270 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30271 | auto handler = convert<IDLScheduledAction>(*state, state->uncheckedArgument(0), *castedThis->globalObject()); |
30272 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30273 | auto timeout = convert<IDLLong>(*state, state->argument(1)); |
30274 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30275 | auto arguments = convertVariadicArguments<IDLAny>(*state, 2); |
30276 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30277 | return JSValue::encode(toJS<IDLLong>(*state, throwScope, impl.setInterval(*state, WTFMove(handler), WTFMove(timeout), WTFMove(arguments)))); |
30278 | } |
30279 | |
30280 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionSetInterval(ExecState* state) |
30281 | { |
30282 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionSetIntervalBody>(*state, "setInterval" ); |
30283 | } |
30284 | |
30285 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionClearIntervalBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30286 | { |
30287 | UNUSED_PARAM(state); |
30288 | UNUSED_PARAM(throwScope); |
30289 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30290 | return JSValue::encode(jsUndefined()); |
30291 | auto& impl = castedThis->wrapped(); |
30292 | auto handle = convert<IDLLong>(*state, state->argument(0)); |
30293 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30294 | impl.clearInterval(WTFMove(handle)); |
30295 | return JSValue::encode(jsUndefined()); |
30296 | } |
30297 | |
30298 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionClearInterval(ExecState* state) |
30299 | { |
30300 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionClearIntervalBody>(*state, "clearInterval" ); |
30301 | } |
30302 | |
30303 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionQueueMicrotaskBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30304 | { |
30305 | UNUSED_PARAM(state); |
30306 | UNUSED_PARAM(throwScope); |
30307 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30308 | return JSValue::encode(jsUndefined()); |
30309 | return JSValue::encode(castedThis->queueMicrotask(*state)); |
30310 | } |
30311 | |
30312 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionQueueMicrotask(ExecState* state) |
30313 | { |
30314 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionQueueMicrotaskBody>(*state, "queueMicrotask" ); |
30315 | } |
30316 | |
30317 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionAtobBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30318 | { |
30319 | UNUSED_PARAM(state); |
30320 | UNUSED_PARAM(throwScope); |
30321 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30322 | return JSValue::encode(jsUndefined()); |
30323 | auto& impl = castedThis->wrapped(); |
30324 | if (UNLIKELY(state->argumentCount() < 1)) |
30325 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30326 | auto string = convert<IDLDOMString>(*state, state->uncheckedArgument(0)); |
30327 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30328 | return JSValue::encode(toJS<IDLDOMString>(*state, throwScope, impl.atob(WTFMove(string)))); |
30329 | } |
30330 | |
30331 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionAtob(ExecState* state) |
30332 | { |
30333 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionAtobBody>(*state, "atob" ); |
30334 | } |
30335 | |
30336 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionBtoaBody(JSC::ExecState* state, typename IDLOperation<JSDOMWindow>::ClassParameter castedThis, JSC::ThrowScope& throwScope) |
30337 | { |
30338 | UNUSED_PARAM(state); |
30339 | UNUSED_PARAM(throwScope); |
30340 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30341 | return JSValue::encode(jsUndefined()); |
30342 | auto& impl = castedThis->wrapped(); |
30343 | if (UNLIKELY(state->argumentCount() < 1)) |
30344 | return throwVMError(state, throwScope, createNotEnoughArgumentsError(state)); |
30345 | auto string = convert<IDLDOMString>(*state, state->uncheckedArgument(0)); |
30346 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30347 | return JSValue::encode(toJS<IDLDOMString>(*state, throwScope, impl.btoa(WTFMove(string)))); |
30348 | } |
30349 | |
30350 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionBtoa(ExecState* state) |
30351 | { |
30352 | return IDLOperation<JSDOMWindow>::call<jsDOMWindowInstanceFunctionBtoaBody>(*state, "btoa" ); |
30353 | } |
30354 | |
30355 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCreateImageBitmap1Body(JSC::ExecState* state, typename IDLOperationReturningPromise<JSDOMWindow>::ClassParameter castedThis, Ref<DeferredPromise>&& promise, JSC::ThrowScope& throwScope) |
30356 | { |
30357 | UNUSED_PARAM(state); |
30358 | UNUSED_PARAM(throwScope); |
30359 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30360 | return JSValue::encode(jsUndefined()); |
30361 | auto& impl = castedThis->wrapped(); |
30362 | auto image = convert<IDLUnion<IDLInterface<HTMLImageElement>, IDLInterface<HTMLVideoElement>, IDLInterface<HTMLCanvasElement>, IDLInterface<ImageBitmap>, IDLInterface<Blob>, IDLInterface<ImageData>>>(*state, state->uncheckedArgument(0)); |
30363 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30364 | auto options = convert<IDLDictionary<ImageBitmapOptions>>(*state, state->argument(1)); |
30365 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30366 | impl.createImageBitmap(WTFMove(image), WTFMove(options), WTFMove(promise)); |
30367 | return JSValue::encode(jsUndefined()); |
30368 | } |
30369 | |
30370 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCreateImageBitmap2Body(JSC::ExecState* state, typename IDLOperationReturningPromise<JSDOMWindow>::ClassParameter castedThis, Ref<DeferredPromise>&& promise, JSC::ThrowScope& throwScope) |
30371 | { |
30372 | UNUSED_PARAM(state); |
30373 | UNUSED_PARAM(throwScope); |
30374 | if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis->wrapped(), ThrowSecurityError)) |
30375 | return JSValue::encode(jsUndefined()); |
30376 | auto& impl = castedThis->wrapped(); |
30377 | auto image = convert<IDLUnion<IDLInterface<HTMLImageElement>, IDLInterface<HTMLVideoElement>, IDLInterface<HTMLCanvasElement>, IDLInterface<ImageBitmap>, IDLInterface<Blob>, IDLInterface<ImageData>>>(*state, state->uncheckedArgument(0)); |
30378 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30379 | auto sx = convert<IDLLong>(*state, state->uncheckedArgument(1)); |
30380 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30381 | auto sy = convert<IDLLong>(*state, state->uncheckedArgument(2)); |
30382 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30383 | auto sw = convert<IDLLong>(*state, state->uncheckedArgument(3)); |
30384 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30385 | auto sh = convert<IDLLong>(*state, state->uncheckedArgument(4)); |
30386 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30387 | auto options = convert<IDLDictionary<ImageBitmapOptions>>(*state, state->argument(5)); |
30388 | RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); |
30389 | impl.createImageBitmap(WTFMove(image), WTFMove(sx), WTFMove(sy), WTFMove(sw), WTFMove(sh), WTFMove(options), WTFMove(promise)); |
30390 | return JSValue::encode(jsUndefined()); |
30391 | } |
30392 | |
30393 | static inline JSC::EncodedJSValue jsDOMWindowInstanceFunctionCreateImageBitmapOverloadDispatcher(JSC::ExecState* state, typename IDLOperationReturningPromise<JSDOMWindow>::ClassParameter castedThis, Ref<DeferredPromise>&& promise, JSC::ThrowScope& throwScope) |
30394 | { |
30395 | UNUSED_PARAM(state); |
30396 | UNUSED_PARAM(throwScope); |
30397 | VM& vm = state->vm(); |
30398 | UNUSED_PARAM(vm); |
30399 | size_t argsCount = std::min<size_t>(6, state->argumentCount()); |
30400 | if (argsCount == 1) { |
30401 | return jsDOMWindowInstanceFunctionCreateImageBitmap1Body(state, castedThis, WTFMove(promise), throwScope); |
30402 | } |
30403 | if (argsCount == 2) { |
30404 | return jsDOMWindowInstanceFunctionCreateImageBitmap1Body(state, castedThis, WTFMove(promise), throwScope); |
30405 | } |
30406 | if (argsCount == 5) { |
30407 | return jsDOMWindowInstanceFunctionCreateImageBitmap2Body(state, castedThis, WTFMove(promise), throwScope); |
30408 | } |
30409 | if (argsCount == 6) { |
30410 | return jsDOMWindowInstanceFunctionCreateImageBitmap2Body(state, castedThis, WTFMove(promise), throwScope); |
30411 | } |
30412 | return argsCount < 1 ? throwVMError(state, throwScope, createNotEnoughArgumentsError(state)) : throwVMTypeError(state, throwScope); |
30413 | } |
30414 | |
30415 | EncodedJSValue JSC_HOST_CALL jsDOMWindowInstanceFunctionCreateImageBitmap(ExecState* state) |
30416 | { |
30417 | return IDLOperationReturningPromise<JSDOMWindow>::call<jsDOMWindowInstanceFunctionCreateImageBitmapOverloadDispatcher, PromiseExecutionScope::WindowOnly>(*state, "createImageBitmap" ); |
30418 | } |
30419 | |
30420 | void JSDOMWindow::visitChildren(JSCell* cell, SlotVisitor& visitor) |
30421 | { |
30422 | auto* thisObject = jsCast<JSDOMWindow*>(cell); |
30423 | ASSERT_GC_OBJECT_INHERITS(thisObject, info()); |
30424 | Base::visitChildren(thisObject, visitor); |
30425 | thisObject->visitAdditionalChildren(visitor); |
30426 | } |
30427 | |
30428 | void JSDOMWindow::visitOutputConstraints(JSCell* cell, SlotVisitor& visitor) |
30429 | { |
30430 | auto* thisObject = jsCast<JSDOMWindow*>(cell); |
30431 | ASSERT_GC_OBJECT_INHERITS(thisObject, info()); |
30432 | Base::visitOutputConstraints(thisObject, visitor); |
30433 | thisObject->visitAdditionalChildren(visitor); |
30434 | } |
30435 | |
30436 | |
30437 | } |
30438 | |